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] symfile debug file additional search in sysroot


Hi Cédric,

Cédric Buissart wrote:
> This patch allows coredump analysis taken from foreign machines in an
> easy way using the sysroot option.
...
> Basically, when searching for a separate debug file, if it is not
> found, the patch kicks in and set an additional search in
> <sysroot>/<debugdir>.
> 
> Benefits :
>  - no need for recreating a full OS or a container to open a coredump.
>  - you can use a modern GDB, with your own plugins and scripts, to
>    diagnose a coredump created on an old OS
>  - you can export the recreated OS sample and let other people mount
>    and use their own gdb to look at the coredump.
> 
> There is no drawback : old style search will still be fully functional.
> 
> I am unsure this was sufficiently clearly explained, but I hope I will
> trigger your interest.

I'm going to take a look at your patch, it crosses into some work I've
been doing to allow GDB to fetch debuginfo from containers and remote
targets.

I may not do it straight away, but I wanted you to know your patch
isn't being ignored.

Thanks,
Gary

-- 
http://gbenson.net/


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