This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Building GDB 6.1 for SH target
- From: Daniel Jacobowitz <drow at false dot org>
- To: Julian Back <jback at mpc-data dot co dot uk>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 25 May 2004 21:31:59 -0400
- Subject: Re: Building GDB 6.1 for SH target
- References: <40B36915.7060208@mpc-data.co.uk>
On Tue, May 25, 2004 at 04:41:09PM +0100, Julian Back wrote:
> 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.
No one's updated the GDB sh-linux port in a long time, and GDB has
evolved out from under it.
--
Daniel Jacobowitz