[PATCH v2 3/5] Refactor the NetBSD amd64 gdbserver support

Simon Marchi simark@simark.ca
Thu Oct 1 22:14:32 GMT 2020


On 2020-10-01 3:22 p.m., Kamil Rytarowski wrote:
> Replace the pre-C++ construct of netbsd_target_ops, netbsd_regset_info
> and netbsd_tdesc with C++ inheritance approach found in the Linux
> gdbserver code. Add netbsd_amd64_target, that inherits from the
> netbsd_process_target class and add proper singleton object for
> the_netbsd_target, initialized from netbsd_amd64_target.
> 
> Call low_arch_setup () on post process creation, which sets machine
> specific properties of the traced process.
> 
> Remove global singleton the_netbsd_target object from the generic
> gdbserver code.
> 
> This refactoring introduces no functional change from the end-user
> point of view.

Thanks, this was ok with the small nits fixed, so please merge.

Simon



More information about the Gdb-patches mailing list