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: [PATCH] [ARM] Make thumb2_breakpoint static again


Antoine Tremblay <antoine.tremblay@ericsson.com> writes:

>> gdb:
>>
>> 2016-01-13  Yao Qi  <yao.qi@linaro.org>
>>
>> 	* arch/arm-get-next-pcs.c (arm_get_next_pcs_ctor): Change
>> 	argument arm_thumb2_breakpoint to has_thumb2_breakpoint.
>> 	(thumb_get_next_pcs_raw): Check has_thumb2_breakpoint
>> 	instead.
>> 	* arch/arm-get-next-pcs.h (struct arm_get_next_pcs)
>> 	<arm_thumb2_breakpoint>: Remove.
>> 	<has_thumb2_breakpoint>: New field.
>> 	(arm_get_next_pcs_ctor): Update declaration.
>> 	* arm-linux-tdep.c (arm_linux_software_single_step): Pass
>> 	1 to arm_get_next_pcs_ctor.
>> 	* arm-tdep.c (arm_software_single_step): Pass 0 to
>> 	arm_get_next_pcs_ctor.
>>
>> gdb/gdbserver:
>>
>> 2016-01-13  Yao Qi  <yao.qi@linaro.org>
>>
>> 	* linux-aarch32-low.c (thumb2_breakpoint): Make it static.
>> 	* linux-aarch32-low.h (thumb2_breakpoint): Remove declaration.
>> 	* linux-arm-low.c (arm_gdbserver_get_next_pcs): Pass 1 to
>> 	arm_get_next_pcs_ctor.

>
> LGTM.

Patch is pushed in.

-- 
Yao (éå)


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