This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: Proposal: convert function definitions to prototyped form
- To: kevinb at cygnus dot com
- Subject: Re: Proposal: convert function definitions to prototyped form
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Fri, 2 Jun 2000 14:26:02 +0200
- CC: gdb at sourceware dot cygnus dot com
- References: <1000602075018.ZM29997@ocotillo.lan>
Date: Fri, 2 Jun 2000 00:50:19 -0700
From: Kevin Buettner <kevinb@cygnus.com>
Comma separated list with differing number of stars on the parameter
names (sparc-tdep.c):
static branch_type
-isbranch (instruction, addr, target)
- long instruction;
- CORE_ADDR addr, *target;
+isbranch (long instruction, CORE_ADDR addr, CORE_ADDR * target)
{
I guess you should tweak it some more such that it outputs
CORE_ADDR *target
instead of
CORE_ADDR * target
(note the spurious space between * and target).
Mark