From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: david@llamedos.org Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: Inferior command line arguments Date: Mon, 01 Oct 2001 08:09:00 -0000 Message-id: <87zo7bjsik.fsf@creche.redhat.com> References: <87zo7gq7gb.fsf@creche.redhat.com> <3BB4C04D.22C3DAB5@cygnus.com> <877kuji2b7.fsf@creche.redhat.com> <20010928145938.A13638@nevyn.them.org> <3BB4CF12.3020900@cygnus.com> <20010928154217.A17406@nevyn.them.org> <87vgi3f1f1.fsf@creche.redhat.com> <20010929042717.B8313@llamedos.org> X-SW-Source: 2001-10/msg00006.html >>>>> "David" == David Deephanphongs writes: David> How are you handling the fact that you don't know what the target David> is until far later in the code? gdb stores the vector of arguments from the command line and then lazily computes the string to pass to the create_inferior method. You can still cause strange results, I think, if you use `show args' before you've set the target. This is something I still have to test before I can submit the patch. Tom