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

Luis Machado luis.machado@linaro.org
Thu Sep 24 15:44:02 GMT 2020


On 9/24/20 12:35 PM, Pedro Alves wrote:
> On 9/24/20 4:32 PM, Luis Machado wrote:
>> On 9/24/20 12:16 PM, Pedro Alves wrote:
>>
>> It is the same case for AArch64. The reason for not skipping a prologue is because there doesn't seem to be one. The generated code for aarch64 is the following:
>>
>> (gdb) disass foo
>>     0x00000000000008bc <+0>:     nop
>>     0x00000000000008c0 <+4>:     ret
>> End of assembler dump.
>>
>> I guess the assumptions of the test are valid for x86, but they're not valid for aarch64.
>>
> 
> OK.  So the
> 
>     -    "<foo\\+$decimal>"
>     +    "<foo(\\+$decimal)?>"
> 
> fix should be all that's necessary.  Do you want to give it a try?
> 

Sure. I'll give that a try and will push.


More information about the Gdb-patches mailing list