[gdbserver] Delete _ macro (gettext).
authorPedro Alves <palves@redhat.com>
Thu, 5 Sep 2013 20:38:45 +0000 (20:38 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 5 Sep 2013 20:38:45 +0000 (20:38 +0000)
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.

gdb/gdbserver/ChangeLog
gdb/gdbserver/server.h

index f0651aa..2a57eb4 100644 (file)
@@ -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.
index 1a1d9b2..371876b 100644 (file)
@@ -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