Building GDB 6.1 for SH target
Julian Back
jback@mpc-data.co.uk
Tue May 25 15:41:00 GMT 2004
I've started using GDB 6.1 with an SH target as I wanted to have support
for SH4A. When I build GDB 6.1 for a target of "sh-linux" (which I used
fine with GDB 6.0) I get a warning message when I run GDB:
warning: A handler for the OS ABI "GNU/Linux" is not built into this
configuration
of GDB. Attempting to continue with the default sh settings.
GDB then appears to work OK.
When I build GDB with a target of just "sh" I don't get this warning but
then I don't get support for ELF binaries either.
At the moment I don't actually need Linux support (but I probably will
in the future), but I do need ELF support. I can live with the warning
but I will want to distribute the GDB binary to others so I'd prefer to
avoid it.
I could just remove the warning from the source, but what would be the
correct way to fix this? I would also be interested to know why GDB no
longer seems to have Linux support for SH.
Thanks
Julian Back
More information about the Gdb
mailing list