public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
@ 2016-08-10  1:18 ` sergiodj+buildbot
  2016-08-10  1:55 ` Failures on Debian-i686, " sergiodj+buildbot
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  1:18 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-x86-64-3

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m32/builds/4096>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/cgit/Fedora-x86_64-native-extended-gdbserver-m32/.git/tree/?h=master&id=5287afbb1ad9035e10811a8a30290c70828ae493>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.ada/win_fu_syms.exp: compilation foo.adb
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-x86_64-native-extended-gdbserver-m32/xfails/master/xfail;hb=d6d4104>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-x86_64-native-extended-gdbserver-m32/xfails/master/xfail.table;hb=d6d4104>




^ permalink raw reply	[flat|nested] 10+ messages in thread

* [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui
@ 2016-08-10  1:19 sergiodj+buildbot
  2016-08-10  1:18 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master sergiodj+buildbot
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  1:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3eb7562a983bab4c768983bcd85708852d171121 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3eb7562a983bab4c768983bcd85708852d171121

Fix PR gdb/20418 - Problems with synchronous commands and new-ui

When executing commands on a secondary UI running the MI interpreter,
some commands that should be synchronous are not.  MI incorrectly
continues processing input right after the synchronous command is
sent, before the target stops.

The problem happens when we emit MI async events (=library-loaded,
etc.), and we go about restoring the previous terminal state, we end
up calling target_terminal_ours, which incorrectly always installs the
current UI's input_fd in the event loop...  That is, code like this:

   old_chain = make_cleanup_restore_target_terminal ();
   target_terminal_ours_for_output ();

   fprintf_unfiltered (mi->event_channel, "library-loaded");

...

   do_cleanups (old_chain);

The fix is to move the add_file_handler/delete_file_handler calls out
of target_terminal_$foo, making these completely no-ops unless called
with the main UI as current UI.

gdb/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>

	PR gdb/20418
	* event-top.c (ui_register_input_event_handler)
	(ui_unregister_input_event_handler): New functions.
	(async_enable_stdin): Register input in the event loop.
	(async_disable_stdin): Unregister input from the event loop.
	(gdb_setup_readline): Register input in the event loop.
	* infrun.c (check_curr_ui_sync_execution_done): Register input in
	the event loop.
	* target.c (target_terminal_inferior): Don't unregister input from
	the event loop.
	(target_terminal_ours): Don't register input in the event loop.
	* target.h (target_terminal_inferior)
	(target_terminal_ours_for_output, target_terminal_ours): Update
	comments.
	* top.h (ui_register_input_event_handler)
	(ui_unregister_input_event_handler): New declarations.
	* utils.c (ui_unregister_input_event_handler_cleanup)
	(prepare_to_handle_input): New functions.
	(defaulted_query, prompt_for_continue): Use
	prepare_to_handle_input.

gdb/testsuite/ChangeLog:
2016-08-09  Pedro Alves  <palves@redhat.com>
	    Simon Marchi  <simon.marchi@ericsson.com>

	PR gdb/20418
	* gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
	* lib/mi-support.exp (mi_expect_interrupt): Remove anchors.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Debian-i686, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
  2016-08-10  1:18 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master sergiodj+buildbot
@ 2016-08-10  1:55 ` sergiodj+buildbot
  2016-08-10  3:14 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  1:55 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	wildebeest-debian-wheezy-i686

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Debian-i686/builds/3943>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/cgit/Debian-i686/.git/tree/?h=master&id=8fd83d326bcc25368dafcf6bd8f84a1b50487a75>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/step-over-syscall.exp: clone: displaced=off: single step over clone
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: next: setup: continue to breakpoint: run to breakpoint in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: next: setup: unbreak loop in thread 2
PASS -> FAIL: gdb.threads/signal-while-stepping-over-bp-other-thread.exp: step
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Debian-i686/xfails/master/xfail;hb=b49a91b>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Debian-i686/xfails/master/xfail.table;hb=b49a91b>




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Debian-i686-native-extended-gdbserver, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
  2016-08-10  1:18 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master sergiodj+buildbot
  2016-08-10  1:55 ` Failures on Debian-i686, " sergiodj+buildbot
@ 2016-08-10  3:14 ` sergiodj+buildbot
  2016-08-10  3:26 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  3:14 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	wildebeest-debian-wheezy-i686

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Debian-i686-native-extended-gdbserver/builds/3926>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/cgit/Debian-i686-native-extended-gdbserver/.git/tree/?h=master&id=a9c548b52092892774635fae59b2e3aaf450e687>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.linespec/ls-errs.exp: lang=C++: break -source ls-errs.c
new FAIL: gdb.threads/attach-into-signal.exp: threaded: process is still running on the attempt # 2 of 100
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: next: setup: continue to breakpoint: run to breakpoint in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: next: setup: unbreak loop in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: next: next
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: setup: continue to breakpoint: run to breakpoint in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: setup: unbreak loop in thread 2
PASS -> FAIL: gdb.threads/multiple-step-overs.exp: displaced=on: signal thr3: continue to sigusr1_handler
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Debian-i686-native-extended-gdbserver/xfails/master/xfail;hb=b49a91b>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Debian-i686-native-extended-gdbserver/xfails/master/xfail.table;hb=b49a91b>




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Fedora-ppc64le-m64, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
                   ` (2 preceding siblings ...)
  2016-08-10  3:14 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
@ 2016-08-10  3:26 ` sergiodj+buildbot
  2016-08-10  8:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  3:26 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-ppc64le-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-ppc64le-m64/builds/3906>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<Error fetching commit ID for 3eb7562a983bab4c768983bcd85708852d171121>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Fedora-ppc64le-native-extended-gdbserver-m64, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
                   ` (3 preceding siblings ...)
  2016-08-10  3:26 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
@ 2016-08-10  8:09 ` sergiodj+buildbot
  2016-08-10 11:53 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10  8:09 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-ppc64le-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-ppc64le-native-extended-gdbserver-m64/builds/3928>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<Error fetching commit ID for 3eb7562a983bab4c768983bcd85708852d171121>

*** Internal error on buildslave (no space left on device). ***
*** Please report this to the buildslave owner (see <http://gdb-build.sergiodj.net//buildslaves/fedora-ppc64le-1>) ***

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/break-interp.exp: LDprelinkNOdebugNO: BINprelinkYESdebugINpieATTACH: copy libm-2.21.so to libm.so.6
PASS -> FAIL: gdb.base/break-interp.exp: LDprelinkNOdebugNO: BINprelinkYESdebugINpieATTACH: copy libc-2.21.so to libc.so.6
PASS -> FAIL: gdb.base/break-interp.exp: LDprelinkNOdebugNO: BINprelinkYESdebugINpieATTACH: unprelink break-interp-BINprelinkYESdebugINpieATTACH pre-unprelink
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-ppc64le-native-extended-gdbserver-m64/xfails/master/xfail;hb=b49a91b>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-ppc64le-native-extended-gdbserver-m64/xfails/master/xfail.table;hb=b49a91b>




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Fedora-ppc64le-cc-with-index, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
                   ` (4 preceding siblings ...)
  2016-08-10  8:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
@ 2016-08-10 11:53 ` sergiodj+buildbot
  2016-08-10 14:21 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10 11:53 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-ppc64le-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-ppc64le-cc-with-index/builds/3907>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<Error fetching commit ID for 3eb7562a983bab4c768983bcd85708852d171121>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Fedora-ppc64le-native-gdbserver-m64, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
                   ` (5 preceding siblings ...)
  2016-08-10 11:53 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
@ 2016-08-10 14:21 ` sergiodj+buildbot
  2016-08-10 16:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
  2016-08-10 16:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10 14:21 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-ppc64le-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-ppc64le-native-gdbserver-m64/builds/3915>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<Error fetching commit ID for 3eb7562a983bab4c768983bcd85708852d171121>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Fedora-ppc64be-native-gdbserver-m64, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
                   ` (6 preceding siblings ...)
  2016-08-10 14:21 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
@ 2016-08-10 16:29 ` sergiodj+buildbot
  2016-08-10 16:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10 16:29 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-ppc64be-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-ppc64be-native-gdbserver-m64/builds/3986>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<Error fetching commit ID for 3eb7562a983bab4c768983bcd85708852d171121>





^ permalink raw reply	[flat|nested] 10+ messages in thread

* Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master
  2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
                   ` (7 preceding siblings ...)
  2016-08-10 16:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
@ 2016-08-10 16:41 ` sergiodj+buildbot
  8 siblings, 0 replies; 10+ messages in thread
From: sergiodj+buildbot @ 2016-08-10 16:41 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-ppc64be-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-ppc64be-native-extended-gdbserver-m64/builds/3994>

Commit(s) tested:
	3eb7562a983bab4c768983bcd85708852d171121

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	Fix PR gdb/20418 - Problems with synchronous commands and new-ui

Testsuite log (gdb.sum and gdb.log) URL(s):
	<Error fetching commit ID for 3eb7562a983bab4c768983bcd85708852d171121>





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-08-10  4:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-10  1:19 [binutils-gdb] Fix PR gdb/20418 - Problems with synchronous commands and new-ui sergiodj+buildbot
2016-08-10  1:18 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master sergiodj+buildbot
2016-08-10  1:55 ` Failures on Debian-i686, " sergiodj+buildbot
2016-08-10  3:14 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-08-10  3:26 ` Failures on Fedora-ppc64le-m64, " sergiodj+buildbot
2016-08-10  8:09 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-08-10 11:53 ` Failures on Fedora-ppc64le-cc-with-index, " sergiodj+buildbot
2016-08-10 14:21 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2016-08-10 16:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2016-08-10 16:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).