Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 160208 Details for
Bug 250024
cannot set CPU register value
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix - port of the amd64 frameless handling for i386.
gdb-6.6-i386-frameless.patch (text/plain), 1.08 KB, created by
Jan Kratochvil
on 2007-07-29 23:10:05 UTC
(
hide
)
Description:
Fix - port of the amd64 frameless handling for i386.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2007-07-29 23:10:05 UTC
Size:
1.08 KB
patch
obsolete
>--- ./gdb/i386-tdep.c 18 Jun 2007 17:45:26 -0000 1.238 >+++ ./gdb/i386-tdep.c 29 Jul 2007 22:43:44 -0000 >@@ -943,8 +943,23 @@ i386_frame_cache (struct frame_info *nex > They (usually) share their frame pointer with the frame that was > in progress when the signal occurred. */ > >- frame_unwind_register (next_frame, I386_EBP_REGNUM, buf); >- cache->base = extract_unsigned_integer (buf, 4); >+ if (cache->locals < 0) >+ { >+ /* We didn't find a valid frame. If we're at the start of a >+ function, or somewhere half-way its prologue, the function's >+ frame probably hasn't been fully setup yet. Try to >+ reconstruct the base address for the stack frame by looking >+ at the stack pointer. For truly "frameless" functions this >+ might work too. */ >+ frame_unwind_register (next_frame, I386_ESP_REGNUM, buf); >+ cache->base = extract_unsigned_integer (buf, 4) + cache->sp_offset; >+ } >+ else >+ { >+ frame_unwind_register (next_frame, I386_EBP_REGNUM, buf); >+ cache->base = extract_unsigned_integer (buf, 4); >+ } >+ > if (cache->base == 0) > return cache; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250024
:
160208