diff options
author | Stan Shebs <shebs@codesourcery.com> | 2010-01-07 19:09:09 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 2010-01-07 19:09:09 +0000 |
commit | 6b6218c55aa533306ba4ababfaf20411d5b73516 (patch) | |
tree | 39d64e8d0e3c3e4f52bad3823df0617fd393f395 | |
parent | 9d3b86f6f906047e31640311f6e231d46cfaf49f (diff) | |
download | gdb-6b6218c55aa533306ba4ababfaf20411d5b73516.zip gdb-6b6218c55aa533306ba4ababfaf20411d5b73516.tar.gz gdb-6b6218c55aa533306ba4ababfaf20411d5b73516.tar.bz2 |
* tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/tracepoint.c | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 66d2b08..6d3938d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 1726d5e..5d19934 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) { |