This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] rename insight to insight
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Grace Sainsbury <graces at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 13:13:03 -0700
- Subject: Re: [rfa] rename insight to insight
- References: <20020826142957.A24152@tomago.toronto.redhat.com>
On Aug 26, 2:29pm, Grace Sainsbury wrote:
> -int
> -main (int argc, char **argv)
> -{
> - struct captured_main_args args;
> - args.argc = argc;
> - args.argv = argv;
> - catch_errors (captured_main, &args, "", RETURN_MASK_ALL);
> - return 0;
> -}
> +/* int */
> +/* main (int argc, char **argv) */
> +/* { */
> +/* struct captured_main_args args; */
> +/* args.argc = argc; */
> +/* args.argv = argv; */
> +/* catch_errors (captured_main, &args, "", RETURN_MASK_ALL); */
> +/* return 0; */
> +/* } */
I think you might was well remove main() entirely instead of
preserving it in a commented out form. If there's a real need to
preserve it for a time, I think using #if 0 ... #endif is preferable.
Kevin