diff options
Diffstat (limited to 'gdb/nto-procfs.c')
-rw-r--r-- | gdb/nto-procfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/nto-procfs.c b/gdb/nto-procfs.c index 5ecf9b5..366ef38 100644 --- a/gdb/nto-procfs.c +++ b/gdb/nto-procfs.c @@ -1323,7 +1323,8 @@ nto_procfs_target::create_inferior (const char *exec_file, target_terminal::init (); if (current_program_space->exec_bfd () != NULL - || (symfile_objfile != NULL && symfile_objfile->obfd != NULL)) + || (current_program_space->symfile_object_file != NULL + && current_program_space->symfile_object_file->obfd != NULL)) solib_create_inferior_hook (0); } |