Bugzilla – Attachment 247826 Details for
Bug 390722
gdb - backtrace grace ?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
ported patch for sles10-sp2 gdb
fix-gdb-backtrace.diff (text/plain), 611 bytes, created by
Michael Matz
on 2008-10-24 13:34:50 UTC
(
hide
)
Description:
ported patch for sles10-sp2 gdb
Filename:
MIME Type:
Creator:
Michael Matz
Created:
2008-10-24 13:34:50 UTC
Size:
611 bytes
patch
obsolete
>Index: gdb/i386-tdep.c >=================================================================== >--- gdb/i386-tdep.c.orig >+++ gdb/i386-tdep.c >@@ -963,11 +963,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