* mem-break.c: Remove obsolete comment.
* bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
This commit is contained in:
parent
963437740b
commit
be7d37a2c3
3 changed files with 10 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -20,10 +20,6 @@
|
|||
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"
|
||||
|
|
Loading…
Reference in a new issue