aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-10-29 15:04:33 -0600
committerTom Tromey <tom@tromey.com>2020-10-29 15:04:39 -0600
commit2a3f84af539b4dc5473c44b0a01c1bcdfc7a1300 (patch)
tree480cc0467b823b8acc2d398f44e1125bb0edc746 /gdb/exec.h
parent004eecfdc7d9b47e8364719667c64edb22d12d44 (diff)
downloadgdb-2a3f84af539b4dc5473c44b0a01c1bcdfc7a1300.zip
gdb-2a3f84af539b4dc5473c44b0a01c1bcdfc7a1300.tar.gz
gdb-2a3f84af539b4dc5473c44b0a01c1bcdfc7a1300.tar.bz2
Change remove_target_sections to method on program_space
This changes remove_target_sections to be a method on program_space. This makes sense because this function manipulates data that is attached to the program space. gdb/ChangeLog 2020-10-29 Tom Tromey <tom@tromey.com> * progspace.h (struct program_space) <remove_target_sections>: Declare. * exec.c (program_space::remove_target_sections): Now a method. * exec.h (remove_target_sections): Don't declare.
Diffstat (limited to 'gdb/exec.h')
-rw-r--r--gdb/exec.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/exec.h b/gdb/exec.h
index 8590e78..d5b3cff 100644
--- a/gdb/exec.h
+++ b/gdb/exec.h
@@ -92,10 +92,6 @@ extern enum target_xfer_status
/* Set the loaded address of a section. */
extern void exec_set_section_address (const char *, int, CORE_ADDR);
-/* Remove all target sections owned by OWNER. */
-
-extern void remove_target_sections (void *owner);
-
/* Add the sections array defined by [SECTIONS..SECTIONS_END[ to the
current set of target sections. */