This is the mail archive of the gdb-patches@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]

[PATCH v2 2/2] Fix for pr 14236


This patch tweaks the interrupt-command.exp to work with gdbserver,
and updates it to handle the default target-async mode.
I'm still testing all variations of sync/async + all-stop/non-stop in
the native case.
There are no doc changes.

2014-07-12  Doug Evans  <dje@google.com>

        PR gdb/14236
        * NEWS: Mention change in default behaviour of "interrupt" command.
        * infcmd.c (struct interrupt_command_continuation_args): New struct.
        (interrupt_command_continuation_free_args): New function.
        (wait_thread_stopped): New function.
        (interrupt_command_post_wait): New function.
        (interrupt_command_continuation): New function.
        (add_interrupt_continuation): New function.
        (interrupt_command): Rewrite.

        doc/
        * gdb.texinfo (Background Execution): Document new option "&" for
        "interrupt" command.

        testsuite/
        * gdb.base/async-shell.exp: Add "&" to "interrupt" command.
        * gdb.base/dprintf-non-stop.exp: Ditto.
        * gdb.base/interrupt-noterm.exp: Ditto.
        * gdb.threads/interrupt-command.c: New file.
        * gdb.threads/interrupt-command.exp: New file.

Attachment: interrupt-v2-2.patch.txt
Description: Text document


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