diff options
author | Doug Evans <xdje42@gmail.com> | 2014-05-17 12:18:26 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-05-17 12:18:26 -0700 |
commit | 08f4850b5d3069455736c80e01cde9ae3d683659 (patch) | |
tree | 4be514b3ff7ba133af7313ac3241934538529e46 /gdb/progspace.c | |
parent | bed8455c71aa68852723b031f8f6c4adbd683c9c (diff) | |
download | gdb-08f4850b5d3069455736c80e01cde9ae3d683659.zip gdb-08f4850b5d3069455736c80e01cde9ae3d683659.tar.gz gdb-08f4850b5d3069455736c80e01cde9ae3d683659.tar.bz2 |
* progspace.c (remove_program_space): Delete, unused.
* progspace.h (remove_program_space): Ditto.
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r-- | gdb/progspace.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c index 14507ef..88f59f4 100644 --- a/gdb/progspace.c +++ b/gdb/progspace.c @@ -170,30 +170,6 @@ release_program_space (struct program_space *pspace) do_cleanups (old_chain); } -/* Unlinks PSPACE from the pspace list, and releases it. */ - -void -remove_program_space (struct program_space *pspace) -{ - struct program_space *ss, **ss_link; - - ss = program_spaces; - ss_link = &program_spaces; - while (ss) - { - if (ss != pspace) - { - ss_link = &ss->next; - ss = *ss_link; - continue; - } - - *ss_link = ss->next; - release_program_space (ss); - ss = *ss_link; - } -} - /* Copies program space SRC to DEST. Copies the main executable file, and the main symbol file. Returns DEST. */ |