Re: gdb-7.8 branching status (2014-06-04)

Pedro Alves
2014-06-04T17:58:23Z

On 06/04/2014 06:54 PM, Pedro Alves wrote:
> On 06/04/2014 06:46 PM, Joel Brobecker wrote:

>>
>> I'm trying to see if I should define it for LynxOS or not, but
>> then we have the same issue with SPU, I think.
>
> The function is a boolean, so assuming false if the
> hook is NULL is fine:
>
> return (z_type >= '0' && z_type <= '4'
> + && the_target->supports_z_point_type != NULL
> && the_target->supports_z_point_type (z_type));
>

To clarify, neither LynxOS nor SPU install insert_point nor
remove_point hooks either, so the only thing the method
could do if we installed it would be return false. But since
insert_point and remove_point can be NULL, it feels natural
to allow supports_z_point_type to be NULL too.

--
Pedro Alves