GDB needs a --cmdline option

Mo DeJong mdejong@cygnus.com
Thu May 11 13:18:00 GMT 2000


On 11 May 2000, Tom Tromey wrote:

> >>>>> "Fernando" == Fernando Nasser <fnasser@cygnus.com> writes:
> 
> Fernando> But gdb will still read the .gdbinit file and, if you put a
> Fernando> "b _exit" in there gdb will fire up as you want.
> 
> Fernando> Is that acceptable?
> 
> It seems like it wouldn't be too much work to add a `--interactive'
> option which will do all the setup but also ensure that you get a
> command prompt.  Having an invisible mode is definitely nice.  But
> sometimes pre-editing .gdbinit is a PITA.
> 
> Tom

How about --run-noexit, I am not sure that --interactive really
makes it clear that the option is linked to the use of the --run
option.

Mo DeJong
Red Hat Inc.


More information about the Gdb-patches mailing list