This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug backtrace/11999] New: Limit backtrace but display both its top+bottom frames
- From: "jan dot kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 9 Sep 2010 20:31:13 -0000
- Subject: [Bug backtrace/11999] New: Limit backtrace but display both its top+bottom frames
- Reply-to: sourceware-bugzilla at sourceware dot org
For example this backtrace
https://bugzilla.redhat.com/attachment.cgi?id=441089
shows only the bottom frames, one does not know how the dead-loop happened.
Backtracer limits the output to (1024) frames.
Provide an option to still support a limit but displaying both limit/2 bottom
frames and limit/2 top frames.
If the total number of frames is < limit then no change would happen.
Actual results:
#1022 0x00000000005b2cc5 in gnuv3_pass_by_reference (type=0x1044d3c8)
#1023 0x00000000005b2cc5 in gnuv3_pass_by_reference (type=0x1044d3c8)
<stop>
Expected results:
#1022 0x00000000005b2cc5 in gnuv3_pass_by_reference (type=0x1044d3c8)
#1023 0x00000000005b2cc5 in gnuv3_pass_by_reference (type=0x1044d3c8)
#393081 in some function a
#393082 in some function a
#393082 in main()
downstream Bug: https://bugzilla.redhat.com/show_bug.cgi?id=627497
--
Summary: Limit backtrace but display both its top+bottom frames
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: backtrace
AssignedTo: unassigned at sourceware dot org
ReportedBy: jan dot kratochvil at redhat dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11999
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.