diff options
author | Doug Evans <dje@google.com> | 2011-05-16 16:33:57 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2011-05-16 16:33:57 +0000 |
commit | fd20d931f1d9b7bfb11e76f8770453a7244db51e (patch) | |
tree | 6326dc469009e21770deb1a4aa6a678c69b2f805 /gdb/python | |
parent | b481f9e0cead907d675205d7cbab6e4c1ef15605 (diff) | |
download | gdb-fd20d931f1d9b7bfb11e76f8770453a7244db51e.zip gdb-fd20d931f1d9b7bfb11e76f8770453a7244db51e.tar.gz gdb-fd20d931f1d9b7bfb11e76f8770453a7244db51e.tar.bz2 |
* python/py-auto-load.c (source_section_scripts): Mention objfile
name in warning.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-auto-load.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c index 4024fd3..619d995 100644 --- a/gdb/python/py-auto-load.c +++ b/gdb/python/py-auto-load.c @@ -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; |