Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org, Sergio Durigan <sdurigan@redhat.com>,
	Kai Tietz <ktietz@redhat.com>
Subject: Re: [patch 1/2] Make gdbtui a shell script
Date: Wed, 21 Dec 2011 12:53:00 -0000	[thread overview]
Message-ID: <20111221122330.GH23376@adacore.com> (raw)
In-Reply-To: <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[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


  reply	other threads:[~2011-12-21 12:24 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21 11:47 Jan Kratochvil
2011-12-21 12:53 ` Joel Brobecker [this message]
2011-12-21 14:25   ` Jan Kratochvil
2011-12-21 14:32     ` Pierre Muller
2011-12-21 14:39       ` Jan Kratochvil
2011-12-21 17:11         ` Joel Brobecker
2011-12-21 18:37         ` Tom Tromey
2011-12-21 23:11           ` [patch 1/2] Drop gdbtui [+doc changes] Jan Kratochvil
2011-12-22  8:11             ` Eli Zaretskii
2011-12-22  9:53               ` Jan Kratochvil
2011-12-22 11:33                 ` Eli Zaretskii
2011-12-22 17:15                   ` Jan Kratochvil
2012-01-02  2:30             ` [commit] " Jan Kratochvil
2012-01-02 13:03               ` Pedro Alves
2012-01-02 13:32                 ` [commit] Fix/revert insight build regression by me [Re: [commit] [patch 1/2] Drop gdbtui [+doc changes]] Jan Kratochvil
2011-12-21 23:39   ` [patch 1/2] Make gdbtui a shell script Stan Shebs
2011-12-22  6:26     ` Joel Brobecker
2011-12-22 10:16       ` [NEWS patch] " Jan Kratochvil
2012-01-01 21:52         ` [commit 7.4] " Jan Kratochvil
2011-12-21 17:26 ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111221122330.GH23376@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=ktietz@redhat.com \
    --cc=sdurigan@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox