Replace all usage errors with calls to error
authorGary Benson <gbenson@redhat.com>
Tue, 5 Aug 2014 15:12:01 +0000 (16:12 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 29 Aug 2014 09:12:04 +0000 (10:12 +0100)
commit91b35fd05c777ffba9b1738711d470977779c687
treeae134bd75a5a2177c92fabadb4051a9c375ab6b0
parentb1ec390e096983dea311a853c412494a4991153e
Replace all usage errors with calls to error

This commit replaces the hardwired fprintf/exit error handlers
for usage errors with calls to error.

gdb/ChangeLog:

* main.c (captured_main): Handle usage errors with error.
gdb/ChangeLog
gdb/main.c