* python/py-auto-load.c (source_section_scripts): Mention objfile
name in warning.
This commit is contained in:
parent
b481f9e0ce
commit
fd20d931f1
2 changed files with 8 additions and 2 deletions
|
@ -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>
|
2011-05-15 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* linux-thread-db.c (try_thread_db_load_from_pdir_1): New function.
|
* linux-thread-db.c (try_thread_db_load_from_pdir_1): New function.
|
||||||
|
|
|
@ -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. */
|
/* We don't throw an error, the program is still debuggable. */
|
||||||
if (! pspace_info->script_not_found_warning_printed)
|
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."),
|
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;
|
pspace_info->script_not_found_warning_printed = TRUE;
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue