[PATCH 2/8] Add new gdbarch method, unconditional_branch_address

Yao Qi qiyaoltc@gmail.com
Tue Sep 22 16:09:00 GMT 2015


Kevin Buettner <kevinb@redhat.com> writes:

> Add new gdbarch method, unconditional_branch_address.
>
> gdb/ChangeLog:
>
>     	* gdbarch.sh (unconditional_branch_address): New gdbarch method.
>     	* gdbarch.h, gdbarch.c: Regenerate.
>     	* arch-utils.h (default_unconditional_branch_address): Declare.
>     	* arch-utils.c (default_unconditional_branch_address): New function.

Hi Kevin,
Did you consider using existing gdbarch method
adjust_breakpoint_address when you wrote the patch?  Can we use
adjust_breakpoint_address here rather than adding a new gdbarch method?

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list