diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-09-27 12:52:10 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-09-27 12:52:10 +0000 |
commit | f00482b6037e39ffc01e0e58e8d97c151857c8c6 (patch) | |
tree | b7cf113a5da59bb00ff057e712c81c67258bb4ef /gdb/procfs.h | |
parent | 337c776f026643dd234f96204d6ed2387d45b6ba (diff) | |
download | gdb-f00482b6037e39ffc01e0e58e8d97c151857c8c6.zip gdb-f00482b6037e39ffc01e0e58e8d97c151857c8c6.tar.gz gdb-f00482b6037e39ffc01e0e58e8d97c151857c8c6.tar.bz2 |
Add procfs_find_LDT_entry declaration (procfs.h).
Add a declaration for procfs_find_LDT_entry in order to prevent
a compiler warning about this function missing one. This also
helps making sure that declaration and definition remain consistent.
gdb/ChangeLog:
* procfs.h (procfs_find_LDT_entry): Add declaration.
* sol-thread.c (ps_lgetLDT): Delete local declaration of
function procfs_find_LDT_entry.
Diffstat (limited to 'gdb/procfs.h')
-rw-r--r-- | gdb/procfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/procfs.h b/gdb/procfs.h index 8293322..6c4e137 100644 --- a/gdb/procfs.h +++ b/gdb/procfs.h @@ -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 + |