mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-04 16:18:18 +00:00
2012-01-12 Pedro Alves <palves@redhat.com>
* i386-tdep.c (i386_frame_cache_1): Also mark the frame base as available when %ebp is found to be zero (outermost).
This commit is contained in:
parent
50d10658ee
commit
620fa63a22
@ -1,3 +1,8 @@
|
||||
2012-01-12 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* i386-tdep.c (i386_frame_cache_1): Also mark the frame base as
|
||||
available when %ebp is found to be zero (outermost).
|
||||
|
||||
2012-01-11 Andreas Tobler <andreast@fgznet.ch>
|
||||
|
||||
* common/gdb_assert.h (gdb_static_assert): Rename static_assert to
|
||||
|
@ -1680,7 +1680,10 @@ i386_frame_cache_1 (struct frame_info *this_frame,
|
||||
get_frame_register (this_frame, I386_EBP_REGNUM, buf);
|
||||
cache->base = extract_unsigned_integer (buf, 4, byte_order);
|
||||
if (cache->base == 0)
|
||||
return;
|
||||
{
|
||||
cache->base_p = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
/* For normal frames, %eip is stored at 4(%ebp). */
|
||||
cache->saved_regs[I386_EIP_REGNUM] = 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user