aboutsummaryrefslogtreecommitdiff
path: root/gdb/bfin-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-17 15:23:38 +0000
committerTom Tromey <tromey@redhat.com>2013-01-17 15:23:38 +0000
commitbe7d37a2c35f12d7fdcc9ad65333c0a81460cd89 (patch)
tree9a163efb56073b7f42db4de9566647c038db542b /gdb/bfin-tdep.c
parent963437740b168e362ccce4c8e677b2df3ddc96c1 (diff)
downloadgdb-be7d37a2c35f12d7fdcc9ad65333c0a81460cd89.zip
gdb-be7d37a2c35f12d7fdcc9ad65333c0a81460cd89.tar.gz
gdb-be7d37a2c35f12d7fdcc9ad65333c0a81460cd89.tar.bz2
* mem-break.c: Remove obsolete comment.
* bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
Diffstat (limited to 'gdb/bfin-tdep.c')
-rw-r--r--gdb/bfin-tdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index 1e4689e..d7fcccb 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -574,11 +574,11 @@ bfin_reg_to_regnum (struct gdbarch *gdbarch, int reg)
return map_gcc_gdb[reg];
}
-/* This function implements the BREAKPOINT_FROM_PC macro. It returns
- a pointer to a string of bytes that encode a breakpoint instruction,
- stores the length of the string to *lenptr, and adjusts the program
- counter (if necessary) to point to the actual memory location where
- the breakpoint should be inserted. */
+/* This function implements the 'breakpoint_from_pc' gdbarch method.
+ It returns a pointer to a string of bytes that encode a breakpoint
+ instruction, stores the length of the string to *lenptr, and
+ adjusts the program counter (if necessary) to point to the actual
+ memory location where the breakpoint should be inserted. */
static const unsigned char *
bfin_breakpoint_from_pc (struct gdbarch *gdbarch,