[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
remote dubug!
- Date: Sat, 12 Oct 2002 23:26:59 +0800 (CST)
- From: doclzs at 21cn.com (Bert)
- Subject: remote dubug!
Hi,I want to use rdbg to debug an example programme
named hello.exe through ETHERNET,but i have a few
questions:
1.To use rdbg,how to boot the target computer?
or how can i get the RTEMS debugger server daemon
that runs on the target?
2.Should i add any to the source code?
My host computer: P4 1.6GHZ with RedHat 7.2 and the
target computer: P 233MHz, i think, the pc386 BSP is
enough,right?
and the source code for hello.exe:
#define TEST_INIT
#include <bsp.h>
#include <stdio.h>
rtems_task Init(rtems_task_argument ignored)
{
printf("\n\n");
printf("Hello World! \n");
printf("\n");
exit( 0 );
}
#define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_MAXIMUM_TASKS 1
#define CONFIGURE_INIT
#include <confdefs.h>
/* end of file */
Appreciate your help!
Bert doclzs at 21cn.com
----------------------------------------------
????????????????????xy????????????
http://sms.21cn.com/sexxy.jsp
??????????????????????????????
http://sms.21cn.com/dy.jsp
????????????30????????3??30??/??????????????
http://mail.21cn.com/huodong/9yue/
??????????????????????????????????????
http://mail.21cn.com/huodong/9yue/index1.html