aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-proc.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-01-14 20:00:48 +0000
committerMichael Snyder <msnyder@vmware.com>2002-01-14 20:00:48 +0000
commit356ae49dda05c8f28f0f7fa407a5081e3bc053dd (patch)
treed7db0a83f17298d2def07d2d9e35aa8dde4ffea5 /gdb/linux-proc.c
parent3a7e524e6b0b66d0e7ecfdffa5adaf01f5c8d8d8 (diff)
downloadfsf-binutils-gdb-356ae49dda05c8f28f0f7fa407a5081e3bc053dd.zip
fsf-binutils-gdb-356ae49dda05c8f28f0f7fa407a5081e3bc053dd.tar.gz
fsf-binutils-gdb-356ae49dda05c8f28f0f7fa407a5081e3bc053dd.tar.bz2
2002-01-14 Michael Snyder <msnyder@redhat.com>
* linux-proc.c (linux_do_thread_registers): Ignore fpxregs until we can resolve portability issues. * gregset.h: Remove references to fpxregs. * gcore.c (gcore_command): Initialize note_sec to NULL.
Diffstat (limited to 'gdb/linux-proc.c')
-rw-r--r--gdb/linux-proc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/linux-proc.c b/gdb/linux-proc.c
index 3ccab9c..666240f 100644
--- a/gdb/linux-proc.c
+++ b/gdb/linux-proc.c
@@ -148,9 +148,6 @@ linux_do_thread_registers (bfd *obfd, ptid_t ptid,
{
gdb_gregset_t gregs;
gdb_fpregset_t fpregs;
-#ifdef HAVE_PTRACE_GETFPXREGS
- gdb_fpxregset_t fpxregs;
-#endif
unsigned long merged_pid = ptid_get_tid (ptid) << 16 | ptid_get_pid (ptid);
fill_gregset (&gregs, -1);
@@ -167,14 +164,6 @@ linux_do_thread_registers (bfd *obfd, ptid_t ptid,
note_size,
&fpregs,
sizeof (fpregs));
-#ifdef HAVE_PTRACE_GETFPXREGS
- fill_fpxregset (&fpxregs, -1);
- note_data = (char *) elfcore_write_prxfpreg (obfd,
- note_data,
- note_size,
- &fpxregs,
- sizeof (fpxregs));
-#endif
return note_data;
}