Questions on RTEMS GDB stub over a serial line

Tim Cussins timcussins at
Tue Nov 27 14:41:10 UTC 2007

> 3) Why no debugging symbols found in the hello.exe although flag -g was
> used?
> ian at IanVM-1:~/src/examples-4.7.1/hello4gdb> /opt/gdb-6.5/i386-rtems-gdb
> GNU gdb 6.5
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=i386-ssrl-rtems".
> (gdb) file ./o-optimize/hello.exe
> Reading symbols from
> /home/ian/src/examples-4.7.1/hello4gdb/o-optimize/hello.exe...(no
> debugging symbols found)...done.

I believe you're looking for "hello.nxe", not "hello.exe"

More information about the users mailing list