aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/powerpc/sys/user.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-12-10 10:00:31 +0000
committerUlrich Drepper <drepper@redhat.com>1998-12-10 10:00:31 +0000
commit648c133790556357a430d83c2c89a2bd01df9e27 (patch)
treebc39460863b155333aeb1a8bafc884e48e3ed1d5 /sysdeps/unix/sysv/linux/powerpc/sys/user.h
parentb77e6cd62103be90cd9cdd8e24372cb5324916ad (diff)
downloadglibc-648c133790556357a430d83c2c89a2bd01df9e27.tar
glibc-648c133790556357a430d83c2c89a2bd01df9e27.tar.gz
glibc-648c133790556357a430d83c2c89a2bd01df9e27.tar.bz2
glibc-648c133790556357a430d83c2c89a2bd01df9e27.zip
Update.
1998-12-09 Geoff Keating <geoffk@ozemail.com.au> * sysdeps/unix/sysv/linux/sys/procfs.h: Use sys/user.h not asm/user.h. * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: New file, like linux/sys/procfs.h but uses uid_t and gid_t. * sysdeps/unix/sysv/linux/powerpc/sys/user.h: New file, don't include <linux/ptrace.h>. 1998-12-08 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * posix/runptests.c (main): Check that regcomp did not succeed unexpectedly. * posix/runtests.c (run_a_test): Likewise. Return appropriate exit code. * posix/TESTS: Regexp "a[b-a]" should not compile. * posix/PTESTS: Comment out bogus tests GA113(2), GA145(2) and GA147(2). 1998-12-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * locale/programs/ld-ctype.c (allocate_arrays): Don't crash if there is no codeset name. * locale/programs/ld-collate.c (collate_output): Don't crash if a character has no weight.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/sys/user.h')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/sys/user.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/user.h b/sysdeps/unix/sysv/linux/powerpc/sys/user.h
new file mode 100644
index 0000000000..b3634ede90
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/sys/user.h
@@ -0,0 +1,40 @@
+/* Copyright (C) 1998 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. */
+
+#ifndef _SYS_USER_H
+
+#define _SYS_USER_H 1
+#include <features.h>
+
+#include <asm/ptrace.h>
+
+struct user {
+ struct pt_regs regs; /* entire machine state */
+ size_t u_tsize; /* text size (pages) */
+ size_t u_dsize; /* data size (pages) */
+ size_t u_ssize; /* stack size (pages) */
+ unsigned long start_code; /* text starting address */
+ unsigned long start_data; /* data starting address */
+ unsigned long start_stack; /* stack starting address */
+ long int signal; /* signal causing core dump */
+ struct regs * u_ar0; /* help gdb find registers */
+ unsigned long magic; /* identifies a core file */
+ char u_comm[32]; /* user command name */
+};
+
+#endif /* sys/user.h */