* tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
authorStan Shebs <shebs@codesourcery.com>
Thu, 7 Jan 2010 19:09:09 +0000 (19:09 +0000)
committerStan Shebs <shebs@codesourcery.com>
Thu, 7 Jan 2010 19:09:09 +0000 (19:09 +0000)
gdb/ChangeLog
gdb/tracepoint.c

index 66d2b08..6d3938d 100644 (file)
@@ -1,3 +1,7 @@
+2010-01-07  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
+
 2010-01-07  Tristan Gingold  <gingold@adacore.com>
 
        * symfile.c (build_section_addr_info_from_objfile): New function.
index 1726d5e..5d19934 100644 (file)
@@ -2541,8 +2541,7 @@ trace_dump_command (char *args, int from_tty)
   regcache = get_current_regcache ();
   gdbarch = get_regcache_arch (regcache);
 
-  stepping_frame = (t->loc->address != (regcache_read_pc (regcache)
-                                  - gdbarch_decr_pc_after_break (gdbarch)));
+  stepping_frame = (t->loc->address != (regcache_read_pc (regcache)));
 
   for (action = t->actions; action; action = action->next)
     {