This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: Patch: gdb -vs- Debian 2.0
- To: tromey at cygnus dot com (Tom Tromey)
- Subject: Re: Patch: gdb -vs- Debian 2.0
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 19 Nov 1999 10:52:37 -0800 (PST)
- Cc: guo at cup dot hp dot com (Jimmy Guo), tromey at cygnus dot com (Tom Tromey),gdb-patches at sourceware dot cygnus dot com
>
> Jimmy> One more bit of information -- gdb used to compile on Linux
> Jimmy> Redhat 5.1 (the PC cannot be upgraded to more recent versions
> Jimmy> due to onboard SCSI controller <-> Linux driver problem), but
> Jimmy> some time ago quite recently I have to compile gdb on Linux
> Jimmy> Redhat 6.0, probably due to the same change Tom's patch is
> Jimmy> trying to fix.
>
> Was the problem that PTRACE_GETREGS was not defined? If so, then that
> is a slightly different problem, with a slightly different fix.
> PTRACE_GETREGS is defined on my machine, it just doesn't work.
>
FWIW, the single binary of my gdb 4.17.0.14 works with all Linux
kernels. It detects everything at runtime.
--
H.J. Lu (hjl@gnu.org)