gdb with librdbg support

Joel Sherrill joel.sherrill at
Thu Feb 15 14:54:19 UTC 2007

Nickolay Kolchin wrote:
> Hello,
> Where I can get GDB with librdbg support? All gdb versions on
> (4.18, 5.2) are build for powerpc-rtems, not
> powerpc-RTEMS. So, commands from librdbg manual (setrpcmode,
> setdaemontype, target rtems) don't work.
> Building GDB from sources (5.2.1 with all Patches applied), fails on
> configure stage:
> ....
> Invalid configuration `powerpc-RTEMS': system `RTEMS' not recognized
> Unrecognized target system name powerpc-RTEMS.
> ....
> Afaik, no rgbd patches for GDB 6.x exist.
> So, how librdbg can be used?
AFAIK librdbg can't be used with a modern gdb.  The internal structure of
gdb changed and no one has updated the code.  IMO this means that rdbg
is becoming obsolete and you are better off using the standard gdb remote
protocol and stubs.

Till Straumann has some nice support for gdb with dynamically loaded modules
at his site. Google for "Till cexp" and it will turn up.  Maybe Till 
will add some
comments here. :)

> ---
> Nickolay
> _______________________________________________
> rtems-users mailing list
> rtems-users at

More information about the users mailing list