X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fprocfs.h;h=d92a5e8603c3ae8353ba46f40e86131b6827ba57;hb=488d02fe7729dda5b9414a3942df68e0c316ce53;hp=8293322e40d29c201f8ce7e40015c0b2422811a6;hpb=0b30217134add051e159a192066a1e568ebd837f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/procfs.h b/gdb/procfs.h index 8293322e40..d92a5e8603 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-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -17,20 +17,18 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -struct target_ops; - -/* Create a prototype generic procfs target. The client can override - it with local methods. */ - -extern struct target_ops *procfs_target (void); - -/* Call this in the native _initialize routine that creates and - customizes the prototype target returned by procfs_target, if the - native debug interface supports procfs watchpoints. */ - -extern void procfs_use_watchpoints (struct target_ops *t); +#ifndef PROCFS_H +#define PROCFS_H /* Return a ptid for which we guarantee we will be able to find a '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 + +#endif /* PROCFS_H */