mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
2002-04-24 Daniel Jacobowitz <drow@mvista.com>
* config/i386/tm-linux.h: Define FILL_FPXREGSET. * gregset.h: If FILL_FPXREGSET is defined, provide gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET is defined, call fill_fpxregset.
This commit is contained in:
@ -167,6 +167,9 @@ linux_do_thread_registers (bfd *obfd, ptid_t ptid,
|
||||
{
|
||||
gdb_gregset_t gregs;
|
||||
gdb_fpregset_t fpregs;
|
||||
#ifdef FILL_FPXREGSET
|
||||
gdb_fpxregset_t fpxregs;
|
||||
#endif
|
||||
unsigned long merged_pid = ptid_get_tid (ptid) << 16 | ptid_get_pid (ptid);
|
||||
|
||||
fill_gregset (&gregs, -1);
|
||||
@ -183,6 +186,14 @@ linux_do_thread_registers (bfd *obfd, ptid_t ptid,
|
||||
note_size,
|
||||
&fpregs,
|
||||
sizeof (fpregs));
|
||||
#ifdef FILL_FPXREGSET
|
||||
fill_fpxregset (&fpxregs, -1);
|
||||
note_data = (char *) elfcore_write_prxfpreg (obfd,
|
||||
note_data,
|
||||
note_size,
|
||||
&fpxregs,
|
||||
sizeof (fpxregs));
|
||||
#endif
|
||||
return note_data;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user