This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: gdb -vs- Debian 2.0


> 
> 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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]