This is the mail archive of the gdb-patches@sourceware.org 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]

[RFA 1/5] Prec: x86 segment register support: interface


This patch add the interface i386_segment_base to get the segment base
from the OS.

Thanks,
Hui

2010-03-16  Hui Zhu  <teawater@gmail.com>

	* i386-tdep.c (i386_record_s): Add tdep.
	(i386_record_addseg): New function.
	(i386_record_lea_modrm_addr): Change addr from uint64_t
	to ULONGEST.
	Call i386_record_addseg.
	(i386_record_lea_modrm): Remove irp->override check.
	Change addr from uint64_t to ULONGEST.
	(i386_record_floats): Change tdep to irp->tdep.
	(i386_process_record): Call i386_record_addseg.
	* i386-tdep.h (gdbarch_tdep): Add i386_segment_base.

Attachment: prec-segment-interface.txt
Description: Text document


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