mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
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.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user