X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=gdb%2Fprocfs.h;h=96a9a64829e9eee72f5c38948cf005606a535089;hb=3666a04883754298b03884222206bfe756fbc520;hp=3e99b3e50e47366ea6d2778fc3eed6cff1356f4b;hpb=ecd75fc8eed3bde86036141228074a20e55dcfc9;p=thirdparty%2Fbinutils-gdb.git diff --git a/gdb/procfs.h b/gdb/procfs.h index 3e99b3e50e4..96a9a64829e 100644 --- a/gdb/procfs.h +++ b/gdb/procfs.h @@ -1,6 +1,6 @@ /* Native debugging support for procfs targets. - Copyright (C) 2009-2014 Free Software Foundation, Inc. + Copyright (C) 2009-2021 Free Software Foundation, Inc. This file is part of GDB. @@ -17,27 +17,12 @@ 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 */