This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gdb-7.8 branching status (2014-06-04)
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 04 Jun 2014 18:58:18 +0100
- Subject: Re: gdb-7.8 branching status (2014-06-04)
- Authentication-results: sourceware.org; auth=none
- References: <20140604171843 dot GX30686 at adacore dot com> <538F58DE dot 7030204 at redhat dot com> <20140604174607 dot GV4289 at adacore dot com> <538F5D68 dot 9060100 at redhat dot com>
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