From: Tom Tromey Date: Thu, 17 Jan 2013 15:23:38 +0000 (+0000) Subject: * mem-break.c: Remove obsolete comment. X-Git-Tag: sid-snapshot-20130201~169 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be7d37a2c35f12d7fdcc9ad65333c0a81460cd89;p=platform%2Fupstream%2Fbinutils.git * mem-break.c: Remove obsolete comment. * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 67af8d2..a094aea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-01-17 Tom Tromey + + * mem-break.c: Remove obsolete comment. + * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. + 2012-01-17 Sanjoy Das * jit.c (jit_reader_load_command): Interpret the jit reader name 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, diff --git a/gdb/mem-break.c b/gdb/mem-break.c index 1fe6893..74fd8db 100644 --- a/gdb/mem-break.c +++ b/gdb/mem-break.c @@ -20,10 +20,6 @@ along with this program. If not, see . */ #include "defs.h" - -/* This file is only useful if BREAKPOINT_FROM_PC is set. If not, we - punt. */ - #include "symtab.h" #include "breakpoint.h" #include "inferior.h"