This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: invoking GDB from FE and signals
On Sat, May 13, 2006 at 11:10:57AM -0400, Daniel Jacobowitz wrote:
> On Sat, May 13, 2006 at 11:10:26AM -0400, Bob Rossi wrote:
> > OK, I can find out the details. However, I'm thinking the supported way
> > of starting GDB from a FE is via a pipe. This would prevent readline
> > from being in the way, and is the only way to do it with MI anyways,
> > right?
>
> There's no such thing as "the supported way".
There is something else I just discovered today. I think it's rather
important. If you start GDB via a pipe, then it will not ask you
questions like
Make breakpoint pending on future shared library load? (y or [n])
or
The program is running. Exit anyway? (y or n)
instead, it will just assume the answer is yes.
So, switching to a pty has other advantages that might not seem obvious
at first. This could also be documented.
Bob Rossi