This is the mail archive of the
mailing list for the GDB project.
Re: [patch 1/2] Make gdbtui a shell script
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Sergio Durigan <sdurigan at redhat dot com>, Kai Tietz <ktietz at redhat dot com>
- Date: Wed, 21 Dec 2011 16:23:30 +0400
- Subject: Re: [patch 1/2] Make gdbtui a shell script
- References: <20111221114641.GB25652@host2.jankratochvil.net>
> it is discussed for years it is not great to have almost the same gdb and
> gdbtui binaries, each ~5MB. Make gdbtui a shell script.
> I am not so sure how well is the shell script portable across Unices.
> I assume MinGW is out of question anyway but that may not be a concern.
How about not providing gdbtui at all, not even a shell script?
Hmmm, maybe a little extreme?
On the other hand, would it work if the script was called from
a MinGW shell as well? I am pretty sure it'd work on cygwin
platforms, and maybe it would be the same with MinGW shells?
(I haven't looked at the patch yet).
> Fedora has been using gdb<->gdbtui hardlink but according to Tom
> argv should not be used. GNU Coding Standards IMO do not say
> exactly this thing.
I remember reading the same as Tom, but that was a while ago.