This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA] new command: maintenance print target-stack
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 20 Oct 2006 10:01:00 -0700
- Subject: Re: [RFC/RFA] new command: maintenance print target-stack
- References: <20061017225247.GQ1903@adacore.com>
On Tue, 17 Oct 2006 18:52:47 -0400
Joel Brobecker <brobecker@adacore.com> wrote:
> While working to "auto-solib-add", I found that I was very frequently
> in need to dumping the current target stack (I just need the names),
> to see if the multi-thread layer has been pushed or not. So I
> implemented a new "maintenance" command, hoping that others might
> find it useful.
>
> (gdb) maintenance print target-stack
> The current target stack is:
> - multi-thread (multi-threaded child process.)
> - child (Unix child process)
> - exec (Local exec file)
> - None (None)
>
> Opinions? Eventually, we might want to actually dump more
> information if that's useful to others, but that's a start.
As a developer, I know that I'd find this to be useful from time to
time. I'm in favor of this patch.
Kevin