This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


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

Re: [PATCH] specify arguments to debugee from commandline


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


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