diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-11-03 14:35:14 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-11-03 14:35:14 +0000 |
commit | c0f4a997c26760d2584946196ee5c411d1a632a6 (patch) | |
tree | 2456865030d3dd3d8bcaffa24d4e30dfd9279e2d /gdb/mips-tdep.c | |
parent | 579c6ad9830058ccebf9c592d692c25fac6285c7 (diff) | |
download | fsf-binutils-gdb-c0f4a997c26760d2584946196ee5c411d1a632a6.zip fsf-binutils-gdb-c0f4a997c26760d2584946196ee5c411d1a632a6.tar.gz fsf-binutils-gdb-c0f4a997c26760d2584946196ee5c411d1a632a6.tar.bz2 |
Remove gdbarch_remote_breakpoint_from_pc
This patch removes gdbarch method remote_breakpoint_from_pc, as it
is no longer used.
gdb:
2016-11-03 Yao Qi <yao.qi@linaro.org>
* arch-utils.c (default_remote_breakpoint_from_pc): Remove.
* arch-utils.h (default_remote_breakpoint_from_pc): Remove.
* arm-tdep.c (arm_remote_breakpoint_from_pc): Remove.
(arm_gdbarch_init): Don't call
set_gdbarch_remote_breakpoint_from_pc.
* gdbarch.sh (remote_breakpoint_from_pc): Remove.
* gdbarch.c, gdbarch.h: Regenerate.
* mips-tdep.c (mips_remote_breakpoint_from_pc): Remove.
(mips_gdbarch_init): Don't call
set_gdbarch_remote_breakpoint_from_pc.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 424150a..6a254f5 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -7131,15 +7131,6 @@ mips_sw_breakpoint_from_kind (struct gdbarch *gdbarch, int kind, int *size) GDBARCH_BREAKPOINT_FROM_PC (mips) -/* Determine the remote breakpoint kind suitable for the PC. */ - -static void -mips_remote_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, - int *kindptr) -{ - *kindptr = mips_breakpoint_kind_from_pc (gdbarch, pcptr); -} - /* Return non-zero if the standard MIPS instruction INST has a branch delay slot (i.e. it is a jump or branch instruction). This function is based on mips32_next_pc. */ @@ -8736,8 +8727,6 @@ mips_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_inner_than (gdbarch, core_addr_lessthan); SET_GDBARCH_BREAKPOINT_MANIPULATION (mips); - set_gdbarch_remote_breakpoint_from_pc (gdbarch, - mips_remote_breakpoint_from_pc); set_gdbarch_adjust_breakpoint_address (gdbarch, mips_adjust_breakpoint_address); |