+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.
+
2002-01-13 Andrew Cagney <ac131313@redhat.com>
* signals.c (target_signal_to_name): Rewrite. Only use
{
struct cleanup *old_chain;
char *corefilename, corefilename_buffer[40];
- asection *note_sec;
+ asection *note_sec = NULL;
bfd *obfd;
void *note_data = NULL;
int note_size = 0;
extern void fill_gregset (gdb_gregset_t *gregs, int regno);
extern void fill_fpregset (gdb_fpregset_t *fpregs, int regno);
-#ifdef HAVE_PTRACE_GETFPXREGS
-/* Linux/i386: Copy register values between GDB's internal register cache
- and the i386 extended floating point registers. */
-
-#ifndef GDB_FPXREGSET_T
-#define GDB_FPXREGSET_T elf_fpxregset_t
-#endif
-
-typedef GDB_FPXREGSET_T gdb_fpxregset_t;
-
-extern void supply_fpxregset (gdb_fpxregset_t *fpxregs);
-extern void fill_fpxregset (gdb_fpxregset_t *fpxregs, int regno);
-#endif
#endif
{
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);
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;
}