[PATCH] Don't drop static function bp locations w/o debug info

Pedro Alves pedro@palves.net
Sun Sep 13 13:25:19 GMT 2020


On 6/12/20 8:53 PM, Simon Marchi wrote:
> On 2020-06-12 3:21 p.m., Pedro Alves wrote:
>> @@ -4371,21 +4336,54 @@ search_minsyms_for_name (struct collect_info *info,
>>  
>>    if (!minsyms.empty ())
> 
> You could remove this check and de-indent the rest.  If minsyms is empty, the loop
> will just be skipped over.
> 
> Otherwise, LGTM.

Thanks, I did that, and merged it now.

Pedro Alves


More information about the Gdb-patches mailing list