remote dubug!

Bert doclzs at 21cn.com
Sat Oct 12 15:26:59 UTC 2002


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 






More information about the users mailing list