This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Fix PR breakpoints/16494: add dprintf-style "agent-call"
- From: Hui Zhu <hui_zhu at mentor dot com>
- To: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Wed, 5 Mar 2014 00:29:31 +0800
- Subject: [PATCH 0/4] Fix PR breakpoints/16494: add dprintf-style "agent-call"
- Authentication-results: sourceware.org; auth=none
The root cause of this issue is dprint-style "call" cannot work without
gdb's help. So "call" dprintf will not work when gdb disconnect.
These patches add "call_function_by_hand" function to gdbserver to
make it can call a function without help from GDB.
And I add a new dprintf-style "agent-call" to make gdb let gdbserver call
printf function when it need.
I will introdcue them clear in each mail.
These patches passed test and regression test in x86_64 linux.
Thanks,
Hui