This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Still regressing, now: Too few arguments in function call [Re: [0/5] FYI: fix typename parsing bugs]
- 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: Sat, 7 Jul 2012 14:57:49 +0200
- Subject: Still regressing, now: Too few arguments in function call [Re: [0/5] FYI: fix typename parsing bugs]
- References: <87k3yhot2g.fsf@fleche.redhat.com>
On Fri, 06 Jul 2012 16:36:07 +0200, Tom Tromey wrote:
> This series fixes the typename parsing regressions I introduced, and
> also the other typename bugs I tripped across:
It still does not fix exactly the regression:
Regression: Invalid data type for function to be called. [Re: FYI: fix PR 9514]
http://sourceware.org/ml/gdb-patches/2012-07/msg00043.html
old GDB:
(gdb) p *((int *(*) (void)) __errno_location) ()
$1 = 0
recent before this patchset:
(gdb) p *((int *(*) (void)) __errno_location) ()
Invalid data type for function to be called.
FSF GDB HEAD, after this patchset:
(gdb) p *((int *(*) (void)) __errno_location) ()
Too few arguments in function call.
FSF GDB HEAD with modified input to make it working:
(gdb) p *((int *(*) ()) __errno_location) ()
$2 = 0
This is still a regression.
Thanks,
Jan