X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fprocfs.h;h=d92a5e8603c3ae8353ba46f40e86131b6827ba57;hb=1f20c35ea4a0095e6a9d9b7819f6c437a0c4cfc1;hp=b990705a506e30dcaa00b504757bbdd5d751a842;hpb=7b6bb8daaceb9ecf3f42dea57ae82733d6a3b2f6;p=external%2Fbinutils.git diff --git a/gdb/procfs.h b/gdb/procfs.h index b990705..d92a5e8 100644 --- a/gdb/procfs.h +++ b/gdb/procfs.h @@ -1,6 +1,6 @@ /* Native debugging support for procfs targets. - Copyright (C) 2009, 2010, 2011 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 */