diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-07-08 11:40:35 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-07-08 11:40:35 -0400 |
commit | ef3f321b39c3e31fc49f034257a944d515af182a (patch) | |
tree | 2e5715e2ac8d9a6b01c21e02516f0f00d5718a07 /gdb/progspace.h | |
parent | 0560c645c02eba2828a053039dcfdf676cdd1d00 (diff) | |
download | gdb-ef3f321b39c3e31fc49f034257a944d515af182a.zip gdb-ef3f321b39c3e31fc49f034257a944d515af182a.tar.gz gdb-ef3f321b39c3e31fc49f034257a944d515af182a.tar.bz2 |
Revert "Delete program spaces directly when removing inferiors"
Reverted, since it causes a build failure. It turns out that
delete_inferior_silent wasn't actually unused.
This reverts commit 0560c645c02eba2828a053039dcfdf676cdd1d00.
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index 48f206e..f960093 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -236,16 +236,9 @@ extern struct program_space *current_program_space; pointer to the new object. */ extern struct program_space *add_program_space (struct address_space *aspace); -/* Remove a program space from the program spaces list and release it. It is - an error to call this function while PSPACE is the current program space. */ -extern void delete_program_space (struct program_space *pspace); - /* Returns the number of program spaces listed. */ extern int number_of_program_spaces (void); -/* Returns true iff there's no inferior bound to PSPACE. */ -extern int program_space_empty_p (struct program_space *pspace); - /* Copies program space SRC to DEST. Copies the main executable file, and the main symbol file. Returns DEST. */ extern struct program_space *clone_program_space (struct program_space *dest, @@ -296,6 +289,10 @@ extern int address_space_num (struct address_space *aspace); mappings. */ extern void update_address_spaces (void); +/* Prune away automatically added program spaces that aren't required + anymore. */ +extern void prune_program_spaces (void); + /* Reset saved solib data at the start of an solib event. This lets us properly collect the data when calling solib_add, so it can then later be printed. */ |