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]

Still regressing, now: Too few arguments in function call [Re: [0/5] FYI: fix typename parsing bugs]


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


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