* gdb.cp/overload.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to xfail missing "const" in "const char *"
and kfail PR gdb/1155.
* gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Remove gratuitous
restart of test program. Use gdb_test_multiple and gdb_test for
all tests. Add patterns to kfail PR gdb/1498.
* gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program. Use
gdb_test_multiple and gdb_test for all tests.
* gdb.cp/classes.exp: Rewrite. Clean up patterns to match
current versions of gcc, including gcc abi 2. Use "breakpoint"
and "continue" instead of restarting the target program several
times. Use gdb_test_multiple and gdb_test for all tests.
that don't define SIGWINCH.
* terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the
screen width and height using console I/O.
(_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_*
variables. Convert to _rl_* naming scheme.
(_rl_set_cursor) [__MSDOS__]: Ifdef away this function.
* display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared
variable `l'. Use `delta' instead recomputing its value anew.
Assign -delta to i instead of the other way around.
(remote_fileio_func_fstat) [HAVE_STRUCT_STAT_ST_BLOCKS]: Support
systems that don't have `st_blocks' member in `struct stat'.
* configure.in (HAVE_STRUCT_STAT_ST_BLOCKS): Ditto.
(O_RDONLY): Do not define.
(O_WRONLY): Likewise.
(O_RDWR): Likewise.
(targ-vals.h): Include it.
(translate_open_mode): Use TARGET_O_* instead of O_*.
(SWIopen): Likewise.
* Makefile.in (armos.o): Depend on targ-vals.h.
"*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
need one).
* config/djgpp/config.sed: Tweak to adapt to the changes in
configury.
* config/djgpp/djconfig.sh: Fix the test of unpacked
distribution, since there's no gdb.cxx directory anymore.