From: Kevin Pouget <kevin.pouget@gmail.com>
To: gdb-patches@sourceware.org
Cc: Tom Tromey <tromey@redhat.com>, pmuldoon@redhat.com
Subject: Re: [patch] [python] python/12686
Date: Thu, 28 Apr 2011 13:40:00 -0000 [thread overview]
Message-ID: <BANLkTimNMbiLnS9PGQ2fq36q+Kk8r-rCcQ@mail.gmail.com> (raw)
In-Reply-To: <m37haiuo3o.fsf@fleche.redhat.com>
one thing I just noticed, python debugging ("import pdb ;
pdb.set_trace()") faces the same SIGTTIN problem ...
On Mon, Apr 25, 2011 at 3:28 PM, Tom Tromey <tromey@redhat.com> wrote:
>>>>>> "Kevin" == Kevin Pouget <kevin.pouget@gmail.com> writes:
>
> Tom> TBH I think asking the user questions here is weird.
>
> Kevin> I'm not sure about the right way to do, I haven't had time to consider
> Kevin> your suggestion on the main mailing list, but if you consider the
> Kevin> situation where you want to ask the user (from Python) if s/he wants
> Kevin> to stop the inferior.
>
> I would suggest simply not asking.
>
> Kevin> Currently, one way would be to do it here, the other would be in the
> Kevin> "stop" event handler, with `gdb.execute("continue")', but I don't
> Kevin> really like this solution, being under a Python callstack during the
> Kevin> execution seems a bit strange, doesn't it ?
>
> Yeah, if you are committed to asking, then I agree about the placement
> of the query.
>
> Tom
>
prev parent reply other threads:[~2011-04-28 13:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 13:50 Phil Muldoon
2011-04-20 19:32 ` Tom Tromey
2011-04-20 20:10 ` Kevin Pouget
2011-04-25 19:29 ` Tom Tromey
2011-04-28 13:40 ` Kevin Pouget [this message]
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=BANLkTimNMbiLnS9PGQ2fq36q+Kk8r-rCcQ@mail.gmail.com \
--to=kevin.pouget@gmail.com \
--cc=gdb-patches@sourceware.org \
--cc=pmuldoon@redhat.com \
--cc=tromey@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