This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Patch: save inferior command line arguments
- To: Keith Seitz <keiths at cygnus dot com>
- Subject: Re: Patch: save inferior command line arguments
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Wed, 18 Apr 2001 12:14:07 -0400
- CC: Tom Tromey <tromey at redhat dot com>, Insight List <insight at sourceware dot cygnus dot com>
- Organization: Red Hat , Inc. - Toronto
- References: <Pine.SOL.3.91.1010418083135.28157D-100000@ryobi.cygnus.com>
Keith Seitz wrote:
>
> On 17 Apr 2001, Tom Tromey wrote:
>
> > Ok to commit?
> >
>
> This looks okay. One question, though (more for Fernando/Jim): Can we not
> use ISO C-like function declarations?
>
> > +static int
> > +gdb_get_inferior_args (clientData, interp, objc, objv)
> > + ClientData clientData;
> > + Tcl_Interp *interp;
> > + int objc;
> > + Tcl_Obj *CONST objv[];
>
> static int
> gdb_get_inferior_args (ClientData clientData, Tcl_Interp *interp,
> int objc, Tcl_Obj *CONST objv[])
>
> ???
>
Yes, we should. But lets do it all at once in a single (separate) patch.
> Keith
>
> PS. Are we using set_inferior_args anywhere?
We will soon, when replacing the
catch {gdb_cmd "set args $gdb_args"}
by a gdb_set_inferior_args Tcl command procedure.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9