This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix crash when loading a core with unexpected register section size
Pedro Alves writes:
> On 01/26/2017 01:54 PM, Antoine Tremblay wrote:
>>
>> Pedro Alves writes:
>>
>>> On 01/26/2017 01:17 PM, Antoine Tremblay wrote:
>>>> When loading a core without an executable like so:
>>>> gdb --core core for example often the gdbarch won't contain the
>>>> iterate_over_regset_sections method.
>>>
>>> Can you give an example? That'd help a lot understand the issue
>>> better.
>>>
>>
>> I can't share the core that I have that reproduced this :(
>
> I meant an example gdbarch. It sounded like this would
> happen with any core with that architecture?
Ho yes, see v2, I added "For example arch-arm." Like you suggested.