X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fprocfs.h;h=d92a5e8603c3ae8353ba46f40e86131b6827ba57;hb=cbba3ecd36f0f861e4e810fbd5415c9759080cdc;hp=6c4e137496c26db577cf0696a67efa7db5414569;hpb=f00482b6037e39ffc01e0e58e8d97c151857c8c6;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/procfs.h b/gdb/procfs.h index 6c4e137496..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,18 +17,8 @@ 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. */ @@ -41,3 +31,4 @@ struct ssd; extern struct ssd *procfs_find_LDT_entry (ptid_t); #endif +#endif /* PROCFS_H */