diff options
Diffstat (limited to 'gdb/python/py-auto-load.c')
-rw-r--r-- | gdb/python/py-auto-load.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c index fa07432..2802acf 100644 --- a/gdb/python/py-auto-load.c +++ b/gdb/python/py-auto-load.c @@ -74,7 +74,7 @@ gdbpy_load_auto_script_for_objfile (struct objfile *objfile, FILE *file, is_safe = file_is_auto_load_safe (filename, _("auto-load: Loading Python script \"%s\" " "by extension for objfile \"%s\".\n"), - filename, objfile->name); + filename, objfile_name (objfile)); /* Add this script to the hash table too so "info auto-load python-scripts" can print it. */ @@ -157,7 +157,7 @@ source_section_scripts (struct objfile *objfile, const char *source_name, "\"%s\" from section \"%s\" of " "objfile \"%s\".\n"), full_path, GDBPY_AUTO_SECTION_NAME, - objfile->name)) + objfile_name (objfile))) opened = 0; } else @@ -169,7 +169,7 @@ source_section_scripts (struct objfile *objfile, const char *source_name, warning (_("Missing auto-load scripts referenced in section %s\n\ of file %s\n\ Use `info auto-load python [REGEXP]' to list them."), - GDBPY_AUTO_SECTION_NAME, objfile->name); + GDBPY_AUTO_SECTION_NAME, objfile_name (objfile)); } /* If one script isn't found it's not uncommon for more to not be |