GDB remote debug for M68K broken in ss-20020205?

Thomas Doerfler Thomas.Doerfler at imd-systems.de
Wed Mar 20 11:29:46 UTC 2002


Hi,

I wanted to use the remote debug functionality with an M68K 
target (MC68360) based on the snapshot ss-20020205 but it 
doesn't link.

When I try to link an application that calls 

      rtems_rdbg_initialize();

I get the following error message during link:


/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'

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.

My questions:

- does anybody use m68k rdbg with a recent snapshot?

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

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

Hoping for some answers,

	Thomas Doerfler.
--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at: http://www.imd-
systems.de/pgp_key.htm




More information about the users mailing list