This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR 15693 - Extra *running event when call-style dprintf hits


Hi,

After I see the comments of this PR and check the code running, I
found that after run_inferior_call call the function, it change the
call_thread->state.
Then set_running will call observer_notify_target_resumed make GDB
output a lot of *running,thread-id="1".
So I make a patch to save call_thread->state and set it back in
run_inferior_call.

Thanks,
Hui

2013-07-08  Hui Zhu  <hui@codesourcery.com>

	PR gdb/15693
	infcall.c (run_inferior_call): Save value of call_thread->state
	and set it back.

Attachment: fix-15693.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]