| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
These were added by accident. Whoops!
|
|
|
|
|
| |
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in
symbol comparisons in binary search.
|
| |
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* gdb.base/setvar.exp: Use double '\\' to quote curly braces
in regexp. One '\' does not suffice on Linux.
|
|
|
|
|
|
|
|
|
| |
* gdb.base/break.exp (test_clear_command): Use a marker function
rather than 'main' for the test function. Also move this
test to an execution point where the marker function names are
guaranteed to be bound to functions. (Executing tests after a
'finish' from main runs into name conflicts with local names
in __libc_start_main).
|
|
|
|
|
|
| |
* gdb.base/finish.exp: New test for gdb's "finish" command.
* gdb.base/return2.exp: New test for gdb's "return" command.
* gdb.base/return2.c: New source file for above.
|
|
|
|
|
|
|
|
|
|
|
| |
* gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.c++/derivation.exp: Ditto.
* gdb.c++/local.exp: Ditto.
* gdb.c++/namespace.exp: Ditto.
* gdb.c++/overload.exp: Ditto.
* gdb.c++/ref-types.exp: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gdb.base/constvars.exp: Test result of "up" command.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/scope.exp: Ditto.
* gdb.c++/derivation.exp: Ditto.
* gdb.c++/local.exp: Ditto.
* gdb.c++/namespace.exp: Ditto.
* gdb.c++/overload.exp: Ditto.
* gdb.c++/ref-types.exp: Ditto.
|
|
|
|
|
|
|
|
| |
* mips_pro.exp: Accept either "middle -> top -> main" or
"middle -> main" in the backtrace, because gcc can optimize
tail calls to jumps. Remove setup_xfail for the hppa case.
Add a comment with the original warning messages from PR 3016,
which was filed in 1993, to preserve them for posterity.
|
|
|
|
| |
the second kill and detach messages.
|
|
|
|
|
|
|
|
|
|
| |
* configure: Regenerate.
* Makefile.in (just-check): Export EXEEXT.
* lib/gdb.exp ($EXEEXT): Import from environment.
* gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
expect "maint dump-me" on Cygwin.
* gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
$EXEEXT.
|
|
|
|
| |
function on all platforms, not just HP-UX.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
* gdb.base/corefile.exp: Expect the message "Program is being
debugged already" when we send the "corefile" command, since
the preceeding gdb_load may have connected gdb to a remote target.
* gdb.base/display.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true.
Replace single-letter commands with more readable ones.
* gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
if new board info variable "no_hardware_watchpoints" is true.
* gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
to see if stdio (printf) testing is possible.
* gdb.base/watchpoint.exp: Disable hardware watchpoints if new
board info variable "no_hardware_watchpoints" is true. Use new
proc "gdb_skip_stdio_tests" to see if printf tests are possible.
|
|
|
|
|
|
| |
From Orjan Friberg <orjanf@axis.com>:
* gdb.base/printcmds.exp: Escape curly braces followed by a number
in array print pattern match.
|
|
|
|
|
|
|
| |
t_double_values to initialize the FPU before inferior calls are made.
* gdb.base/callfuncs.exp: Test for register preservation after calling
inferior functions. Add tests for continuining, finishing and
returning from a stop in a call dummy.
|
|
|
|
| |
* gdb.base/commands.exp: Break up long lines, and re-indent.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
no floating point support.
(gdb_skip_stdio_test): New proc. Skip test if no stdio support.
* gdb.base/call-ar-st.exp: Use above procs to skip tests.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/call-strs.exp: Ditto.
* gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
* gdb.base/varargs.exp: Skip entire test if no printf support.
* gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
* gdb.base/shlib-call.exp: Skip several tests if no printf support.
|
| |
|
|
|
|
|
|
|
|
| |
* gdb.base/recurse.exp: Run tests for all targets.
* gdb.base/so-impl-ld.exp: Added wildcard to handle the
gnu-oldld case on ARM.
* gdb.base/watchpoint.exp (test_stepping): Clear xfail
for ARM targets.
|
|
|
|
| |
underflow.
|
|
|
|
| |
types.
|
| |
|
|
|
|
|
| |
* gdb.base/maint.exp: Add 'maint print architecture' item to output
of 'help maint print' command.
|
| |
|
|
|
|
|
|
|
| |
* gdb.base/annota1.exp (run until main breakpoint): Loosen up
the regular expression: accept an (almost) arbitrary sequence of
"frames-invalid" and "breakpoints-invalid" messages both before
and after the "starting" message.
|
|
|
|
| |
big'' in deprecate test.
|
|
|
|
|
| |
* gdb.base/annota1.exp (annotate-signal-handler-caller):
Relax the regular expression a little, make it pass on Solaris 8.
|
|
|
|
|
|
|
|
|
|
|
| |
* gdb.base/break.exp (bp on small function, optimized file):
Add a second pass pattern. The behavior differs here between stabs
and dwarf for one-line functions. Stabs preserves two line symbols
(one before the prologue and one after) with the same line number,
but dwarf regards these as duplicates and discards one of them.
Therefore the address after the prologue (where the breakpoint is)
has no exactly matching line symbol, and GDB reports the breakpoint
as if it were in the middle of a line rather than at the beginning.
|
|
|
|
| |
line after the caller.
|
|
|
|
|
| |
* gdb.base/interrupt.exp: Make "pass" message say "send"
rather than "send_gdb" (for consistancy).
|
|
|
|
|
| |
* gdb.base/break.exp: When compiled with -O2 optimization,
gdb may not stop at the first line of main, due to code motion.
|
|
|
|
|
|
|
|
| |
* gdb.base/call-ar-st.exp: Bail out if target is sparclet.
This test depends on parsing the printf output from the target.
Since the sparclet stub doesn't do stdio, this will never work.
* gdb.base/call-rt-st.exp: ditto.
* gdb.base/call-strs: ditto.
|
|
|
|
|
|
|
|
|
|
| |
* gdb.base/miscexprs.exp: make sizeof long array test portable.
* gdb.base/ending-run.exp: After connecting to a remote target,
but before running, the target will appear to be in a random
location. Specify both a file and a line for breakpoints.
Also, the function that calls main may be called 'init'
rather than 'start'.
|
|
|
|
| |
* gdb.base/help.exp: Update output for add-symbol-file command.
|
|
|
|
|
| |
From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
|
| |
|
|
|
|
| |
* gdb.base/funcargs.exp: Relax patterns matching pointers to char.
|
|
|
|
|
|
|
|
|
|
| |
values that can be represented exactly.
* gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
above change, and to not check against the directory part of the source
file name.
(step into print_long_arg_list): Likewise.
(print print_small_structs from print_long_arg_list): Likewise.
(print print_long_arg_list): Likewise.
|
|
|
|
| |
* gdb.base/printcmds.c: Terminate char array ctable2 with 0.
|
| |
|
| |
|
|
|
|
|
| |
optimized code so we can test breakpoints work even when function
prologues may be optimized away
|
|
|
|
|
| |
From David Whedon <dwhedon@gordian.com>
* gdb.base/commands.exp : Added command deprecator tests.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* eval.c (evaluate_subexp_with_coercion): Add call to
check_typedef, to handle typedeffed vars correctly.
* gdb.base/printcmds.c: Add typedeffed arrays.
* gdb.base/printcmds.exp (test_print_typedef_arrays): New
procedure to test arrays that are typedef'd.
|
|
|
|
|
|
|
|
| |
* gdb.base/long_long.exp: Correct test suite failure when printing
a long long value as a double on ARM platforms.
ARM doubles use a hybrid endian format. It is not strictly little or big
endian. It is little endian with the words swapped.
|
|
|
|
| |
default source file is set properly before running this test.
|