This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: save inferior command line arguments


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]