This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH] Fix tdump
- From: Stan Shebs <stan at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 07 Jan 2010 11:14:06 -0800
- Subject: [PATCH] Fix tdump
decr_pc_after_break has been generally confined to execution control for
awhile; in this context it makes tdump not find anything to display.
Committed to trunk.
Stan
2010-01-07 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
Index: tracepoint.c
===================================================================
RCS file: /cvs/src/src/gdb/tracepoint.c,v
retrieving revision 1.136
diff -p -r1.136 tracepoint.c
*** tracepoint.c 6 Jan 2010 20:31:28 -0000 1.136
--- tracepoint.c 7 Jan 2010 19:08:17 -0000
*************** trace_dump_command (char *args, int from
*** 2541,2548 ****
regcache = get_current_regcache ();
gdbarch = get_regcache_arch (regcache);
! stepping_frame = (t->loc->address != (regcache_read_pc (regcache)
! - gdbarch_decr_pc_after_break (gdbarch)));
for (action = t->actions; action; action = action->next)
{
--- 2541,2547 ----
regcache = get_current_regcache ();
gdbarch = get_regcache_arch (regcache);
! stepping_frame = (t->loc->address != (regcache_read_pc (regcache)));
for (action = t->actions; action; action = action->next)
{