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 (second try)


>>>>> "Eli" == Eli Zaretskii <eliz@delorie.com> writes:

>> Likewise I'd like to be able to simply insert `gdb --run' into shell
>> scripts or any other program-launching code to get the debugger to do
>> the tedious work for me.

Eli> Wouldn't such use get you in trouble in some cases anyway?  The
Eli> arguments you put after "gdb --run" are evaluated by the shell,
Eli> so what GDB sees is not exactly what you typed.  I'd imagine that
Eli> in some cases this would produce subtle differences between "gdb
Eli> --run" and issuing the `run' command inside GDB.

I don't understand.  Can you give an example?

Maybe you mean that redirections won't work as expected.  That's true.
I agree that is something that should be addressed.

Tom


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