aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-8/+17
* mi-return.exp: Change expected frame output to remove extraneous space in level field when frame level is single digit. Part of fix for PR gdb/192. * mi-stack.exp: Ditto. * mi1-return.exp: Ditto. * mi1-stack.exp: Ditto.
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-34/+42
* mi-var-block.exp: Change expected output from -var-update command to expect list format for "changelist". Fix for PR gdb/672. * mi-var-cmd.exp: Ditto. * mi-var-child: Ditto.
2002-10-02* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.Jim Blandy3-0/+104
2002-10-012002-10-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney20-0/+4842
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1". * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto. * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto. * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto. * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto. * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto. * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2002-09-29Delete no-longer-needed tests.Andrew Cagney19-4717/+10
2002-09-28 * gdb.base/annota1.exp (info break): Make directory components ofKevin Buettner3-10/+28
path optional since not all compilers emit this debug information. * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first step ends up stepping out of the function instead of stopping on the epilogue.
2002-09-27 * lib/insight-support.exp (gdbtk_start): Figure out whereKeith Seitz2-5/+19
the insight executable is based on where gdb is. Use this executable to start insight instead of gdb.
2002-09-252002-09-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+112
* frame.c: Include "gdb_string.h" and "builtin-regs.h". (frame_map_regnum_to_name): New function. (frame_map_name_to_regnum): New function. * frame.h (frame_map_name_to_regnum): Declare. (frame_map_regnum_to_name): Declare. * builtin-regs.c (builtin_reg_map_regnum_to_name): New function. * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare. * parse.c: Do not include "builtin-regs.h". (target_map_name_to_register): Delete function. (write_dollar_variable): Use frame_map_name_to_regnum. * parser-defs.h (target_map_name_to_register): Delete declaration. * expprint.c: Include "frame.h". (print_subexp): Use frame_map_regnum_to_name. * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name. * infcmd.c (registers_info): Use frame_map_name_to_regnum. 2002-09-25 Andrew Cagney <cagney@redhat.com> * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-25 * mi-pthreads.exp (get_mi_thread_list): Check if expect_outKeith Seitz3-6/+35
exists before using it. (check_mi_and_console_threads): Likewise. * gdb669.exp (get_mi_thread_list): Likewise. (check_mi_and_console_threads): Likewise.
2002-09-24 * configure.in: Add config header.Keith Seitz7-17/+733
Check for pthread.h. * configure: Regenerate. * config.in: New file. * pthreads.c: New file. * mi-pthreads.exp: New file to test thread functionality. * gdb669.exp: New file.
2002-09-242002-09-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+46
* gdb.gdb/complaints.exp (test_initial_complaints): Rename test_isolated_complaints. (test_empty_complaint): New function. (test_empty_complaints): New function. Check no output when no complaints.
2002-09-20Add new tests for charset support.Kevin Buettner3-0/+621
2002-09-192002-09-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+286
* gdb.gdb/complaints.exp: New file.
2002-09-182002-09-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+12
* maint.c (maintenance_internal_error): Print the parameter as the error message. (maintenance_internal_warning): New function. (_initialize_maint_cmds): Add command `maint internal-warning'. * defs.h (internal_warning, internal_vwarning): Declare. * utils.c (struct internal_problem): Define. (internal_vproblem): New function. (internal_warning): New function. (internal_vwarning): New function. (internal_warning_problem, internal_error_problem): New variables. (internal_verror): Just call internal_vproblem. Index: testsuite/ChangeLog 2002-09-18 Andrew Cagney <ac131313@redhat.com> * gdb.base/maint.exp: Check `help maint internal-warning'.
2002-09-182002-09-18 David Carlton <carlton@math.stanford.edu>David Carlton9-8/+242
* gdb.c++/m-static.exp: Remove breakpoints depending on line numbers, and replace them by a single breakpoint after the constructors are all finished. Add test 4. * gdb.c++/m-static.cc: Add test 4. * gdb.c++/m-static.h: New file. * gdb.c++/m-static1.cc: New file. * gdb.c++/printmethod.exp: New file. * gdb.c++/printmethod.cc: New file. * gdb.c++/pr-574.exp: New file. * gdb.c++/pr-574.cc: New file.
2002-09-18 * gdb.base/ending-run.exp: Add handling of "step to end of run" forCorinna Vinschen2-0/+8
embedded targets which never actually exit.
2002-09-18 * gdb.base/ending-run.exp: Properly mark "continue after exit" andFernando Nasser2-3/+32
"don't step after run" as unresolved or unsupported, instead of xfail.
2002-09-18 * gdb.base/ending-run.exp: Fix expected string for _wrap_main toCorinna Vinschen2-2/+9
allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c. Add newline to expected string in "step out of main (status wrapper)" case.
2002-09-18 * lib/gdb.exp (rerun_to_main): Allow restarting application.Corinna Vinschen3-24/+9
* gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2002-09-17 * mi-var-cmd.exp: Add tests to check when varobj pinned to aKeith Seitz2-0/+34
selected frame changes type.
2002-09-17 * mi-console.exp: Update copyright.Keith Seitz9-8/+19
* mi-var-block.exp: Likewise. * mi-var-cmd.exp: Likewise. * mi-var-display.exp: Likewise. * mi0-console.exp: Likewise. * mi0-var-child.exp: Likewise. * mi0-var-cmd.exp: Likewise. * mi0-var-display.exp: Likewise.
2002-09-17 * gdb.base/printcmds.exp (test_print_string_constants): ExpectTom Tromey2-1/+6
\000, not \0, in double-quoted string.
2002-09-16 * gdb701.exp: New file for testing varobj target type bug.Keith Seitz3-0/+87
* gdb701.c: New file.
2002-09-14 * gdb.base/command.exp: Don't expect a "Program exited normally"Corinna Vinschen2-2/+7
string after running the commands execution on breakpoint tests.
2002-09-13 Fix line numbers.Keith Seitz2-16/+17
2002-09-13 * mi-var-child.exp: Use mi_step_to and mi_execute_to insteadKeith Seitz2-165/+40
of a bunch of repeated send_gdb/gdb_expect statements.
2002-09-13 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.Corinna Vinschen2-1/+5
2002-09-13 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.Joel Brobecker2-1/+5
2002-09-10 * mi-simplerun.exp (test_controlled_execution): Follow renaming ofKeith Seitz5-8/+16
mi_run_to to mi_execute_to. * mi-var-cmd.exp: Likewise. * mi0-simplerun.exp: Likewise. * mi0-var-cmd.exp: Likewise.
2002-09-10 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb'sKeith Seitz2-36/+68
runto proc. (mi_run_to_main): Use mi_runto. (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2002-09-10 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precedeKeith Seitz2-34/+14
regexp for stopping at main. Could have multiple event notifications. Don't assume that main was declared with no parameters. (mi_next): Use mi_step_to. (mi_step): Use mi_next_to.
2002-09-10 * gdb.base/default.exp: Fix expected string in `info float' test.Corinna Vinschen2-1/+5
2002-09-09 * config/mips.exp: Update comments.Ben Elliston9-28/+11
* config/mips-idt.exp: Likewise. * config/nind.exp: Likewise. * config/slite.exp: Likewise. * config/sparclet.exp: Likewise. * config/udi.exp: Likewise. * config/vx.exp: Likewise. * config/vxworks29k.exp: Likewise.
2002-09-05* gdb.threads/killed.exp: Fix test failure message.Jim Blandy2-1/+5
2002-09-04 * lib/mi-support.exp: Update copyright.Keith Seitz2-7/+13
(mi_gdb_test): Increase the priority of the expected pattern so that it matches gdb_test.
2002-09-03 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.Keith Seitz2-2/+8
Use integer comparison instead of string comparison for testing whether binary was built.
2002-09-03* gdb.threads/killed.exp, gdb.threads/killed.c: New test.Jim Blandy3-0/+125
2002-09-03 * gdb680.exp: New file to test to check for uiout list/tupleKeith Seitz2-0/+61
nesting bug.
2002-08-29* gdb.threads/pthreads.exp: Move the portable thread compilationJim Blandy3-29/+45
code into a function in lib/gdb.exp, and call that from here. * lib/gdb.exp (gdb_compile_pthreads): New function.
2002-08-29 * lib/mi-support.exp (mi_gdb_test): Add global declaration forKeith Seitz2-1/+6
expect_out so that callers can get at it.
2002-08-272002-08-26 Joel Brobecker <brobecker@gnat.com>Michael Snyder1-0/+115
* cli/cli-script.c (copy_command_lines): New function. * defs.h (copy_command_lines): Export. * testsuite/gdb.base/commands.exp: New tests for commands attached to a temporary breakpoint, and for commands that delete the breakpoint they are attached to. 2002-08-26 Michael Snyder <msnyder@redhat.com> * breakpoint.c (bpstat_stop_status): Instead of copying the pointer to the breakpoint commands struct, make a new copy of the struct and point to that. (bpstat_clear): Free the commands struct. (bpstat_clear_actions): Free the commands struct. (bpstat_do_actions): Free the command actions. Also execute the local cleanups, instead of deleting them. (delete_breakpoint): Leave the commands field of the bpstat chain alone -- it will be freed later.
2002-08-23 * gdb.threads/print-threads.c: New file.Daniel Jacobowitz5-0/+618
* gdb.threads/print-threads.exp: New file. * gdb.threads/schedlock.c: New file. * gdb.threads/schedlock.exp: New file.
2002-08-232002-08-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-9/+14
* gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c, not altivec.c.
2002-08-17* gdb.base/return.exp: Remove i*86-*-* from list of xfail'edMark Kettenis2-15/+7
targets. The problem should be fixed now.
2002-08-15*** empty log message ***Mark Kettenis1-1/+1
2002-08-15* gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal withMark Kettenis2-2/+7
2002-07-24 change that removes final dots from error messages.
2002-08-13 * gdb.base/readline.exp: New file.Tom Tromey2-0/+194
2002-08-02More obsolete CHILL.Andrew Cagney33-4321/+4336
2002-08-01* lib/gdb.exp (gdb_expect_list): Only print one pass, fail, orAndrew Cagney2-8/+15
supress message.
2002-08-012002-08-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-66/+59
* NEWS: Menion that CHILL has been made obsolete. * gdbtypes.c (chill_varying_type): Make chill references obsolete. * gdbserver/Makefile.in: Ditto. * stabsread.c (read_range_type): Ditto. * gdbtypes.h: Ditto. * language.c (binop_type_check): Ditto. (binop_result_type): Ditto. (integral_type): Ditto. (character_type): Ditto. (string_type): Ditto. (boolean_type): Ditto. (structured_type): Ditto. (lang_bool_type): Ditto. (binop_type_check): Ditto. * language.h (_LANG_chill): Ditto. * dwarfread.c (set_cu_language): Ditto. * dwarfread.c (CHILL_PRODUCER): Ditto. * dwarfread.c (handle_producer): Ditto. * expression.h (enum exp_opcode): Ditto. * eval.c: Ditto for comments. * typeprint.c (typedef_print) [_LANG_chill]: Ditto. * expprint.c (print_subexp): Ditto. (print_subexp): Ditto. * valops.c (value_cast): Ditto. (search_struct_field): Ditto. * value.h (COERCE_VARYING_ARRAY): Ditto. * symfile.c (init_filename_language_table): Ditto. (add_psymbol_with_dem_name_to_list): Ditto. * valarith.c (value_binop): Ditto. (value_neg): Ditto. * valops.c (value_slice): Ditto. * symtab.h (union language_specific): Ditto. (SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto. (SYMBOL_DEMANGLED_NAME): Ditto. (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. * defs.h (enum language): Ditto. * symtab.c (got_symtab): Ditto. * utils.c (fprintf_symbol_filtered): Ditto. * ch-typeprint.c: Make file obsolete. * ch-valprint.c: Make file obsolete. * ch-lang.h: Make file obsolete. * ch-exp.c: Make file obsolete. * ch-lang.c: Make file obsolete. * Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or CHILL_LIB. (TARGET_FLAGS_TO_PASS): Ditto. (CHILLFLAGS): Obsolete. (CHILL): Obsolete. (CHILL_FOR_TARGET): Obsolete. (CHILL_LIB): Obsolete. (SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and ch-valprint.c. (HFILES_NO_SRCDIR): Remove ch-lang.h. (COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and ch-lang.o. (ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete targets. 2002-08-01 Andrew Cagney <cagney@redhat.com> * stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references to CHILL. 2002-08-01 Andrew Cagney <cagney@redhat.com> * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL, CHILL_FOR_TARGET and CHILL_LIB. * configure.in (configdirs): Remove gdb.chill. * configure: Regenerate. * lib/gdb.exp: Obsolete references to chill. * gdb.fortran/types.exp: Ditto. * gdb.fortran/exprs.exp: Ditto.