This is the mail archive of the gdb-cvs@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]

src/gdb ChangeLog x86-64-linux-nat.c x86-64-li ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	cagney_x86i386-20030821-branch
Changes by:	cagney@sourceware.org	2003-08-21 20:37:30

Modified files:
	gdb            : ChangeLog x86-64-linux-nat.c 
	                 x86-64-linux-tdep.c x86-64-linux-tdep.h 
	                 x86-64-tdep.h 

Log message:
	2003-08-21  Andrew Cagney  <cagney@redhat.com>
	
	* x86-64-tdep.h (enum x86_64_regnums): Replace #define of
	X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
	X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
	X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
	X86_64_XMM1_REGNUM.
	* x86-64-linux-tdep.h (x86_64_linux_greg_offset): Declare.
	(x86_64_linux_supply_gregset): Add "sizeof_gregs" param.
	(x86_64_linux_fill_gregset): Add "sizeof_gregs" param.
	* x86-64-linux-tdep.c: Include "gdb_assert.h" and
	"i386-linux-tdep.h".
	(enum user_regs): Replace user reg #defines, add USER_ORIG_RAX,
	USER_FS_BASE and USER_GS_BASE.
	(struct regnum_map, struct regnum_to_user): Define.
	(x86_64_linux_greg_offset): New function.
	(user_to_gdb_regmap): Delete.
	(x86_64_linux_supply_gregset, x86_64_linux_fill_gregset): Use
	x86_64_linux_greg_offset.
	(x86_64_core_sniffer): New function
	(x86_64_core_fns): Set the sniffer to x86_64_core_sniffer.
	(fetch_core_registers): Pass "core_reg_size" to the supply
	functions.
	* x86-64-linux-nat.c (GETREGS_SUPPLIES): Delete macro.
	(fetch_inferior_registers): Use x86_64_linux_greg_offset.
	(store_inferior_registers): Ditto.
	* Makefile.in (x86-64-linux-tdep.o): Update dependencies.

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.2.1&r2=1.4640.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/x86-64-linux-nat.c.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.26&r2=1.26.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/x86-64-linux-tdep.c.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.20&r2=1.20.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/x86-64-linux-tdep.h.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.1&r2=1.1.6.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/x86-64-tdep.h.diff?cvsroot=src&only_with_tag=cagney_x86i386-20030821-branch&r1=1.17&r2=1.17.2.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]