diff options
author | Gary Benson <gbenson@redhat.com> | 2014-08-06 13:23:59 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-28 15:06:48 +0100 |
commit | 7096e886259fad196b955ecaff9a61891281d117 (patch) | |
tree | ee751fb3fc858e225804b77b2ae0604da92a75d8 /gdb/gdbserver/utils.c | |
parent | 14ce3192392edde90aa444c153eacede6c1ba5c5 (diff) | |
download | gdb-7096e886259fad196b955ecaff9a61891281d117.zip gdb-7096e886259fad196b955ecaff9a61891281d117.tar.gz gdb-7096e886259fad196b955ecaff9a61891281d117.tar.bz2 |
Remove fatal function and prototype
This commit removes the now-unused fatal function and prototype.
gdb/gdbserver/ChangeLog:
* utils.h (fatal): Remove declaration.
* utils.c (fatal): Remove function.
Diffstat (limited to 'gdb/gdbserver/utils.c')
-rw-r--r-- | gdb/gdbserver/utils.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/gdbserver/utils.c b/gdb/gdbserver/utils.c index 3aac3cd..0c2af05 100644 --- a/gdb/gdbserver/utils.c +++ b/gdb/gdbserver/utils.c @@ -90,25 +90,6 @@ verror (const char *string, va_list args) #endif } -/* Print an error message and exit reporting failure. - This is for a error that we cannot continue from. - STRING and ARG are passed to fprintf. */ - -/* VARARGS */ -void -fatal (const char *string,...) -{ - va_list args; - va_start (args, string); - fprintf (stderr, PREFIX); - vfprintf (stderr, string, args); - fprintf (stderr, "\n"); - va_end (args); - exit (1); -} - -/* Print a warning message. */ - void vwarning (const char *string, va_list args) { |