aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-08-05 16:18:51 +0100
committerGary Benson <gbenson@redhat.com>2014-08-29 10:12:04 +0100
commit075c703382f5bed4ec0976dd11f3b5b694ce3cb1 (patch)
treef60cc86905128edd68f53320f6218bf640d963c2 /gdb/utils.c
parent91b35fd05c777ffba9b1738711d470977779c687 (diff)
downloadgdb-075c703382f5bed4ec0976dd11f3b5b694ce3cb1.zip
gdb-075c703382f5bed4ec0976dd11f3b5b694ce3cb1.tar.gz
gdb-075c703382f5bed4ec0976dd11f3b5b694ce3cb1.tar.bz2
Unify startup and option-parsing warnings
Various warnings are emitted during startup and option-parsing using fprintf_unfiltered. One warning is prefixed with the command name, the others are not. This commit replaces these hardwired warnings with calls to warning. It also sets warning_pre_print to prefix all warnings with the command name until option parsing is complete. gdb/ChangeLog: * main.c (captured_main): Use warning during startup. Prefix startup warning messages with command name.
Diffstat (limited to 'gdb/utils.c')
0 files changed, 0 insertions, 0 deletions