Are there any tools to help assemble libraries and debuginfo to examine core dumps that happened on another host where the versions don't match? Something like mock but build-version specific and with the debuginfo packages pulled in? -- Les Mikesell lesmikesell at gmail.com
On 02/17/2015 02:20 PM, Les Mikesell wrote:> Are there any tools to help assemble libraries and debuginfo to > examine core dumps that happened on another host where the versions > don't match? Something like mock but build-version specific and with > the debuginfo packages pulled in? >I'm not sure of a one-step 'chroot-friendly' way to do this. You could probably script this up by abusing debuginfo-install's --installroot option after some minor chroot prep-work. -- Jim Perrin The CentOS Project | http://www.centos.org twitter: @BitIntegrity | GPG Key: FA09AD77
On Wed, Feb 18, 2015 at 10:08 AM, Jim Perrin <jperrin at centos.org> wrote:> > > On 02/17/2015 02:20 PM, Les Mikesell wrote: >> Are there any tools to help assemble libraries and debuginfo to >> examine core dumps that happened on another host where the versions >> don't match? Something like mock but build-version specific and with >> the debuginfo packages pulled in? >> > > > I'm not sure of a one-step 'chroot-friendly' way to do this. You could > probably script this up by abusing debuginfo-install's --installroot > option after some minor chroot prep-work.It doesn't really need to be in a chroot - but otherwise you need to extract the lib/debuginfo rpm contents into non-standard locations and tell gdb to look there. Kind of tedious either way. -- Les Mikesell lesmikesell at gmail.com