[PATCH v2 0/6] Fix inferior calls from breakpoint condition
Natalia Saiapova
natalia.saiapova@intel.com
Fri Oct 9 11:27:12 GMT 2020
Hi,
This is the rebased on top of
51a948fdf0e gdb: Have allocate_target_description return a unique_ptr
version of
https://sourceware.org/pipermail/gdb-patches/2020-August/171592.html.
The patch set is tested on x86_64-pc-linux-gnu configuration, the default
and gdbserver-native boards.
Regards,
--Natalia
Natalia Saiapova:
Tankut Baris Aktemur:
gdb: add in_cond_eval field to thread_control_state struct.
gdb/infrun: in condition evaluation resume only current thread.
gdb/infcall: in condition evaluation register target back after infcall.
gdb/infrun: in condition evaluation wait only for the current inferior.
gdb/infrun: in condition evaluation do not stop all threads.
gdb/testsuite: add tests for inferior calls in breakpoint conditions.
gdb/breakpoint.c | 3 +
gdb/gdbthread.h | 3 +
gdb/infcall.c | 3 +
gdb/infrun.c | 35 +++++++--
gdb/testsuite/gdb.threads/infcall-bp-cond.c | 58 +++++++++++++++
gdb/testsuite/gdb.threads/infcall-bp-cond.exp | 73 +++++++++++++++++++
6 files changed, 169 insertions(+), 6 deletions(-)
create mode 100644 gdb/testsuite/gdb.threads/infcall-bp-cond.c
create mode 100644 gdb/testsuite/gdb.threads/infcall-bp-cond.exp
--
2.17.1
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Gary Kershaw
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
More information about the Gdb-patches
mailing list