diff options
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r-- | gdb/progspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c index 2a031ed..6e72211 100644 --- a/gdb/progspace.c +++ b/gdb/progspace.c @@ -200,7 +200,7 @@ clone_program_space (struct program_space *dest, struct program_space *src) exec_file_attach (src->pspace_exec_filename, 0); if (src->symfile_object_file != NULL) - symbol_file_add_main (src->symfile_object_file->name, 0); + symbol_file_add_main (objfile_name (src->symfile_object_file), 0); do_cleanups (old_chain); return dest; |