This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [Patch]: grep ^func
- To: Don Howard <dhoward at cygnus dot com>
- Subject: Re: [Patch]: grep ^func
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Thu, 25 Jan 2001 15:52:40 -0800
- CC: gdb-patches at sources dot redhat dot com
- Organization: Red Hat
- References: <Pine.SOL.3.91.1010125143122.14868G-100000@taarna.cygnus.com>
Don Howard wrote:
>
> Here is a simple patch that cleans up function declarations/definitions
> so that grep ^func will turn up only the function definition. Tested
> on native Linux x86.
Don, in the cases where this change results in lines of 79 chars or more,
would you mind breaking the lines up? Emacs default indentation, eg.
extern int foo (int, char,
char, int);
Thanks,
Michael