This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Regression: Invalid data type for function to be called. [Re: FYI: fix PR 9514]
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 05 Jul 2012 11:47:36 -0600
- Subject: Re: Regression: Invalid data type for function to be called. [Re: FYI: fix PR 9514]
- References: <87fw9rm69v.fsf@fleche.redhat.com> <20120703180612.GA18809@host2.jankratochvil.net>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> On Tue, 19 Jun 2012 21:49:16 +0200, Tom Tromey wrote:
Jan> commit ab7b9759a6b8c5d7d591adfa3a617d3d19783802
Jan> Author: Tom Tromey <tromey@redhat.com>
Jan> Date: Tue Jun 19 19:49:38 2012 +0000
Jan> after:
Jan> (gdb) p *((int *(*) (void)) __errno_location) ()
Jan> Invalid data type for function to be called.
Jan> (gdb) p (int *(*) (void)) __errno_location
Jan> $1 = (int (**)()) 0x7ffff7065ba0 <__errno_location>
I think this should block 7.5.
I'm working on a fix, but if it takes too long we can revert the patch
on the branch.
Tom