summaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-i386-low.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-03-15 16:13:29 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-03-15 16:13:29 +0000
commitc3e6fce9de749faf4e002cd1b0a6a298c419fb76 (patch)
tree64647d569488036dfdc9cb868bdaade46681d536 /gdb/gdbserver/linux-i386-low.c
parent08b4a99a292c9471c25db2fa9d45ed06be3b0790 (diff)
downloadgdb-c3e6fce9de749faf4e002cd1b0a6a298c419fb76.tar.gz
* configure.ac: Remove checks for prfpregset_t.
* gdb_proc_service.h: New file. * linux-i386-low.c, linux-x86-64-low.c, thread-db.c: Use the new "gdb_proc_service.h". * proc-service.c: Likewise. (ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t. (ps_lgetfpregs, ps_lsetfpregs): Use a void* argument. * Makefile.in (gdb_proc_service_h): Updated. * configure, config.in: Regenerated.
Diffstat (limited to 'gdb/gdbserver/linux-i386-low.c')
-rw-r--r--gdb/gdbserver/linux-i386-low.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/gdb/gdbserver/linux-i386-low.c b/gdb/gdbserver/linux-i386-low.c
index 96359fb92e1..c0daf0b76ca 100644
--- a/gdb/gdbserver/linux-i386-low.c
+++ b/gdb/gdbserver/linux-i386-low.c
@@ -1,5 +1,5 @@
/* GNU/Linux/i386 specific low level interface, for the remote server for GDB.
- Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2004, 2005
+ Copyright (C) 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006
Free Software Foundation, Inc.
This file is part of GDB.
@@ -23,19 +23,7 @@
#include "linux-low.h"
#include "i387-fp.h"
-/* Correct for all GNU/Linux targets (for quite some time). */
-#define GDB_GREGSET_T elf_gregset_t
-#define GDB_FPREGSET_T elf_fpregset_t
-
-#ifndef HAVE_ELF_FPREGSET_T
-/* Make sure we have said types. Not all platforms bring in <linux/elf.h>
- via <sys/procfs.h>. */
-#ifdef HAVE_LINUX_ELF_H
-#include <linux/elf.h>
-#endif
-#endif
-
-#include "../gdb_proc_service.h"
+#include "gdb_proc_service.h"
#include <sys/ptrace.h>