diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-13 17:38:43 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-13 17:38:43 +0000 |
commit | 3b3b875c482fe05ec3e51b31124b21433fee2ce9 (patch) | |
tree | 772cf8b25ef9f498a798d14d899f62271bd9de8c /gdb/gdbarch.h | |
parent | 819844ad98d84ef944ff721239ba2b55c2a34061 (diff) | |
download | gdb-3b3b875c482fe05ec3e51b31124b21433fee2ce9.zip gdb-3b3b875c482fe05ec3e51b31124b21433fee2ce9.tar.gz gdb-3b3b875c482fe05ec3e51b31124b21433fee2ce9.tar.bz2 |
2007-06-13 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (BREAKPOINT_FROM_PC): Replace by
gdbarch_breakpoint_from_pc.
* s390-tdep.c (s390_gdbarch_init): Likewise (comment).
* remote.c (remote_insert_breakpoint)
(remote_insert_hw_breakpoint): Likewise.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
* mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment).
* breakpoint.h (bp_target_info): Likewise (comment).
* breakpoint.c (read_memory_nobpt): Likewise.
* mem-break.c (default_memory_insert_breakpoint): Likewise.
(symtab.h, breakpoint.h): Remove include. Remove unnecessary comment.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 6767bf7..c99b15b 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -551,12 +551,6 @@ extern void set_gdbarch_inner_than (struct gdbarch *gdbarch, gdbarch_inner_than_ typedef const gdb_byte * (gdbarch_breakpoint_from_pc_ftype) (CORE_ADDR *pcptr, int *lenptr); extern const gdb_byte * gdbarch_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr, int *lenptr); extern void set_gdbarch_breakpoint_from_pc (struct gdbarch *gdbarch, gdbarch_breakpoint_from_pc_ftype *breakpoint_from_pc); -#if !defined (GDB_TM_FILE) && defined (BREAKPOINT_FROM_PC) -#error "Non multi-arch definition of BREAKPOINT_FROM_PC" -#endif -#if !defined (BREAKPOINT_FROM_PC) -#define BREAKPOINT_FROM_PC(pcptr, lenptr) (gdbarch_breakpoint_from_pc (current_gdbarch, pcptr, lenptr)) -#endif extern int gdbarch_adjust_breakpoint_address_p (struct gdbarch *gdbarch); |