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] |
This patch add the code in i386-linux and amd64-linux(just 32 bit) to get the segment base and set it to target interface. Thanks, Hui 2010-03-16 Hui Zhu <teawater@gmail.com> * amd64-linux-nat.c (GDT_ENTRY_TLS_MIN, GDT_ENTRY_TLS_MAX): New macro. (amd64_get_segment_base): New function. (_initialize_amd64_linux_nat): Set amd64_get_segment_base to t->to_get_segment_base. * i386-linux-nat.c (GDT_ENTRY_TLS_ENTRIES, GDT_ENTRY_TLS_MIN, GDT_ENTRY_TLS_MAX): New macro. (i386_get_segment_base): New function. (_initialize_i386_linux_nat): Set i386_get_segment_base to t->to_get_segment_base.
Attachment:
prec-segment-nat.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |