aboutsummaryrefslogtreecommitdiff
path: root/gdb/progspace.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-07 02:09:55 +0000
commitc6913b7d1e1863c208fb6495b227ef5ea119243e (patch)
treefd0dce52b205e9792e3f8c6965befd9e6b8ef863 /gdb/progspace.c
parent1c5465ac6061382a64975cbe2e619054bfc71c45 (diff)
downloadgdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.zip
gdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.tar.gz
gdb-c6913b7d1e1863c208fb6495b227ef5ea119243e.tar.bz2
2010-05-06 Michael Snyder <msnyder@vmware.com>
* xml-support.c (xinclude_start_include): Delete unused variable. (xml_process_xincludes): Delete unused variable. * xml-syscall.c (syscall_parse_xml): Delete unused variable. * target-descriptions.c (tdesc_gdb_type): Delete unused variable. (tdesc_find_arch_register): Delete unused variable. (tdesc_use_registers): Delete unused variable. * xml-tdesc.c (tdesc_start_target): Delete unused variable. * inferior.c (print_inferior): Delete unused variable. * record.c (record_open_1): Delete unused variable. (record_restore): Delete unused variable. (cmd_record_save): Delete unused variable. * gcore.c (derive_heap_segment): Delete unused variable. (objfile_find_memory_regions): Use unused variable. * jit.c (jit_inferior_init): Delete unused variable. * progspace.c (clone_program_space): Delete unused variable. (pspace_empty_p): Delete unused variable.
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r--gdb/progspace.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c
index 42139fd..5a2acfd 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -186,7 +186,6 @@ remove_program_space (struct program_space *pspace)
struct program_space *
clone_program_space (struct program_space *dest, struct program_space *src)
{
- struct program_space *new_pspace;
struct cleanup *old_chain;
old_chain = save_current_program_space ();
@@ -248,8 +247,6 @@ save_current_program_space (void)
static int
pspace_empty_p (struct program_space *pspace)
{
- struct inferior *inf;
-
if (find_inferior_for_program_space (pspace) != NULL)
return 0;