projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sim: bfin: add exhaustive parallel-insn tests
[deliverable/binutils-gdb.git]
/
gdb
/
m32r-tdep.c
diff --git
a/gdb/m32r-tdep.c
b/gdb/m32r-tdep.c
index b417db027675d1f500b419805540f08ef296ea7f..d504eb38359ddf748f00491c98b7c9053cbe8610 100644
(file)
--- a/
gdb/m32r-tdep.c
+++ b/
gdb/m32r-tdep.c
@@
-1,7
+1,7
@@
/* Target-dependent code for Renesas M32R, for GDB.
/* Target-dependent code for Renesas M32R, for GDB.
- Copyright (C) 1996, 1998
, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
,
-
2008, 2009, 2010, 2011 Free Software Foundation,
Inc.
+ Copyright (C) 1996, 1998
-2005, 2007-2012 Free Software Foundation
,
+ Inc.
This file is part of GDB.
This file is part of GDB.
@@
-85,7
+85,7
@@
m32r_memory_insert_breakpoint (struct gdbarch *gdbarch,
CORE_ADDR addr = bp_tgt->placed_address;
int val;
gdb_byte buf[4];
CORE_ADDR addr = bp_tgt->placed_address;
int val;
gdb_byte buf[4];
- gdb_byte
*contents_cache = bp_tgt->shadow_contents
;
+ gdb_byte
contents_cache[4]
;
gdb_byte bp_entry[] = { 0x10, 0xf1 }; /* dpt */
/* Save the memory contents. */
gdb_byte bp_entry[] = { 0x10, 0xf1 }; /* dpt */
/* Save the memory contents. */
@@
-93,6
+93,7
@@
m32r_memory_insert_breakpoint (struct gdbarch *gdbarch,
if (val != 0)
return val; /* return error */
if (val != 0)
return val; /* return error */
+ memcpy (bp_tgt->shadow_contents, contents_cache, 4);
bp_tgt->placed_size = bp_tgt->shadow_len = 4;
/* Determine appropriate breakpoint contents and size for this address. */
bp_tgt->placed_size = bp_tgt->shadow_len = 4;
/* Determine appropriate breakpoint contents and size for this address. */
This page took
0.024536 seconds
and
4
git commands to generate.