This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug macros/16855] Backtrace stopped: frame did not save the PC
- From: "peter.schauer at mytum dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 21 Apr 2014 18:13:49 +0000
- Subject: [Bug macros/16855] Backtrace stopped: frame did not save the PC
- Auto-submitted: auto-generated
- References: <bug-16855-4717 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16855
Peter Schauer <peter.schauer at mytum dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |peter.schauer at mytum dot de
--- Comment #3 from Peter Schauer <peter.schauer at mytum dot de> ---
I am pretty sure that the following line in your macro is the culprit:
set $pc = (bfr_pendcmd_t*)$elem
in which you are assigning to the current program counter of your
program, thus messing up the stack backtrace.
Please try to change it to
set $my_pc = (bfr_pendcmd_t*)$elem
# set $cmd = (SFctlGenTagCmd*)&(((struct bfr_pendcmd*)$my_pc)->bfrpc_cmd)
or comment it out altogether, as it seems not to be used anyway.
--
You are receiving this mail because:
You are on the CC list for the bug.