[PATCH] specify arguments to debugee from commandline

Fernando Nasser fnasser@redhat.com
Fri Mar 30 05:06:00 GMT 2001

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 <args> 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

More information about the Gdb-patches mailing list