aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/tracepoint.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-11-09 02:58:50 +0000
committerYao Qi <yao@codesourcery.com>2012-11-09 02:58:50 +0000
commitfbd5db48c538738520ee7b9a0699499b56bc9411 (patch)
treed4aeba3bd6d20daf24d5b83a2cce5038286495aa /gdb/gdbserver/tracepoint.c
parente714f336ee88378b0598be6ba077fe77c1d218bc (diff)
downloadgdb-fbd5db48c538738520ee7b9a0699499b56bc9411.zip
gdb-fbd5db48c538738520ee7b9a0699499b56bc9411.tar.gz
gdb-fbd5db48c538738520ee7b9a0699499b56bc9411.tar.bz2
gdb/gdbserver:
2012-11-09 Yao Qi <yao@codesourcery.com> * spu-low.c (current_ptid): Move it to .. * gdbthread.h: ... here. New. * remote-utils.c (read_ptid): Use macro 'current_ptid'. * server.c (myresume, process_serial_event): Likewise. * thread-db.c (thread_db_find_new_threads): Likewise. * tracepoint.c (run_inferior_command): Likewise.
Diffstat (limited to 'gdb/gdbserver/tracepoint.c')
-rw-r--r--gdb/gdbserver/tracepoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 201a25b..1526838 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -6692,7 +6692,7 @@ static int
run_inferior_command (char *cmd, int len)
{
int err = -1;
- int pid = ptid_get_pid (current_inferior->entry.id);
+ int pid = ptid_get_pid (current_ptid);
trace_debug ("run_inferior_command: running: %s", cmd);