This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch 1/2] Make gdbtui a shell script


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]