This is the mail archive of the gdb-prs@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]

[Bug corefiles/11579] RFE: backtrace core without any symfile_objfile


https://sourceware.org/bugzilla/show_bug.cgi?id=11579

Ben Cohen <ben.cohen at kognitio dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ben.cohen at kognitio dot com

--- Comment #2 from Ben Cohen <ben.cohen at kognitio dot com> ---
This would also be very useful when you get a core file from a user but don't
have a copy of the exact library binaries that were running.

I wrote a program for 32-bit x86 that can take such a core file where
coredump_filter was set as you describe and produce minimal libraries
containing CFI that gdb can use to unwind correctly.  See my email to the gdb
mailing list at the link below for full details and source code.

https://sourceware.org/ml/gdb/2013-05/msg00136.html

However, this is clumsy and it would be much neater if gdb could do it
automatically.

I'd be interested in adding this to gdb myself if someone could provide some
hints as to where to start.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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