This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: printing array in function
- From: Nicolas Sabouret <Nicolas dot Sabouret at lip6 dot fr>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: gdb at sourceware dot org
- Date: Fri, 03 Sep 2010 21:18:44 +0200
- Subject: Re: printing array in function
- References: <4C80BA7A.3030309@lip6.fr> <m239tq94rv.fsf@igel.home>
Hi,
Le 03/09/2010 18:21, Andreas Schwab a Ãcrit :
> There is no such thing as an array parameter in C.
I know this. I was just wondering if there was any workaround in gdb. I
can understand why there is not, though.
> This is the same as f(int *), see Â6.7.5.3#7.
Thanks for your answer.
I think we will have to write a specific parser... or to use other
pedagogical artifacts.
Regards,
--
Nicolas Sabouret
LIP6, BC169, 4 place Jussieu, 75005 Paris
http://www-poleia.lip6.fr/~sabouret