This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Dummy frames broken on PowerPC
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb at sources dot redhat dot com
- Date: Mon, 3 Feb 2003 12:15:27 -0500
- Subject: Dummy frames broken on PowerPC
>From today's CVS I get (in break.exp):
(gdb) finish
Run till exit from #0 0x100004c8 in marker2 (a=99) at /mnt/loc-computed/src-noindent/src/gdb/testsuite/gdb.base/break.c:49
/mnt/loc-computed/src-noindent/src/gdb/dummy-frame.c:295: internal-error: dummy_frame_pop: Assertion `get_frame_type (fi) == DUMMY_FRAME' failed.
A problem internal to GDB has been detected. Further debugging may prove unreliable.
Quit this debugging session? (y or n)
It's a normal frame:
(gdb) p *frame
$6 = {
frame = 2147482544,
pc = 268436276,
level = 0,
type = NORMAL_FRAME,
saved_regs = 0x0,
extra_info = 0x1062bac8,
context = 0x0,
unwind_cache = 0x10c43930,
unwind = 0x105a11bc,
pc_unwind_cache_p = 0,
pc_unwind_cache = 0,
id_unwind_cache_p = 0,
id_unwind_cache = {
base = 0,
pc = 0
},
next = 0x1062ba30,
prev_p = 0,
prev = 0x0
}
However:
(gdb) p *frame.unwind
$7 = {
pop = 0x1014385c <dummy_frame_pop>,
pc = 0x10143aec <dummy_frame_pc_unwind>,
id = 0x10143b5c <dummy_frame_id_unwind>,
reg = 0x10143a00 <dummy_frame_register_unwind>
}
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer