summaryrefslogtreecommitdiff
path: root/linuxthreads_db/proc_service.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-02 16:04:00 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-02 16:04:00 +0000
commit03fc7ab6ed4bc2f71964a3d31ad578821256b6bc (patch)
treec37b35125e60935a79ee0831af8902534f087a45 /linuxthreads_db/proc_service.h
parentecda4bdaa1835e9a7865667690e3e264c25085e6 (diff)
Update.
* sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Add more pr* types used by the debugger. * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/sys/procfs.h: Likewise. 1999-11-01 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'linuxthreads_db/proc_service.h')
-rw-r--r--linuxthreads_db/proc_service.h29
1 files changed, 23 insertions, 6 deletions
diff --git a/linuxthreads_db/proc_service.h b/linuxthreads_db/proc_service.h
index 6e7fea8a89..108a86696e 100644
--- a/linuxthreads_db/proc_service.h
+++ b/linuxthreads_db/proc_service.h
@@ -1,4 +1,26 @@
-typedef enum {
+/* Copyright (C) 1999 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+/* The definitions in this file must correspond to those in the debugger. */
+#include <sys/procfs.h>
+
+typedef enum
+{
PS_OK, /* generic "call succeeded" */
PS_ERR, /* generic. */
PS_BADPID, /* bad process handle */
@@ -12,10 +34,6 @@ typedef enum {
*/
} ps_err_e;
-typedef unsigned long paddr_t;
-
-
-
struct ps_prochandle; /* user defined. */
@@ -41,4 +59,3 @@ extern ps_err_e ps_lgetfpregs(struct ps_prochandle *,
lwpid_t, prfpregset_t *);
extern ps_err_e ps_lsetfpregs(struct ps_prochandle *,
lwpid_t, const prfpregset_t *);
-