Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Ali Lakhia <lakhia@alumni.utexas.net>
To: gdb-patches@sourceware.org
Subject: Re: [patch] [trivial] fix NULL deref
Date: Thu, 16 Sep 2010 19:21:00 -0000	[thread overview]
Message-ID: <AANLkTikZK0Vvi9Q0yv+S_DcB0O9yTJbJdjDohuW9kBpd@mail.gmail.com> (raw)
In-Reply-To: <20100916175122.GA18399@caradoc.them.org>

This problem appears when the following macro is configured in
gdb/interior.h to be:

#define STARTUP_WITH_SHELL 0
#define START_INFERIOR_TRAPS_EXPECTED	1

The reason I set these macros is because forking a shell ends up
resenting some of the state when .cshrc is parsed (env vars like
$PATH, etc.). Thanks,

-Ali


  reply	other threads:[~2010-09-16 18:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16 18:30 Ali Lakhia
2010-09-16 19:17 ` Daniel Jacobowitz
2010-09-16 19:21   ` Ali Lakhia [this message]
2010-09-30 18:53     ` Ali Lakhia
2010-09-30 18:57       ` Michael Snyder
2010-09-30 19:01         ` Joel Brobecker
     [not found]         ` <AANLkTi=eko07y=CDdWpsr_7ZZvd=FHYjc-uo4v8SLd6E@mail.gmail.com>
2010-10-01 17:36           ` Michael Snyder

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=AANLkTikZK0Vvi9Q0yv+S_DcB0O9yTJbJdjDohuW9kBpd@mail.gmail.com \
    --to=lakhia@alumni.utexas.net \
    --cc=gdb-patches@sourceware.org \
    /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