]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: add inferior parameter to breakpoint_init_inferior
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 7 Feb 2024 16:53:20 +0000 (11:53 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 9 Feb 2024 16:09:55 +0000 (11:09 -0500)
commitf5928702044db6274a7dd652de5c428b3e29948b
treed9dcee9a90e719976e46c90cd4242baf1edbb361
parentc72348e3b48cbb0843f6f91e3577dfc6e61eb3d3
gdb: add inferior parameter to breakpoint_init_inferior

By inspection, I believe that breakpoint_init_inferior doesn't call
anything that relies on the current program space or inferior.  So,
add an inferior parameter, to make the current inferior / program space
references bubble up one level.

Change-Id: Ib07b7a6d360e324f6ae1aa502dd314b8cce421b7
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/breakpoint.c
gdb/breakpoint.h
gdb/infcmd.c
gdb/infrun.c
gdb/target.c