This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The following patch overhauls i386nbsd-nat.c, using new interfaces to access the gdb regcache, and adds support for XMM registers and ELF format NetBSD core files. [ for gdb/ChangeLog ] 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> * i386nbsd-nat.c (supply_regs): New function. (fetch_inferior_registers): Use supply_regs to provide integer registers. Use i387_supply_fsave to supply FP registers. Add support for XMM registers using PT_GETXMMREGS and i387_supply_fxsave. (store_inferior_registers): Use regcache_collect for integer registers. Use i387_fill_fsave for FP registers. Add support for XMM registers using i387_fill_fxsave and PT_SETXMMREGS. (fetch_core_registers): Use supply_regs for integer registers and i387_supply_fsave for FP registers. (fetch_elfcore_registers): New function. (i386nbsd_elfcore_fns): New. (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o. * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/i386/tm-nbsd.h: Update copyright years. (HAVE_SSE_REGS): Define. -- -- Jason R. Thorpe <thorpej@wasabisystems.com>
Attachment:
JRT-patch3
Description: patch3
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |