aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-09-05 20:38:45 +0000
committerPedro Alves <palves@redhat.com>2013-09-05 20:38:45 +0000
commiteebdf26b45c9fa6f43972371aba6b7bc75187938 (patch)
treed3bcfc73db5faba01f2ee267839f4a48d1937322
parent257e6d53e260db58681013eb25ea17ee061ba052 (diff)
downloadgdb-eebdf26b45c9fa6f43972371aba6b7bc75187938.zip
gdb-eebdf26b45c9fa6f43972371aba6b7bc75187938.tar.gz
gdb-eebdf26b45c9fa6f43972371aba6b7bc75187938.tar.bz2
[gdbserver] Delete _ macro (gettext).
server.h nowadays includes gdb_locale.h, which already brings this in. gdb/gdbserver/ 2013-09-05 Pedro Alves <palves@redhat.com> * server.h (_): Delete.
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index f0651aa..2a57eb4 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * server.h (_): Delete.
+
2013-09-02 Pedro Alves <palves@redhat.com>
* tracepoint.c (TRACEFRAME_EOB_MARKER_SIZE): New macro.
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 1a1d9b2..371876b 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -73,12 +73,6 @@ extern int vasprintf(char **strp, const char *fmt, va_list ap);
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
#endif
-/* Define underscore macro, if not available, to be able to use it inside
- code shared with gdb in common directory. */
-#ifndef _
-#define _(String) (String)
-#endif
-
#ifdef IN_PROCESS_AGENT
# define PROG "ipa"
#else