Move "catch load" to a new file
authorTom Tromey <tom@tromey.com>
Thu, 13 Jan 2022 23:25:16 +0000 (16:25 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 29 Apr 2022 22:14:30 +0000 (16:14 -0600)
commit2f9ee862bca8e9c8548a6b17927b64c249fb25d4
tree1c8c9b0a2c3cc9c4679085f3e59eafd01162051d
parent835e063d3a0d08a85862e3cdf217773f524cd006
Move "catch load" to a new file

The "catch load" code is reasonably self-contained, and so this patch
moves it out of breakpoint.c and into a new file, break-catch-load.c.
One function from breakpoint.c, print_solib_event, now has to be
exposed, but this seems pretty reasonable.
gdb/Makefile.in
gdb/break-catch-load.c [new file with mode: 0644]
gdb/breakpoint.c
gdb/breakpoint.h