Index: gdb/procfs.h |
diff --git a/gdb/procfs.h b/gdb/procfs.h |
index 8293322e40d29c201f8ce7e40015c0b2422811a6..6f173532a12f3170a95f7e0b588ec3db55f67578 100644 |
--- a/gdb/procfs.h |
+++ b/gdb/procfs.h |
@@ -1,6 +1,6 @@ |
/* Native debugging support for procfs targets. |
- Copyright (C) 2009-2012 Free Software Foundation, Inc. |
+ Copyright (C) 2009-2013 Free Software Foundation, Inc. |
This file is part of GDB. |
@@ -34,3 +34,10 @@ extern void procfs_use_watchpoints (struct target_ops *t); |
'live' procinfo. */ |
extern ptid_t procfs_first_available (void); |
+ |
+#if (defined (__i386__) || defined (__x86_64__)) && defined (sun) |
+struct ssd; |
+ |
+extern struct ssd *procfs_find_LDT_entry (ptid_t); |
+#endif |
+ |