This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] symfile debug file additional search in sysroot
- From: Gary Benson <gbenson at redhat dot com>
- To: Cédric Buissart <cedric dot buissart at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 10 Jun 2015 16:10:39 +0100
- Subject: Re: [PATCH] symfile debug file additional search in sysroot
- Authentication-results: sourceware.org; auth=none
- References: <CAFMZ0FnoHH82DkpjNRjFt24M9i_qO_s2sR25Y8e7s_6PA047Dw at mail dot gmail dot com>
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/