From: Phil Muldoon <pmuldoon@redhat.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Kevin Pouget <kevin.pouget@gmail.com>, gdb@sourceware.org
Subject: Re: [Python] Input from user from extended breakpoint `stop' function
Date: Tue, 19 Apr 2011 21:30:00 -0000 [thread overview]
Message-ID: <m38vv6c4l6.fsf@redhat.com> (raw)
In-Reply-To: <m2tydudla7.fsf@igel.home> (Andreas Schwab's message of "Tue, 19 Apr 2011 22:43:44 +0200")
Andreas Schwab <schwab@linux-m68k.org> writes:
> Phil Muldoon <pmuldoon@redhat.com> writes:
>
>> I'm not sure what is going on here. It seems GDB is not acting
>> correctly with the SIGTTIN. I really do not know this area of GDB at
>> all.
>
> The terminal still belongs to the inferior. Before gdb is doing any
> input it must call terminal_ours.
Thanks, that is good info. I did not know that. I wonder if we should
call that before handing over control to the python executed script in
the breakpoint "stop" callback? Or maybe provide a Python API call to
turn control of the TTY to GDB and likewise to the inferior.
Any opinions on this would be great. What do you (all) think?
Cheers
Phil
next prev parent reply other threads:[~2011-04-19 21:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 14:42 Kevin Pouget
2011-04-19 20:10 ` Phil Muldoon
2011-04-19 20:44 ` Andreas Schwab
2011-04-19 21:30 ` Phil Muldoon [this message]
2011-04-20 7:36 ` Kevin Pouget
2011-04-20 7:48 ` Andreas Schwab
2011-04-21 11:38 ` Kevin Pouget
2011-04-20 15:41 ` 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=m38vv6c4l6.fsf@redhat.com \
--to=pmuldoon@redhat.com \
--cc=gdb@sourceware.org \
--cc=kevin.pouget@gmail.com \
--cc=schwab@linux-m68k.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