GDB remote debug for M68K broken in ss-20020205?

VALETTE Eric valette at crf.canon.fr
Wed Mar 20 12:07:20 UTC 2002


Thomas Doerfler wrote:

> /usr/local/src/rtems/rtems-ss-
> 20020205/tools/build_gen68360/m68k-
> rtems/c/gen68360/librdbg/src/m68k/any/../../../../../../../../
> rtems-ss-20020205/c/src/librdbg/src/m68k/any/../../rdbg.c:73: 
> undefined reference to `remotedeb_2'

Did you use anything in src/m68k. I checked last time and did a grep of 
remotedeb_2 function and removed it? Did it reappear?

> 
> When I rebuilt the RTEMS base system with "--enable-rdbg" I 
> also saw a strange warning for "rdbg.c", complaining that 
> "fprintf" is called with a wrong pointer type as first 
> argument. In fact the arguments would fit an "fprintf" call 
> rather than a printf.

This bugs depends on the rpcgen tools used. In fact previous code was 
not working on any recent linux distribution (glibc 2.2.x) and I changed 
the code to work both on solaris and linux. What is your host environment?

> - Till Strautmann sent a patch for powerpc, it seems a similar 
> patch would be needed for m68k?

Sure. I just copied the modifications.

> 
> - I am neither an automake nor an rpc expert, any volunteers 
> out there to have a look at the current code?

Will do. Paches submission accepted...


-- 
    __
   /  `                          Eric Valette - Canon CRF
  /--   __  o _.                 Product Dev. Group Software Team Leader
(___, / (_(_(__                 Rue de la touche lambert
                                 35517 Cesson-Sevigne  Cedex
                                 FRANCE
Tel: +33 (0)2 99 87 68 91       Fax: +33 (0)2 99 84 11 30
E-mail: valette at crf.canon.fr    http://www.crf.canon.fr




More information about the users mailing list