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:54:48 +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>
On 06/04/2014 06:46 PM, Joel Brobecker wrote:
> It looks like a call to a hook which is NULL (supports_z_point_type),
> which probably shoots down my hope of the same issue affecting Windows
> as well (there, the hook appears to be non-NULL).
Ah, I guess you're seeing the crash in mem-break.c:
static int
z_type_supported (char z_type)
{
return (z_type >= '0' && z_type <= '4'
&& the_target->supports_z_point_type (z_type));
}
>
> 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));
--
Pedro Alves