mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
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.
This commit is contained in:
@@ -329,7 +329,7 @@ ppc_linux_memory_remove_breakpoint (struct bp_target_info *bp_tgt)
|
||||
gdb_byte old_contents[BREAKPOINT_MAX];
|
||||
|
||||
/* Determine appropriate breakpoint contents and size for this address. */
|
||||
bp = BREAKPOINT_FROM_PC (&addr, &bplen);
|
||||
bp = gdbarch_breakpoint_from_pc (current_gdbarch, &addr, &bplen);
|
||||
if (bp == NULL)
|
||||
error (_("Software breakpoints not implemented for this target."));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user