summaryrefslogtreecommitdiff
path: root/gdb/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2000-07-26 Scott Bambrough <scottb@netwinder.org>gdb-pre-protoization-2000-07-29Scott Bambrough2000-07-284-14/+19
| | | | | | | | * 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.
* * gdb.java/configure.in (AC_INIT): Use jmisc.exp.Anthony Green2000-07-243-2/+7
| | | | * gdb.java/configure: Rebuild.
* * language.c: Include jv-lang.h.Anthony Green2000-07-242-0/+70
| | | | | | | | (lang_bool_type): Add case for java booleans. And in testsuite... * gdb.java/jv-exp.exp: New file.
* * configure: Rebuilt.Anthony Green2000-07-249-0/+1166
| | | | | | | | | | * configure.in (configdirs): Add gdb.java. * gdb.java/jmisc.java: New file. * gdb.java/jmisc.exp: New file. * gdb.java/Makefile.in: New file. * gdb.java/configure: Rebuilt. * gdb.java/configure.in: New file. * lib/java.exp: New file.
* * gdb.base/exprs.exp: Test casts to a pointer including over andAndrew Cagney2000-07-172-1/+48
| | | | underflow.
* Oops, one to many ChangeLog entries.Andrew Cagney2000-07-131-5/+0
|
* Check that GDB and the C compiler agree about the sizeof a few basic CAndrew Cagney2000-07-133-0/+172
| | | | types.
* * gdb.c++/misc.cc (class ClassParam, class_param): Define.Nicholas Duffek2000-07-093-0/+59
| | | | | | | (use_methods): New function. (main): Call use_methods(). * gdb.c++/classes.exp (test_method_param_class): New procedure. (do_tests): Call test_method_param_class.
* * gdb.c++/classes.exp (test_nonexistant_members): Fix nameNicholas Duffek2000-07-093-97/+114
| | | | | | | | | | spelling. (test_enums): New procedure. Move enum tests from end of script to here. Set breakpoint on function name instead of line number. * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions. (enums2): New marker function. (enums1): New function. (main): Call enums1(). Move enum tests to enums1().
* Rewrite gdb.asm so that it doesn't assume a C comiler (or any CAndrew Cagney2000-07-044-16/+48
| | | | support).
* Replace jumbo pattern match with gdb_expect_list().Andrew Cagney2000-07-042-6/+38
|
* 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-06-192-1/+6
| | | | | * gdb.base/maint.exp: Add 'maint print architecture' item to output of 'help maint print' command.
* Re-do multi-line tests using gdb_expect_list().Andrew Cagney2000-06-182-41/+110
|
* 2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-06-122-5/+17
| | | | | | | * 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.
* Forgot a fileDaniel Berlin2000-06-122-1/+104
|
* Use ``set remote memory-read-packet-size'' instead of ``set endianAndrew Cagney2000-06-072-4/+10
| | | | big'' in deprecate test.
* 2000-06-02 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-06-062-2/+15
| | | | * gdb.c++/local.exp: This test has never been known to work with g++.
* Revert an accidental commitDaniel Berlin2000-06-061-7/+11
|
* New tests, fix old tests, make more tests workDaniel Berlin2000-06-057-34/+272
|
* 2000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-242-4/+10
| | | | | * gdb.base/annota1.exp (annotate-signal-handler-caller): Relax the regular expression a little, make it pass on Solaris 8.
* 2000-05-12 Michael Snyder <msnyder@.cygnus.com>Michael Snyder2000-05-172-2/+36
| | | | | | | | | | | * 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.
* For IA-64, allow ``finish'' to land on caller rather than on next executableKevin Buettner2000-05-132-4/+15
| | | | line after the caller.
* 2000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-082-1/+6
| | | | | * gdb.base/interrupt.exp: Make "pass" message say "send" rather than "send_gdb" (for consistancy).
* 2000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-052-0/+7
| | | | | * gdb.base/break.exp: When compiled with -O2 optimization, gdb may not stop at the first line of main, due to code motion.
* From 2000-04-28 Andreas Jaeger <aj@suse.de>:Andrew Cagney2000-05-013-2/+8
| | | | Properly check for GCC version number.
* 2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-04-274-1/+24
| | | | | | | | * 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.
* 2000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-04-243-28/+34
| | | | | | | | | | * 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'.
* Do not delete testcmds.Andrew Cagney2000-04-182-1/+5
|
* 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-04-172-1/+5
| | | | * gdb.base/help.exp: Update output for add-symbol-file command.
* 2000-04-10 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2000-04-102-2/+7
| | | | | From Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
* * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.J.T. Conklin2000-04-082-4/+6
|
* 2000-04-07 J.T. Conklin <jtc@redback.com>J.T. Conklin2000-04-072-2/+6
| | | | * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
* * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):Nicholas Duffek2000-04-071-1/+8
| | | | | | | | | | | | | | | | Change to rely on PIDGET etc. * config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS, TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint): define. Allow target to use procfs hardware watchpoints. * config/sparc/nm-sun4sol2.h: ditto. * config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify definitions to use 16 bits for the pid, 15 bits for the tid, and 1 bit for the flag. * config/sparc/tm-sun4sol2.h: ditto. (SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine. * testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow for more than 15 thread increments.
* * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-pointPhilippe De Muyter2000-03-303-10/+21
| | | | | | | | | | 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.
* 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-271-1/+1
| | | | fix typo.
* 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-272-1/+5
| | | | * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
* Revert white space changes.Andrew Cagney2000-03-272-119/+123
|
* Fix maintenance deprecate crash, add testcaseDaniel Berlin2000-03-252-125/+125
|
* * gdb.base/break.exp: Add new test for setting breakpoints onJonathan Larmour2000-03-242-0/+79
| | | | | optimized code so we can test breakpoints work even when function prologues may be optimized away
* 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser2000-03-232-0/+33
| | | | | From David Whedon <dwhedon@gordian.com> * gdb.base/commands.exp : Added command deprecator tests.
* Added the apropos commandDaniel Berlin2000-03-232-0/+10
|
* Test suite change for AIX 4.3.Kevin Buettner2000-03-212-20/+22
|
* 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-143-1/+31
| | | | | | | | | | * 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.
* Add missing ChangeLog entry for:Andrew Cagney2000-03-141-0/+5
| | | | | gdb.base/long_long.exp revision 1.2 date: 2000/03/09 21:55:40; author: scottb; state: Exp; lines: +187 -99
* Point MI testsuite files at MI testsuite ChangeLog.Andrew Cagney2000-03-143-1/+15
|
* 2000-03-13 James Ingham <jingham@leda.cygnus.com>Jim Ingham2000-03-136-42/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for a variable object that tries to evaluate itself in the currently selected frame, rather than in a fixed frame. * wrapper.c,h (gdb_parse_exp_1): Added a wrapper for gdb_parse_exp_1. * varobj.h: Added USE_CURRENT_FRAME to varobj_type & changed def'n of varobj_create. * varobj.c (varobj_list): Return type indicates whether the variable's type has changed (for current frame variables). (varobj_update): Handle the case where the variable's type has changed. (delete_variable_1): Allow for deletion of variables that have not been installed yet. (new_root_variable): Initialize use_selected_frame variable. (value_of_root): This is where most of the work to handle "current frame" variables was added. Most of the complexity involves handling the case where the type of the variable has changed. (varobj_create): Add a "type" argument, to tell if the variable is one of these "current frame" variables. Also protect call to parse_exp_1 from long jumping. * mi-var-block.exp: The error report from varobj_create changed since I am now trapping parse_exp_1 errors. Change the tests to match the new error message. * mi-var-child.exp: Ditto. * mi-var-cmd.exp: Ditto. * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all the library directories. * gdbtk-varobj.c (variable_create): Pass the correct "how_specified" flag to the varobj_create routine.
* 2000-02-25 Scott Bambrough <scottb@netwinder.org>Scott Bambrough2000-03-091-1/+17
| | | | | | | | * 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.
* 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-064-11/+24
| | | | | | | | | | | * mi-disassemble.exp: Don't assume numbers for the offset values. They can be different depending on the architecture. * mi-watch.exp (test_watchpoint_triggering): In same cases the type can be 'hw wathcpoint' not just 'watchpoint'. Adjust for that. * basics.c (callee4): Make the function return something, otherwise the return value is undefined.
* 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-062-3/+5
| | | | * mi-basics.exp: Comment out test for a still unimplemented operation.
* 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-03-062-127/+62
| | | | | * mi-disassemble.exp: Rewrite most of the tests to conform to new disassemble interface.