From 6b6218c55aa533306ba4ababfaf20411d5b73516 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Thu, 7 Jan 2010 19:09:09 +0000 Subject: [PATCH] * tracepoint.c (trace_dump_command): Don't decr_pc_after_break. --- gdb/ChangeLog | 4 ++++ gdb/tracepoint.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 66d2b08f1f..6d3938d013 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-01-07 Stan Shebs + + * tracepoint.c (trace_dump_command): Don't decr_pc_after_break. + 2010-01-07 Tristan Gingold * symfile.c (build_section_addr_info_from_objfile): New function. diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 1726d5eeeb..5d19934d2e 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -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) {