Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: gdb/nat/linux-nat.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/mt-tdep.c ('k') | gdb/nat/linux-waitpid.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « gdb/mt-tdep.c ('k') | gdb/nat/linux-waitpid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698