aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-nat.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-02-07 11:53:21 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2024-02-09 11:09:55 -0500
commit85e8a786f485b1058854af3138f11e0d295ff060 (patch)
tree37a79eb59667a5f0ec5e9d57f0f5c3c533797715 /gdb/windows-nat.c
parentf5928702044db6274a7dd652de5c428b3e29948b (diff)
downloadgdb-85e8a786f485b1058854af3138f11e0d295ff060.zip
gdb-85e8a786f485b1058854af3138f11e0d295ff060.tar.gz
gdb-85e8a786f485b1058854af3138f11e0d295ff060.tar.bz2
gdb: add program_space parameter to disable_breakpoints_in_shlibs
Make the current_program_space reference bubble up one level. Change-Id: Ide917aa306bff1872d961244901d79f65d2da62e Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/windows-nat.c')
-rw-r--r--gdb/windows-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 48b0d10..7f3044f 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -1906,7 +1906,7 @@ windows_nat_target::do_initial_windows_stuff (DWORD pid, bool attaching)
inf = current_inferior ();
if (!inf->target_is_pushed (this))
inf->push_target (this);
- disable_breakpoints_in_shlibs ();
+ disable_breakpoints_in_shlibs (current_program_space);
windows_clear_solib ();
clear_proceed_status (0);
init_wait_for_inferior ();