This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug python/21698] Stepping from python interface broken?


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]