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 i386-linux-nat.c config/i386 ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	kettenis@sourceware.org	2002-11-09 13:31:12

Modified files:
	gdb            : ChangeLog i386-linux-nat.c 
	gdb/config/i386: nm-linux.h 

Log message:
	* i386-linux-nat.c (ORIG_EAX): Define to -1 if not already
	defined.
	(regmap): Extend to cover all registers.
	(PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE,
	OLD_CANNOT_FETCH_REGISTERS, OLD_CANNOT_STORE_REGISTERS): Remove
	definitions.
	(fetch_register, sore_register): Simplify.
	(old_fetch_inferior_registers, old_store_inferior_registers):
	Remove functions.
	(cannot_fetch_register, cannot_store_register): Change
	implementation to use regmap array to decide which registers
	cannot be fetched/stored.  This removes $orig_eax from the
	registers that cannot be fetched/stored.
	(fetch_inferior_registers): Call fetch_register directly instead
	of calling old_fetch_inferior_registers.
	(store_inferior_registers): Call store_register directly instead
	of calling old_store_inferior_registers.
	(i386_linux_dr_get): Replace PT_READ_U with PTRACE_PEEKUSER.
	(i386_linux_dr_set): Replace PT_WRITE_U with PTRACE_POKEUSER.
	* config/i386/nm-linux.h (U_REGS_OFFSET): Remove definition.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.3432&r2=1.3433
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/i386-linux-nat.c.diff?cvsroot=src&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/config/i386/nm-linux.h.diff?cvsroot=src&r1=1.18&r2=1.19


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