public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Gary Benson <gbenson@redhat.com>
To: Pedro Alves <palves@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Make STARTUP_WITH_SHELL a runtime toggle -- add new "set/show startup-with-shell" option.
Date: Wed, 23 Oct 2013 13:38:00 -0000	[thread overview]
Message-ID: <20131023133807.GA12087@blade.nx> (raw)
In-Reply-To: <1382532024-28890-1-git-send-email-palves@redhat.com>

Pedro Alves wrote:
> Occasionaly we hear about people having problems with GDB not being
> able to start programs (with "run"/"start").  GDB spawns a shell to
> start the program, and most often, it'll be the case that the problem
> is actually with the user's shell setup.
> 
> GDB has code to disable the use of the shell to start programs.
> That's the STARTUP_WITH_SHELL macro that native targets could set to 0
> in their nm.h file (though no target actually uses it nowadays).
> 
> This patch makes that setting a run-time knob instead.  This will be
> useful to quickly diagnose such shell issues, and might also come in
> handy at other times (such as when debugging the shell itself, if you
> don't have a different shell handy).
> 
> Comments?  Are the docs OK?

It's a good idea.  And the docs seem fine to me.

Cheers,
Gary

-- 
http://gbenson.net/

  reply	other threads:[~2013-10-23 13:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-23 12:40 Pedro Alves
2013-10-23 13:38 ` Gary Benson [this message]
2013-10-23 13:41 ` Andreas Schwab
2013-10-23 14:49   ` Pedro Alves
2013-10-25 11:11     ` [PATCH] [DOC] shell startup files, clarifications and fixes. (was: Re: [PATCH] Make STARTUP_WITH_SHELL a runtime toggle -- add new "set/show startup-with-shell" option.) Pedro Alves
2013-11-05 17:56       ` [PATCH] [DOC] shell startup files, clarifications and fixes Pedro Alves
2013-11-05 18:06         ` Eli Zaretskii
2013-11-06 12:30           ` Pedro Alves
2013-10-23 15:38 ` [PATCH] Make STARTUP_WITH_SHELL a runtime toggle -- add new "set/show startup-with-shell" option Eli Zaretskii
2013-10-24 15:17   ` Pedro Alves
2014-01-08 21:21     ` Thomas Schwinge
2014-01-09 12:10       ` Pedro Alves

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=20131023133807.GA12087@blade.nx \
    --to=gbenson@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).