aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-08-23 01:41:05 +0000
committerYao Qi <yao@codesourcery.com>2012-08-23 01:41:05 +0000
commitdc82f37bb79f03c929a9d4331ff48c8872a5741b (patch)
tree5e6997f5b1b0419cd95ac5dac3770a0db220e6a3
parent7c2df51f4c58d05f84a7a78280ee32c3ef3cb0d4 (diff)
downloadgdb-dc82f37bb79f03c929a9d4331ff48c8872a5741b.zip
gdb-dc82f37bb79f03c929a9d4331ff48c8872a5741b.tar.gz
gdb-dc82f37bb79f03c929a9d4331ff48c8872a5741b.tar.bz2
gdb/gdbserver/
* server.h: Remove declaration of 'xsnprintf'.
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index c57ccef..c764d97 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-23 Yao Qi <yao@codesourcery.com>
+
+ * server.h: Remove declaration of 'xsnprintf'.
+
2012-08-22 Keith Seitz <keiths@redhat.com>
* server.h: Include build-gnulib-gbserver/config.h.
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index fd6fd26..a6ba0db 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -368,9 +368,8 @@ void *xmalloc (size_t) ATTR_MALLOC;
void *xrealloc (void *, size_t);
void *xcalloc (size_t, size_t) ATTR_MALLOC;
char *xstrdup (const char *) ATTR_MALLOC;
-int xsnprintf (char *str, size_t size, const char *format, ...)
- ATTR_FORMAT (printf, 3, 4);;
void freeargv (char **argv);
+
void perror_with_name (const char *string);
void error (const char *string,...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);
void fatal (const char *string,...) ATTR_NORETURN ATTR_FORMAT (printf, 1, 2);