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]

Re: [try 2nd, patch] Move common macros to i386-dbg-reg.h


On 03/29/2011 01:02 PM, Yao Qi wrote:
> On 03/11/2011 01:05 PM, Yao Qi wrote:
>> Compared with last version, two changes are in this new patch,
>>  1) rename i386-common.h to i386-dbg-reg.h,
>>  2) add dependency tracking in gdbserver.
>>
>> OK for mainline after 7.3 branch is created?
>>
>> gdb/
>>
>> 	* i386-nat.h: Include i386-dbg-reg.h.
>> 	Move macros to i386-dbg-reg.h.
>> 	* i386-nat.c: Move macros and structs to i386-dbg-reg.h.
>> 	New variable struct i386_debug_reg_state state to replace
>> 	other variables dr_mirror, dr_ref_count, dr_control_mirror,
>> 	and dr_status_mirror.
>> 	(i386_insert_aligned_watchpoint): Add one formal parameter
>> 	struct i386_debug_reg_state *STATE.
>> 	Update code using these variables.	
>> 	(i386_remove_aligned_watchpoint, i386_show_dr): Likewise.
>> 	(i386_cleanup_dregs): Likewise.
>> 	(i386_handle_nonaligned_watchpoint): Likewise.
>> 	* common/i386-dbg-reg.h: New.  Common macros and structs.
>>
>> gdb/gdbserver/
>>
>> 	* i386-low.h: Include i386-dbg-reg.h.
>> 	Move macros to i386-dbg-reg.h.
>> 	* i386-low.c (i386_set_debug_register_length): New.
>> 	(i386_low_init_dregs): Call i386_set_debug_register_length.
>> 	* Makefile.in (i386_low_h) Depends on i386-dbg-reg.h.
> 
> Ping.
> 

Ping?

-- 
Yao (éå)


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