This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Regression: Invalid data type for function to be called. [Re: FYI: fix PR 9514]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]