aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-18 13:03:31 +0000
committerPierre Muller <muller@sourceware.org>2011-03-18 13:03:31 +0000
commit9e0627f141ce528d1cbc20c01e6adbc3353f7a0a (patch)
tree31a898667c7383d307002029fe57a069403fc136 /gdb/gdbserver
parent869fe6ea8574b6af5e365170b2416cee0dfbfbfe (diff)
downloadgdb-9e0627f141ce528d1cbc20c01e6adbc3353f7a0a.zip
gdb-9e0627f141ce528d1cbc20c01e6adbc3353f7a0a.tar.gz
gdb-9e0627f141ce528d1cbc20c01e6adbc3353f7a0a.tar.bz2
* common/signals.c (target_signal_from_host): Add _ markup to error
function call message. (target_signal_to_host): Add _ markup and remove trailing new line from warning call message. (target_signal_from_command): Add _ markup to error function call message. * gdbserver/server.h (Macro _): Define it if not available.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/server.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 4f1ea87..33d080f 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * gdbserver/server.h (Macro _): Define it if not available.
+
2011-03-14 Michael Snyder <msnyder@vmware.com>
* hostio.c (handle_close): Remove unnecessary null test.
diff --git a/gdb/gdbserver/server.h b/gdb/gdbserver/server.h
index 53f4e0d..77f5dd6 100644
--- a/gdb/gdbserver/server.h
+++ b/gdb/gdbserver/server.h
@@ -96,6 +96,12 @@ int vsnprintf(char *str, size_t size, const char *format, va_list ap);
#endif
#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
+
/* A type used for binary buffers. */
typedef unsigned char gdb_byte;