+2014-08-28 Gary Benson <gbenson@redhat.com>
+
+ * utils.h (fatal): Remove declaration.
+ * utils.c (fatal): Remove function.
+
2014-08-28 Gary Benson <gbenson@redhat.com>
* tracepoint.c (gdb_agent_init): Replace fatal with
#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)
{
#ifndef UTILS_H
#define UTILS_H
-void fatal (const char *string,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2);
char *paddress (CORE_ADDR addr);
char *pfildes (gdb_fildes_t fd);