Index: gdb/nat/linux-nat.h |
diff --git a/gdb/config/djgpp/langinfo.h b/gdb/nat/linux-nat.h |
similarity index 63% |
copy from gdb/config/djgpp/langinfo.h |
copy to gdb/nat/linux-nat.h |
index 9e1375f8600998d20851414b265c0b863a07ee4f..4d84aa555a503060acfc2607b0e4a46b7f8fe8f7 100644 |
--- a/gdb/config/djgpp/langinfo.h |
+++ b/gdb/nat/linux-nat.h |
@@ -1,6 +1,6 @@ |
-/* langinfo.h file for DJGPP. |
- Copyright (C) 2009-2012 Free Software Foundation, Inc. |
- Written by Eli Zaretskii. |
+/* Code for native debugging support for GNU/Linux (LWP layer). |
+ |
+ Copyright (C) 2000-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -17,19 +17,12 @@ |
You should have received a copy of the GNU General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
-#ifndef _LANGINFO_H |
-#define _LANGINFO_H |
- |
-#include <nl_types.h> |
- |
-enum { |
- CODESET, |
- /* Number of enumerated values. */ |
- _NL_NUM |
-}; |
- |
-#define CODESET CODESET |
+#ifndef LINUX_NAT_H |
+#define LINUX_NAT_H |
-extern char *nl_langinfo (nl_item); |
+/* Unlike other extended result codes, WSTOPSIG (status) on |
+ PTRACE_O_TRACESYSGOOD syscall events doesn't return SIGTRAP, but |
+ instead SIGTRAP with bit 7 set. */ |
+#define SYSCALL_SIGTRAP (SIGTRAP | 0x80) |
-#endif /* _LANGINFO_H */ |
+#endif /* LINUX_NAT_H */ |