This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/21698] Stepping from python interface broken?
- From: "Hsiangkai at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 03 Sep 2017 00:14:22 +0000
- Subject: [Bug python/21698] Stepping from python interface broken?
- Auto-submitted: auto-generated
- References: <bug-21698-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21698
Hsiangkai Wang <Hsiangkai at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Hsiangkai at gmail dot com
--- Comment #1 from Hsiangkai Wang <Hsiangkai at gmail dot com> ---
Currently, current_ui->prompt_state will keep PROMPTED value under python
interface. Synchronous commands will behave like asynchronous commands
and GDB will raise an exception while checking thread state before
executing synchronouse commands in ensure_not_running(). Initialize
current_ui->prompt_state to PROMPT_NEEDED in execute_gdb_command() to
ensure synchronous commands will complete before next command under python
interface.
--
You are receiving this mail because:
You are on the CC list for the bug.