[patch 1/2] Make gdbtui a shell script

Joel Brobecker brobecker@adacore.com
Wed Dec 21 12:53:00 GMT 2011


> 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[0] 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.

-- 
Joel



More information about the Gdb-patches mailing list