This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [patch] validate binary before use


On Mon, 08 Apr 2013 16:57:02 +0200, Pedro Alves wrote:
> On 04/05/2013 12:47 PM, Jan Kratochvil wrote:
> > Sure one could make a Linux-specific local solib-*.c backend but the current
> > plan is to drop all (in reality just some) *-nat.c files in the favor of
> > always using gdbserver.
> 
> Not for core files.  We'll still fallback to solib-svr4.c for those.
> Are core files being considered in all this?

I admit I did not think much about core files but:

Core files will work with the current solib-svr4.c code.

Linux core files have now NT_FILE extension with /proc/PID/maps content which
is also recognized by Tom's patch in FSF GDB HEAD so it could fully work with
core files.  Just one has to compare filenames instead of inode there, inode
is not present in NT_FILE.


Jan


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