diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 13:49:20 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 13:49:20 +0000 |
commit | bf6ae4641c04121071734f45fd22b2ee2533d3b1 (patch) | |
tree | f6862b215882e0410306eb5e626c366836ea1c2f /gdb/infrun.c | |
parent | c9f4d5725ddd4daae3866469aaa6293f1b58a404 (diff) | |
download | gdb-bf6ae4641c04121071734f45fd22b2ee2533d3b1.zip gdb-bf6ae4641c04121071734f45fd22b2ee2533d3b1.tar.gz gdb-bf6ae4641c04121071734f45fd22b2ee2533d3b1.tar.bz2 |
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
* value.c (value_as_address): Likewise (comment).
* remote-mips.c (common_breakpoint): Likewise.
* regcache.c (read_pc_pid): Likewise.
* printcmd.c (do_one_display): Likewise.
* monitor.c (monitor_write_memory, monitor_read_memory)
(monitor_insert_breakpoint): Likewise.
* mips-tdep.c (heuristic_proc_start): Likewise.
* infrun.c (insert_step_resume_breakpoint_at_frame)
(insert_step_resume_breakpoint_at_caller): Likewise.
* buildsym.c (record_line): Likewise.
* arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
(arm_get_next_pc): Likewise.
* armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
(store_regs): Likewise.
* arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
* arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index dc6d894..c6da7467 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2808,7 +2808,8 @@ insert_step_resume_breakpoint_at_frame (struct frame_info *return_frame) init_sal (&sr_sal); /* initialize to zeros */ - sr_sal.pc = ADDR_BITS_REMOVE (get_frame_pc (return_frame)); + sr_sal.pc = gdbarch_addr_bits_remove + (current_gdbarch, get_frame_pc (return_frame)); sr_sal.section = find_pc_overlay (sr_sal.pc); insert_step_resume_breakpoint_at_sal (sr_sal, get_frame_id (return_frame)); @@ -2840,7 +2841,8 @@ insert_step_resume_breakpoint_at_caller (struct frame_info *next_frame) init_sal (&sr_sal); /* initialize to zeros */ - sr_sal.pc = ADDR_BITS_REMOVE (frame_pc_unwind (next_frame)); + sr_sal.pc = gdbarch_addr_bits_remove + (current_gdbarch, frame_pc_unwind (next_frame)); sr_sal.section = find_pc_overlay (sr_sal.pc); insert_step_resume_breakpoint_at_sal (sr_sal, frame_unwind_id (next_frame)); |