This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: GDB needs a --cmdline option
- To: gdb-patches at sources dot redhat dot com
- Subject: Re: GDB needs a --cmdline option
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 11 May 2000 08:49:34 -0600
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
- References: <Pine.LNX.4.10.10005101250570.18782-100000@abomination.cygnus.com> <3919C9EA.95DEC4A5@cygnus.com> <200005111321.JAA13143@indy.delorie.com> <391AB98E.D80A537@cygnus.com>
- Reply-To: tromey at cygnus dot com
>>>>> "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