This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Single-executable patch
- From: Mikhail Teterin <mi+mx at aldan dot algebra dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: insight at sourceware dot org, gdb-patches at sources dot redhat dot com
- Date: Wed, 17 May 2006 15:27:35 -0400
- Subject: Re: Single-executable patch
- References: <200605162201.33772.mi+mx@aldan.algebra.com> <200605171502.18798.mi+mx@aldan.algebra.com> <20060517190737.GB12559@nevyn.them.org>
середа 17 травень 2006 15:07, Daniel Jacobowitz написав:
> This has been a world of trouble for other programs in the past,
I wonder, what kind of trouble?
> and I do not recommend it; we switched to the separate main programs
> deliberately IIRC.
The current main() functions are almost "too simple" now -- may it be, that
something like my patch is *no longer* troublesome?
> If this is all you want, here's a simple implementation:
>
> /usr/bin/gdbtui:
> #!/usr/bin/gdb -i=tui
Cool! I wonder, why even bother linking other executables... It would make
sense to do it, if, for example, the gdb was not linking with Tcl and
friends, but it does anyway...
Thanks!
-mi