aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-02-07 11:53:19 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2024-02-09 11:09:55 -0500
commitc72348e3b48cbb0843f6f91e3577dfc6e61eb3d3 (patch)
tree326e8d704a7a37627488bfa1c68631f1dc45147b /gdb/infrun.c
parent38065394e9646db0aff89b58d1d09f94bb1f626e (diff)
downloadgdb-c72348e3b48cbb0843f6f91e3577dfc6e61eb3d3.zip
gdb-c72348e3b48cbb0843f6f91e3577dfc6e61eb3d3.tar.gz
gdb-c72348e3b48cbb0843f6f91e3577dfc6e61eb3d3.tar.bz2
gdb: add program_space parameter to mark_breakpoints_out
Make the current_program_space reference bubble up one level. Change-Id: Idc8ed78d23bf3bb2969f6963d8cc049f26901c29 Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 87965fb..d00a989 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -1247,7 +1247,7 @@ follow_exec (ptid_t ptid, const char *exec_file_target)
value that was overwritten with a TRAP instruction). Since
we now have a new a.out, those shadow contents aren't valid. */
- mark_breakpoints_out ();
+ mark_breakpoints_out (current_program_space);
/* The target reports the exec event to the main thread, even if
some other thread does the exec, and even if the main thread was