Re: Improving GDB's mechanism to check if function is GC'ed

Pedro Alves
2015-06-10T10:17:29Z

On 06/10/2015 09:53 AM, Yao Qi wrote:

> If the problem only exists on Nucleus, I am afraid I don't agree with
> accepting this change, because GDB doesn't support Nucleus. Sorry.

Hmm, does it really need to, though? We expose mechanisms like
add-symbol-file, xml library list with qXfer:libraries:read (the default
solib provider), xml target descriptions, "info os", etc., exactly so
that GDB doesn't have to learn about the myriad of random RTOS's out there.

That said, I don't really understand the patch. How can you have
real code at address 0, but then _not_ have address 0 covered
by a section?

Thanks,
Pedro Alves