* python/py-auto-load.c (source_section_scripts): Mention objfile

name in warning.
This commit is contained in:
Doug Evans 2011-05-16 16:33:57 +00:00
parent b481f9e0ce
commit fd20d931f1
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-05-16 Doug Evans <dje@google.com>
* python/py-auto-load.c (source_section_scripts): Mention objfile
name in warning.
2011-05-15 Doug Evans <dje@google.com>
* linux-thread-db.c (try_thread_db_load_from_pdir_1): New function.

View File

@ -304,9 +304,10 @@ source_section_scripts (struct objfile *objfile, const char *source_name,
/* We don't throw an error, the program is still debuggable. */
if (! pspace_info->script_not_found_warning_printed)
{
warning (_("Missing auto-load scripts referenced in %s.\n\
warning (_("Missing auto-load scripts referenced in section %s\n\
of file %s\n\
Use `info auto-load-scripts [REGEXP]' to list them."),
GDBPY_AUTO_SECTION_NAME);
GDBPY_AUTO_SECTION_NAME, objfile->name);
pspace_info->script_not_found_warning_printed = TRUE;
}
continue;