Bugzilla – Attachment 217741 Details for
Bug 390722
gdb - backtrace grace ?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
same patch, for gdb-6.8 (as in 11.0)
fix-gdb-backtrace.diff (text/plain), 613 bytes, created by
Michael Matz
on 2008-05-23 10:14:33 UTC
(
hide
)
Description:
same patch, for gdb-6.8 (as in 11.0)
Filename:
MIME Type:
Creator:
Michael Matz
Created:
2008-05-23 10:14:33 UTC
Size:
613 bytes
patch
obsolete
>Index: gdb/i386-tdep.c >=================================================================== >--- gdb/i386-tdep.c.orig >+++ gdb/i386-tdep.c >@@ -1023,11 +1023,13 @@ i386_frame_cache (struct frame_info *nex > /* This will be added back below. */ > cache->saved_regs[I386_EIP_REGNUM] -= cache->base; > } >- else >+ else if (cache->pc) > { > frame_unwind_register (next_frame, I386_ESP_REGNUM, buf); > cache->base = extract_unsigned_integer (buf, 4) + cache->sp_offset; > } >+ else >+ cache->saved_regs[I386_EBP_REGNUM] = 0; > } > > /* Now that we have the base address for the stack frame we can
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 390722
:
215511
|
217718
| 217741 |
247826