available when %ebp is found to be zero (outermost).
+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-10 Doug Evans <dje@google.com>
* dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg
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;