A Thursday 03 July 2008 16:23:29, Pedro Alves wrote: > This patch makes the monitor targets always register an execution control > task in GDB's thread list. Needed to clean up inferior control, and > get rid of context switching. > > I confirmed that it builds with x86_64-unknown-linux-gnu x h8300-elf cross, > and that it doesn't introduce any new warnings (this file is built without > -Werror). > > As I said in my previous email, I don't even know how to test this, > although I don't except to be any fallout. > > Does it look OK? Can anyone instruct me how to test this; or do a test > spin for me; or claim that it looks ok, and we'll fix problems as > they arise? :-) This patch does the same to remote-sim. (applies on top of the monitor patch) Managed to get myself an arm-elf toolchain and tested with a x86_64-unknow-linux-gnu x arm-elf, --target_board=arm-sim, without regressions. Does it look OK? Default results look much better than I was expecting without tweaking the boardfile. FAIL: gdb.base/args.exp: argc for one empty FAIL: gdb.base/args.exp: argv[2] for one empty FAIL: gdb.base/args.exp: argv[3] for one empty FAIL: gdb.base/args.exp: argc for two empty FAIL: gdb.base/args.exp: argv[2] for two empty FAIL: gdb.base/args.exp: argv[3] for two empty FAIL: gdb.base/args.exp: argv[4] for two empty FAIL: gdb.base/args.exp: argv[2] for one empty (with single quotes) FAIL: gdb.base/args.exp: argv[2] for two empty (with single quotes) FAIL: gdb.base/args.exp: argv[3] for two empty (with single quotes) FAIL: gdb.base/chng-syms.exp: running with invalidated bpt condition after executable changes FAIL: gdb.base/fileio.exp: Creating already existing file returns EEXIST FAIL: gdb.base/fileio.exp: Open directory for writing returns EISDIR FAIL: gdb.base/fileio.exp: Open for write but no write permission returns EACCES FAIL: gdb.base/fileio.exp: Writing to a file FAIL: gdb.base/fileio.exp: Write using invalid file descriptor returns EBADF FAIL: gdb.base/fileio.exp: Reading from a file FAIL: gdb.base/fileio.exp: Read using invalid file descriptor returns EBADF FAIL: gdb.base/fileio.exp: Lseeking END a file FAIL: gdb.base/fileio.exp: Closing an invalid file descriptor returns EBADF FAIL: gdb.base/fileio.exp: Stat a file FAIL: gdb.base/fileio.exp: Fstat an open file FAIL: gdb.base/fileio.exp: Fstat an invalid file descriptor returns EBADF FAIL: gdb.base/fileio.exp: Isatty (invalid fd) FAIL: gdb.base/fileio.exp: Isatty (open file) FAIL: gdb.base/fileio.exp: System says shell is available FAIL: gdb.base/fileio.exp: System(3) call FAIL: gdb.base/fileio.exp: System with invalid command returns 127 FAIL: gdb.base/fileio.exp: Rename a file FAIL: gdb.base/fileio.exp: Renaming a file to existing directory returns EISDIR FAIL: gdb.base/fileio.exp: Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST FAIL: gdb.base/fileio.exp: Renaming a directory to a subdir of itself returns EINVAL FAIL: gdb.base/fileio.exp: Renaming a nonexistant file returns ENOENT FAIL: gdb.base/fileio.exp: Unlinking a file in a directory w/o write access returns EACCES FAIL: gdb.base/fileio.exp: Unlinking a nonexistant file returns ENOENT # of expected passes 2493 # of unexpected failures 35 # of expected failures 3 # of untested testcases 3 # of unsupported tests 39 (only board tweakable failures, cool) -- Pedro Alves