This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog i386-linux-nat.c i386-linux- ...
- From: cagney at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 21 Aug 2003 20:16:49 -0000
- Subject: src/gdb ChangeLog i386-linux-nat.c i386-linux- ...
CVSROOT: /cvs/src
Module name: src
Branch: cagney_x86i386-20030821-branch
Changes by: cagney@sourceware.org 2003-08-21 20:16:49
Modified files:
gdb : ChangeLog i386-linux-nat.c i386-linux-tdep.c
i386-linux-tdep.h i386-tdep.h
Log message:
2003-08-21 Andrew Cagney <cagney@redhat.com>
* i386-tdep.h (i386_regnums): Replace I386_EAX_REGNUM,
I386_EDX_REGNUM, I386_ESP_REGNUM, I386_EBP_REGNUM,
I386_EIP_REGNUM, I386_EFLAGS_REGNUM, I386_ST0_REGNUM.
* i386-linux-tdep.h (i386_linux_greg_offset): Declare.
(i386_linux_supply_fpxregset): Declare.
(i386_linux_supply_fpregset): Declare.
(i386_linux_supply_gregset): Declare.
* i386-linux-tdep.c: Include "gdb_assert.h", and "i387-tdep.h".
Do not include "gregset.h".
(enum user_regs): Define.
(struct regnum_map, struct regnum_to_user): Define.
(i386_linux_greg_offset): New function.
(dummy_sse_values): New function, copied from "i386-linux-nat.c"
make hist independant.
(i386_linux_supply_fpregset): New function.
(i386_linux_supply_gregset): New function.
(i386_linux_supply_fpxregset): New function.
(fetch_core_registers): New function.
(i386_linux_core_sniffer): New function.
(i386_linux_core_fns): New table.
(_initialize_i386_linux_tdep): Add i386_linux_core_fns to core
functions.
* i386-linux-nat.c: Do not include "gregset.h".
(dummy_sse_values) Delete function.
(regmap): Delete array.
(register_u_addr, fill_gregset, cannot_fetch_register): Use
i386_linux_greg_offset.
(cannot_store_register): Call cannot_fetch_register.
(supply_gregset): Call i386_linux_supply_gregset.
(supply_fpregset): Call i386_linux_supply_fpregset.
(supply_fpxregset): Call i386_linux_supply_fpxregset.
(fetch_core_registers): Delete function.
(linux_elf_core_fns): Delete table.
(_initialize_i386_linux_nat): Delete function.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.4640&r2=1.4640.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/i386-linux-nat.c.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.48&r2=1.48.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/i386-linux-tdep.c.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.30&r2=1.30.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/i386-linux-tdep.h.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.2&r2=1.2.40.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/i386-tdep.h.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.25&r2=1.25.2.1