[PATCH 2/3] gdb: change some alias functions parameters to const-reference

Simon Marchi simon.marchi@polymtl.ca
Fri Dec 3 21:49:32 GMT 2021



On 2021-12-03 11:13, Pedro Alves wrote:
> On 2021-12-01 16:41, Simon Marchi via Gdb-patches wrote:
>> Now that we use intrusive list to link aliases, it becomes easier to
>> pass cmd_list_element arguments by const-reference rather than by
>> pointer to some functions, change a few.
>>
>> Change-Id: Id0df648ed26e9447da0671fc2c858981cda31df8
> 
> LGTM.
> 

Thanks, I pushed the first two patches, since they don't introduce
a change in behavior, while I wait for feedback from Philippe on the
3rd one.

Simon


More information about the Gdb-patches mailing list