This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Regression: Invalid data type for function to be called. [Re: FYI: fix PR 9514]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 3 Jul 2012 20:06:12 +0200
- Subject: Regression: Invalid data type for function to be called. [Re: FYI: fix PR 9514]
- References: <87fw9rm69v.fsf@fleche.redhat.com>
On Tue, 19 Jun 2012 21:49:16 +0200, Tom Tromey wrote:
commit ab7b9759a6b8c5d7d591adfa3a617d3d19783802
Author: Tom Tromey <tromey@redhat.com>
Date: Tue Jun 19 19:49:38 2012 +0000
PR exp/9514:
before:
(gdb) p *((int *(*) (void)) __errno_location) ()
$1 = 0
(gdb) p (int *(*) (void)) __errno_location
$2 = (int *(*)()) 0x7ffff7065ba0 <__errno_location>
after:
(gdb) p *((int *(*) (void)) __errno_location) ()
Invalid data type for function to be called.
(gdb) p (int *(*) (void)) __errno_location
$1 = (int (**)()) 0x7ffff7065ba0 <__errno_location>
Thanks,
Jan