summaryrefslogtreecommitdiff
path: root/gdb/python/py-auto-load.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-05-15 18:46:25 +0000
committerDoug Evans <dje@google.com>2011-05-15 18:46:25 +0000
commit75fc9810e329b582cff578f08574432c90442fea (patch)
tree666ba8478f2d7c0782a12a6ab4f2b6c3c6791993 /gdb/python/py-auto-load.c
parent80db650d1d8506700e9a0c7ba58f5194f1009d9e (diff)
downloadbinutils-gdb-75fc9810e329b582cff578f08574432c90442fea.tar.gz
* python/py-autoload.c (print_script): Print "Missing" instead of
"No" for missing scripts. (info_auto_load_scripts): Tweak "Loaded" column to fit "Missing". doc/ * gdb.texinfo (Auto-loading): Document printing of missing scripts.
Diffstat (limited to 'gdb/python/py-auto-load.c')
-rw-r--r--gdb/python/py-auto-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-auto-load.c b/gdb/python/py-auto-load.c
index 4f31c2acb6a..4024fd3f489 100644
--- a/gdb/python/py-auto-load.c
+++ b/gdb/python/py-auto-load.c
@@ -497,7 +497,7 @@ print_script (struct loaded_script *script)
chain = make_cleanup_ui_out_tuple_begin_end (uiout, NULL);
- ui_out_field_string (uiout, "loaded", script->full_path ? "Yes" : "No");
+ ui_out_field_string (uiout, "loaded", script->full_path ? "Yes" : "Missing");
ui_out_field_string (uiout, "script", script->name);
ui_out_text (uiout, "\n");
@@ -569,7 +569,7 @@ info_auto_load_scripts (char *pattern, int from_tty)
make_cleanup_ui_out_table_begin_end (uiout, 2, nr_scripts,
"AutoLoadedScriptsTable");
- ui_out_table_header (uiout, 6, ui_center, "loaded", "Loaded");
+ ui_out_table_header (uiout, 7, ui_left, "loaded", "Loaded");
ui_out_table_header (uiout, 70, ui_left, "script", "Script");
ui_out_table_body (uiout);