Avoid software breakpoint's instruction shadow inconsistency
[deliverable/binutils-gdb.git] / gdb / monitor.c
index b880ff2ead970e5082dfc011da263dd48c485f70..f7e331b73cc4337eeb3354e38b69d291bddca19e 100644 (file)
@@ -2103,7 +2103,7 @@ static int
 monitor_insert_breakpoint (struct target_ops *ops, 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 i;
   int bplen;
 
This page took 0.025335 seconds and 4 git commands to generate.