diff options
author | David Carlton <carlton@bactrian.org> | 2003-11-11 23:51:22 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-11-11 23:51:22 +0000 |
commit | 99a61fab5ac430923f7063f62da281fba23e5bd1 (patch) | |
tree | c7f201498ea4bcfe1a8b6acb5d542f6162006bb6 /gdb/m68hc11-tdep.c | |
parent | dd13cc9a87d19f095a199544e49c73fd98bbe708 (diff) | |
download | gdb-99a61fab5ac430923f7063f62da281fba23e5bd1.zip gdb-99a61fab5ac430923f7063f62da281fba23e5bd1.tar.gz gdb-99a61fab5ac430923f7063f62da281fba23e5bd1.tar.bz2 |
2003-11-11 David Carlton <carlton@kealia.com>
* Merge with mainline; tag is carlton-dictionary-20031111-merge.
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r-- | gdb/m68hc11-tdep.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 0f3ed0e..e821722 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -894,11 +894,6 @@ m68hc11_frame_this_id (struct frame_info *next_frame, /* The FUNC is easy. */ func = frame_func_unwind (next_frame); - /* This is meant to halt the backtrace at "_start". Make sure we - don't halt it at a generic dummy frame. */ - if (deprecated_inside_entry_file (func)) - return; - /* Hopefully the prologue analysis either correctly determined the frame's base (which is the SP from the previous frame), or set that base to "NULL". */ @@ -1032,9 +1027,9 @@ m68hc11_print_register (struct gdbarch *gdbarch, struct ui_file *file, if (regno == HARD_PC_REGNUM || regno == HARD_SP_REGNUM || regno == SOFT_FP_REGNUM || regno == M68HC12_HARD_PC_REGNUM) - frame_read_unsigned_register (frame, regno, &rval); + rval = get_frame_register_unsigned (frame, regno); else - frame_read_signed_register (frame, regno, &rval); + rval = get_frame_register_signed (frame, regno); if (regno == HARD_A_REGNUM || regno == HARD_B_REGNUM || regno == HARD_CCR_REGNUM || regno == HARD_PAGE_REGNUM) @@ -1049,7 +1044,7 @@ m68hc11_print_register (struct gdbarch *gdbarch, struct ui_file *file, { ULONGEST page; - frame_read_unsigned_register (frame, HARD_PAGE_REGNUM, &page); + page = get_frame_register_unsigned (frame, HARD_PAGE_REGNUM); fprintf_filtered (file, "0x%02x:%04x ", (unsigned) page, (unsigned) rval); } |