Age | Commit message (Collapse) | Author | Files | Lines |
|
list, but we haven't recognized any of the longer patterns,
arrange for this test to fail, not hang.
|
|
variations.
|
|
* gdb.c++/local.exp: Use the 'runto' library function.
* gdb.c++/namespace.exp: Likewise.
* gdb.c++/overload.exp: Likewise.
|
|
* breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
* tracepoint.c (tracepoints_info): Handle 64-bit addresses.
* testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
* testsuite/gdb.trace/infotrace.exp: Ditto.
* testsuite/gdb.trace/passcount.exp: Ditto.
* testsuite/gdb.trace/while-stepping.exp: Ditto.
|
|
|
|
significant in *un*mangled method names. Use strcmp_iw to compare
them, not STREQ. (Fix from Daniel Berlin.)
* gdb/testsuite/gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
unmangled operator names.
|
|
generated by GDB when it doesn't understand how to debug threads
on the target system.
|
|
bug.
|
|
* gdb.c++/derivation.exp: Use the 'runto' library function.
|
|
* gdb.c++/annota2.exp: Fix regular expression for "post-query".
|
|
* gdb.c++/ref-types.exp: Change handwritten code to library
function 'runto'.
|
|
* gdb.base/signals.exp: Set count to 0 explicitly.
|
|
* gdb.base/signals.exp: Set count to 0 explicitly.
|
|
|
|
and gdb_load_timeout.
|
|
|
|
(gdb_target_monitor): Add check of gdb_target_cmd return value.
|
|
file -- to prevent failing when the compile fails but we have no
intention of running the tests anyway.
* gdb.base/long_long.exp: Test target_info for no_long_long, skip
tests if set.
* gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
integers.
* gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
* gdb.c++/namespace.exp: Ditto.
Fix PR gdb/16.
|
|
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
* gdb.base/pointers.exp: Relax pattern match of decimals.
|
|
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
* gdb.base/pointers.exp: Relax pattern match of decimals.
|
|
|
|
|
|
|
|
list of files actually modified.
|
|
list of files actually modified.
|
|
list of files actually modified.
|
|
change on 2001-01-28. Embarrassing!
|
|
to "gdb.c++/cplusfuncs.exp".
|
|
list of files actually modified.
|
|
|
|
* gdb.base/varargs.c (find_max_double): Fix printf format string:
first arg is int not float.
|
|
* gdb.base/reread.exp: Unsupported for non-native targets;
doesn't work for remote debugging.
|
|
From Drew Moseley <dmoseley@redhat.com>
* gdb.base/ending-run.exp: Properly handle the BSP state when
stepping past the end of main.
|
|
* gdb.base/commands.exp (infrun_breakpoint_command_test):
Converted HPUX fix for non-expected items following multiple
step commands into general solution for all platforms.
|
|
* gdb.c++/classes.exp (do_tests): Change runto statements
from "runto 'foo(void)'" to "runto 'foo'". This makes the
statements demangler agnostic.
* gdb.c++/virtfunc.exp (do_tests): Likewise.
(gdb_virtfunc_restart): Likewise.
|
|
* gdb.c++/inherit.exp (do_tests): Change runto statements
from "runto 'foo(void)'" to "runto 'foo'". This makes the
statements demangler agnostic.
|
|
|
|
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
Helps the test script figure out which demangler is in use.
(dm_type_foo_ref): Ditto.
(dm_type_int_star): Ditto.
(dm_type_long_star): Ditto.
(dm_type_unsigned_int): Ditto.
(dm_type_void): Ditto.
(dm_type_void_star): Ditto.
* gdb.base/cplusfuncs.exp (probe_demangler): New function.
Probe the gdb demangler and set variables to accommodate
formatting differences.
(info_func_regexp): New function. Same as info_func, but
matches against a regexp.
(info_func): Match against a literal string.
(print_addr_2): New function. Match against a literal string,
which can be different from the input to gdb.
(print_addr): Simply call print_addr_2 with the same argument twice.
(test_lookup_operator_functions): Use demangler formatting variables.
Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
the tests in the same order as the C++ class declaration.
(test_paddr_operator_functions): Ditto.
(test_paddr_overloaded_functions): Ditto.
(test_paddr_hairy_functions): Use demangler formatting variables.
Add reference to gdb/19 for related tests.
(do_tests): Call probe_demangler.
|
|
the reason why the space is empty.
|
|
|
|
These were added by accident. Whoops!
|
|
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in
symbol comparisons in binary search.
|
|
* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
to call when tests fail. It takes gdb out of the overloaded
function choice menu back to the main prompt, so that the test
program stays synchronized.
(set_bp_overloaded): New proc to collect all the common
code for setting a breakpoint on an overloaded name. Calls
take_gdb_out_of_choice_menu when needed.
(menu_overload1arg): New variable to collect the repeated
instances of the expected menu for an overloaded name. Change
the regular expression to handle changes in g++ type encoding:
"void" can be either "void" or "", and "unsigned int" can be
either "unsigned int" or "unsigned".
(continue_to_bp_overloaded): Change regular expressions to handle
changes in g++ type encoding.
(no proc): Call take_gdb_out_of_choice_menu when needed.
Remove redundant calls to "info break". Accept either "canceled"
or "cancelled". Change regular expressions in "info break"
calls to handle changes in g++ type encoding. Give all tests
unique strings.
|
|
recognized (i.e. if GDB was compiled with UI_OUT, but the mi
interpreter wasn't recognized (because it wasn't compiled in).
|
|
* config/sid.exp: New file.
|
|
|
|
* gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
Add a RE to accept a non-ascii char if one is ever presented.
|
|
|
|
* Makefile.in (UIOUT_CFLAGS): New macro. CFLAGS needed for uiout code
to be compiled. Defines UI_OUT.
(SUBDIR_MI_CFLAGS): Defines MI_OUT, not UI_OUT.
(INTERNAL_WARN_CFLAGS): Also include UIOUT_CFLAGS.
* configure.in (UIOUT_CFLAGS): New configuration variable.
(--with-uiout): New configuration option. Causes uiout code to
be compiled, instead of the old *printf one.
* configure: Regenerate.
* top.c (print_gdb_version): Test for and print MI_OUT, not UI_OUT.
* testsuite/lib/mi-support.exp (mi_gdb_start): Test for MI_OUT,
not UI_OUT.
|
|
* gdb.base/setvar.exp: Use double '\\' to quote curly braces
in regexp. One '\' does not suffice on Linux.
|