Index: gdb/common/gdb_signals.h |
diff --git a/gdb/common/gdb_signals.h b/gdb/common/gdb_signals.h |
index 392915521b5abaf9734f11c267414f7b7c580bc0..e02d1ee7f94d299d664b537a174cd163fc276a0d 100644 |
--- a/gdb/common/gdb_signals.h |
+++ b/gdb/common/gdb_signals.h |
@@ -1,5 +1,5 @@ |
/* Target signal translation functions for GDB. |
- Copyright (C) 1990-2003, 2006-2012 Free Software Foundation, Inc. |
+ Copyright (C) 1990-2013 Free Software Foundation, Inc. |
Contributed by Cygnus Support. |
This file is part of GDB. |
@@ -42,6 +42,10 @@ extern int gdb_signal_to_host_p (enum gdb_signal signo); |
extern enum gdb_signal gdb_signal_from_host (int); |
extern int gdb_signal_to_host (enum gdb_signal); |
+/* Return the enum symbol name of SIG as a string, to use in debug |
+ output. */ |
+extern const char *gdb_signal_to_symbol_string (enum gdb_signal sig); |
+ |
/* Return the string for a signal. */ |
extern const char *gdb_signal_to_string (enum gdb_signal); |