From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: deephan@erols.com Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] specify arguments to debugee from commandline Date: Fri, 30 Mar 2001 05:06:00 -0000 Message-id: <3AC483F4.70BBAAFA@redhat.com> References: <20010330005457.A21793@llamedos.org> <200103300713.CAA15333@indy.delorie.com> <20010330033426.A22133@llamedos.org> X-SW-Source: 2001-03/msg00551.html David Deephanphongs wrote: > > It concerned an patch that did what my patch does, but it used a funky > method to do it - using the option --cmdline would cause gdb to > create a .gdb-cmdline file, and then read it as per --command. The goal of that patch was different. It was not only to set arguments, but to pass GDB a command (any command) to execute. In particular, the "run" command (which can take arguments). Then the idea of running GDB in the background until something caused the program to stop came up. -- Fernando Nasser Red Hat Canada Ltd. E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9