[Bug 1517257] Re: apport-retrace should install and use gdb for target release

Martin Pitt martin.pitt at ubuntu.com
Fri Dec 9 13:54:17 UTC 2016


> some env var to specify the gdb plugin dir

That seems to be it:
(gdb) show data-directory 
GDB's data directory is "/usr/share/gdb".

so we can add that to the gdb invocation (gdb_cmd in add_gdb_info()).

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1517257

Title:
  apport-retrace should install and use gdb for target release

Status in Apport:
  Triaged
Status in apport package in Ubuntu:
  Triaged

Bug description:
  apport-retrace will use the version of gdb installed on the system
  performing the retrace. This can cause issues retracing crash reports
  from releases that have a newer toolchain revision than the system
  performing the retrace. Subsequently, it would be better if apport-
  retrace were to install gdb into the sandbox being used for retracing
  and used that version of gdb for analyzing the core dump.

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/1517257/+subscriptions



More information about the foundations-bugs mailing list