aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2000-05-242000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-4/+10
* gdb.base/annota1.exp (annotate-signal-handler-caller): Relax the regular expression a little, make it pass on Solaris 8.
2000-05-172000-05-12 Michael Snyder <msnyder@.cygnus.com>Michael Snyder2-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.
2000-05-13For IA-64, allow ``finish'' to land on caller rather than on next executableKevin Buettner2-4/+15
line after the caller.
2000-05-082000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-1/+6
* gdb.base/interrupt.exp: Make "pass" message say "send" rather than "send_gdb" (for consistancy).
2000-05-052000-04-28 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-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.
2000-05-01From 2000-04-28 Andreas Jaeger <aj@suse.de>:Andrew Cagney3-2/+8
Properly check for GCC version number.
2000-04-272000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder4-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-242000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder3-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'.
2000-04-18Do not delete testcmds.Andrew Cagney2-1/+5
2000-04-172000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+5
* gdb.base/help.exp: Update output for add-symbol-file command.
2000-04-102000-04-10 Fernando Nasser <fnasser@cygnus.com>Fernando Nasser2-2/+7
From Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
2000-04-08* gdb.base/call-ar-st.exp: Relax patterns matching tab characters.J.T. Conklin2-4/+6
2000-04-072000-04-07 J.T. Conklin <jtc@redback.com>J.T. Conklin2-2/+6
* gdb.base/funcargs.exp: Relax patterns matching pointers to char.
2000-04-07 * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):Nicholas Duffek1-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.
2000-03-30 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-pointPhilippe De Muyter3-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-272000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+1
fix typo.
2000-03-272000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+5
* gdb.base/printcmds.c: Terminate char array ctable2 with 0.
2000-03-27Revert white space changes.Andrew Cagney2-119/+123
2000-03-25Fix maintenance deprecate crash, add testcaseDaniel Berlin2-125/+125
2000-03-24 * gdb.base/break.exp: Add new test for setting breakpoints onJonathan Larmour2-0/+79
optimized code so we can test breakpoints work even when function prologues may be optimized away
2000-03-232000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>Fernando Nasser2-0/+33
From David Whedon <dwhedon@gordian.com> * gdb.base/commands.exp : Added command deprecator tests.
2000-03-23Added the apropos commandDaniel Berlin2-0/+10
2000-03-21Test suite change for AIX 4.3.Kevin Buettner2-20/+22
2000-03-142000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-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.
2000-03-14Add missing ChangeLog entry for:Andrew Cagney1-0/+5
gdb.base/long_long.exp revision 1.2 date: 2000/03/09 21:55:40; author: scottb; state: Exp; lines: +187 -99
2000-03-14Point MI testsuite files at MI testsuite ChangeLog.Andrew Cagney3-1/+15
2000-03-132000-03-13 James Ingham <jingham@leda.cygnus.com>Jim Ingham6-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-03-092000-02-25 Scott Bambrough <scottb@netwinder.org>Scott Bambrough1-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-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-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-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-3/+5
* mi-basics.exp: Comment out test for a still unimplemented operation.
2000-03-062000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-127/+62
* mi-disassemble.exp: Rewrite most of the tests to conform to new disassemble interface.
2000-03-04When GDB doesn't recognize the -i=mi option, assume there is no MI support.Andrew Cagney2-0/+11
2000-02-28*** empty log message ***Jim Blandy1-5/+0
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney32-0/+7336
Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.
2000-02-21*** empty log message ***Jim Blandy1-0/+10
2000-02-16* gdb.base/break.exp ("breakpoint line number"): Make sure theJim Blandy1-0/+9
default source file is set properly before running this test.
2000-02-142000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+6
* lib/gdb.exp: Tell the testsuite that now gdbtk is in the gdbtk/library directory, not in gdbtcl2.
2000-02-082000-02-07 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda10-5698/+0
* gdb/config/i386/windows.mh, gdb/doc/GDBvn.texi, gdb/doc/remote.texi, gdb/testsuite/gdb.base/README, gdb/testsuite/gdb.base/crossload.exp, gdb/testsuite/gdb.base/i486-elf.u, gdb/testsuite/gdb.base/i860-elf.u, gdb/testsuite/gdb.base/m68k-aout.u, gdb/testsuite/gdb.base/m68k-aout2.u, gdb/testsuite/gdb.base/m68k-elf.u, gdb/testsuite/gdb.base/mips-ecoff.u, gdb/testsuite/gdb.base/sparc-aout.u, gdb/testsuite/gdb.base/sparc-elf.u, gdb/tui/Makefile, readline/ChangeLog: These files have been removed over the course of the last year, but weren't cvs removed from the old GDB repository on sourceware.
2000-02-07import insight-2000-02-04 snapshot (2nd try)Jason Molenda4-0/+260
2000-02-05import gdb-2000-02-04 snapshotJason Molenda7-142/+80
2000-02-03import gdb-2000-02-02 snapshotJason Molenda4-9/+38
2000-01-18import gdb-2000-01-17 snapshotJason Molenda3-2/+7
2000-01-11import gdb-2000-01-10 snapshotJason Molenda8-23/+67
2000-01-06import gdb-2000-01-05 snapshotJason Molenda4-2/+17
2000-01-06These files removed in July by this change:Jason Molenda2-252/+0
1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable. * gdb.base/annota2.cc, annota2.exp: Move from here. * gdb.c++/annota2.cc, annota2.exp: To here. * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
1999-12-22import gdb-1999-12-21 snapshotJason Molenda3-8/+11
1999-12-14import gdb-1999-12-13 snapshotJason Molenda4-18/+41
1999-12-08import gdb-1999-12-07 snapshotJason Molenda2-2/+10
1999-12-07import gdb-1999-12-06 snapshotJason Molenda18-85/+7830
1999-11-171999-11-16 Jason Molenda (jsm@bugshack.cygnus.com)Jason Molenda3-199/+0
* gdb.base/compiler.c gdb.base/dollar.exp gdb.c++/compiler.cc: Files removed in gdb-1999-11-16 snapshot.