This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: MIPS/Linux build fixes
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 19 Aug 2002 17:45:00 -0400
- Subject: Re: PATCH: MIPS/Linux build fixes
- References: <20020819142654.GA2984@nevyn.them.org>
- static char zerobuf[MAX_REGISTER_RAW_SIZE] = {0};
+ char *zerobuf = alloca (MAX_REGISTER_RAW_SIZE);
http://sources.redhat.com/gdb/current/ari/#[MAX_REGISTER_{RAW,VIRTUAL}_SIZE]
Hmm, yes, plenty more where that came from.
Andrew