diff options
author | qiyao <qiyao> | 2012-11-20 03:10:18 +0000 |
---|---|---|
committer | qiyao <qiyao> | 2012-11-20 03:10:18 +0000 |
commit | 74a9b3249510beaf4afa1641b473b94e27323914 (patch) | |
tree | d522085acb137268bfc85ee21f81755b4b6ff583 /gdb/infrun.c | |
parent | a38d9b1ea39dac6917c310e5a42847c9e907556c (diff) | |
download | gdb-74a9b3249510beaf4afa1641b473b94e27323914.tar.gz |
gdb/
2012-11-20 Yao Qi <yao@codesourcery.com>
* infrun.c (handle_inferior_event): Pass 'saved_singlestep_ptid'
to deprecated_context_hook.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index b29fd2ff345..e7c20e165b3 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3783,7 +3783,7 @@ handle_inferior_event (struct execution_control_state *ecs) context_switch (saved_singlestep_ptid); if (deprecated_context_hook) - deprecated_context_hook (pid_to_thread_id (ecs->ptid)); + deprecated_context_hook (pid_to_thread_id (saved_singlestep_ptid)); resume (1, GDB_SIGNAL_0); prepare_to_wait (ecs); |