X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgdbserver%2Futils.h;h=2bc7a6ecab95d080cec5eb172026eadb0f743317;hb=4c5aa8e0b1b4439f73ef1f82344e408b989f85df;hp=7f5f1d9b4f93ea1c5c89c0b2d9baf0989de05346;hpb=270c6aeaf2ebc84b1d36449a451fe006b240f397;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdbserver/utils.h b/gdb/gdbserver/utils.h index 7f5f1d9b4f..2bc7a6ecab 100644 --- a/gdb/gdbserver/utils.h +++ b/gdb/gdbserver/utils.h @@ -1,5 +1,5 @@ /* General utility routines for the remote server for GDB. - Copyright (C) 1993-2013 Free Software Foundation, Inc. + Copyright (C) 1993-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -16,17 +16,10 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#ifndef UTILS_H -#define UTILS_H +#ifndef GDBSERVER_UTILS_H +#define GDBSERVER_UTILS_H -void perror_with_name (const char *string); -void error (const char *string,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2); -void fatal (const char *string,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2); -void warning (const char *string,...) ATTRIBUTE_PRINTF (1, 2); char *paddress (CORE_ADDR addr); -char *pulongest (ULONGEST u); -char *plongest (LONGEST l); -char *phex_nz (ULONGEST l, int sizeof_l); char *pfildes (gdb_fildes_t fd); -#endif /* UTILS_H */ +#endif /* GDBSERVER_UTILS_H */