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 testsuite/13859] Fails in gdb.threads/watchthreads-reorder.expwhen run it in non-stop + async


http://sourceware.org/bugzilla/show_bug.cgi?id=13859

--- Comment #3 from Pedro Alves <palves at redhat dot com> 2012-03-16 11:24:22 UTC ---
> Yes, that is what I really want.  I ported your patch to CVS trunk, and run
> test suite,

No it's not what you want.  :-)

That patch implements *all-stop* on top of non-stop.  There should be no user
visible change compared to an unpatched gdb, *when you run in all-stop*.

Running an all-stop test with "set non-stop 1" tends to only show red herrings,
as it changes _user-visible behavior and output_.

non-stop enables a collection of secondary modes: async, and
displaced-stepping, so test those individually with an unpatched gdb:

  set GDBFLAGS "-ex \"set target-async on\""

and:

  set GDBFLAGS "-ex \"set displaced-stepping on\""

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]