Avoid software breakpoint's instruction shadow inconsistency
[deliverable/binutils-gdb.git] / gdb / m32r-tdep.c
index 067ff99c7468e60357fb6d8283bccd23fdaa6bd0..5b6af4b8e8b1a4f92a497a8ab26103c159951df8 100644 (file)
@@ -79,7 +79,7 @@ static int
 m32r_memory_insert_breakpoint (struct gdbarch *gdbarch,
                               struct bp_target_info *bp_tgt)
 {
-  CORE_ADDR addr = bp_tgt->placed_address;
+  CORE_ADDR addr = bp_tgt->placed_address = bp_tgt->reqstd_address;
   int val;
   gdb_byte buf[4];
   gdb_byte contents_cache[4];
This page took 0.024639 seconds and 4 git commands to generate.