[PATCH] gdb, gdbserver, gdbsupport: turn regcache_register_size into methods

Simon Marchi simon.marchi@polymtl.ca
Wed Jan 8 17:06:19 GMT 2025



On 2025-01-07 20:32, Thiago Jung Bauermann wrote:
> Hello Simon,
> 
> simon.marchi@polymtl.ca writes:
> 
>> From: Simon Marchi <simon.marchi@polymtl.ca>
>>
>> Add an abstract virtual method "register_size" to reg_buffer_common, and
>> implement in both sides (gdb and gdbserver).
>>
>> Change-Id: I1f55dd6f409a6b8798d57366505fdad2bda61ea8
> 
> This is very close to patch 1 in my latest SVE variable size registers
> series¹. :)
> 
> Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
> 
> --
> Thiago
> 
> ¹ https://inbox.sourceware.org/gdb-patches/20241102025635.586759-2-thiago.bauermann@linaro.org/

Oh, well I don't want to rob the credit for that patch from you, so I'll
rebase/update and push your patch.

For the record, I had this patch lying around for a while [1] (I'm
trying to flush those pending patches little by little), but you posted
yours first.

Simon

[1] https://review.lttng.org/c/binutils-gdb/+/13106


More information about the Gdb-patches mailing list