* mem-break.c: Remove obsolete comment.
authorTom Tromey <tromey@redhat.com>
Thu, 17 Jan 2013 15:23:38 +0000 (15:23 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 17 Jan 2013 15:23:38 +0000 (15:23 +0000)
* bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.

gdb/ChangeLog
gdb/bfin-tdep.c
gdb/mem-break.c

index 67af8d296481618d1c940c69fe7970f705f002b9..a094aea0d86ce2ffe476c7cb11b5b175b7f3999a 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-17  Tom Tromey  <tromey@redhat.com>
+
+       * mem-break.c: Remove obsolete comment.
+       * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
+
 2012-01-17  Sanjoy Das <sanjoy@playingwithpointers.com>
 
        * jit.c (jit_reader_load_command): Interpret the jit reader name
index 1e4689e53579664557e7cc1e6c85a70a90f4d355..d7fcccb91c90402a081c1129e08036e6790e21ee 100644 (file)
@@ -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,
index 1fe6893e7793515e3311e954ecadc107c9ab7770..74fd8dba8e1f00d7544019c6161d1e361c027943 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #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"
This page took 0.047655 seconds and 4 git commands to generate.