]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* 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 66d2b08f1fa01bd0b1ffaeb584bfa6a06472452c..6d3938d01361f3bf35428be558a500e50f2619e1 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 1726d5eeebef8750dd94861c677c48a255265eb7..5d19934d2e0760979b2ef76fc9e6709b782a2a42 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)
     {