This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: mi version for source command
- From: Niko Sams <niko dot sams at gmail dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb <gdb at sourceware dot org>
- Date: Sat, 2 Jul 2011 10:58:38 +0200
- Subject: Re: mi version for source command
- References: <BANLkTin5uF2P-oqng2UkwUzV2-Xg+CM3+g@mail.gmail.com> <m339it669h.fsf@fleche.redhat.com>
On Tue, Jun 28, 2011 at 22:38, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Niko" == Niko Sams <niko.sams@gmail.com> writes:
>
> Niko> Is there a mi version for the source command?
>
> I don't think so, but you can use -interpreter-exec.
That doesn't help, as the sourced file can contain commands spanning
multiple lines.
Or is there a way?
>
> Niko> Or, is there a reliable way to detect if source finished, especially
> Niko> when run is executed in the sourced file and commands afterwards.
>
> I am afraid I don't know.
So how should an IDE solve that issue?
Niko