aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2003-02-052003-02-03 Michael Chastain <mec@shout.net>Michael Chastain3-0/+104
* gdb.c++/pr-1023.cc: New file. * gdb.c++/pr-1023.exp: New file.
2003-02-05* gdb.c++/local.exp: Don't expect Local to be in scope in main;Jim Blandy3-4/+47
it's local to foobar. Check for it there, and check that it's not present in main. * gdb.c++/local.cc (marker2): New function. (foobar): Call marker1. (main): Call marker2 instead of marker1.
2003-02-042003-02-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-481/+488
* NEWS: Mention that the mn10200-elf is obsolete. * configure.tgt: Obsolete mn10200-*-* target. * breakpoint.c (update_breakpoints_after_exec): Update comment to mention that the mn10200 is obsolete. * breakpoint.h: Ditto. * MAINTAINERS: Mark the mn10200-elf as obsolete. * config/mn10200/mn10200.mt: Obsolete file. * config/mn10200/tm-mn10200.h: Obsolete file. * mn10200-tdep.c: Obsolete file. Index: testsuite/ChangeLog 2003-02-04 Andrew Cagney <ac131313@redhat.com> * gdb.disasm/mn10200.exp: Obsolete file. * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200. * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
2003-02-042003-02-04 David Carlton <carlton@math.stanford.edu>David Carlton3-0/+15
* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+. (Variables): Recommend stabs+ and DWARF 2. (C plus plus expressions): Correct info about compiler versions, debug formats. (Contributors): Change 'DWARF2' to 'DWARF 2'. PR symtab/874. 2003-02-04 David Carlton <carlton@math.stanford.edu> * gdb.c++/overload.exp: Test intToChar(1). * gdb.c++/overload.cc (intToChar): New. (main): Call intToChar.
2003-02-042003-02-03 David Carlton <carlton@math.stanford.edu>David Carlton2-13/+31
* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add 'might_kfail' arg. KFAIL some of the continue_to_bp_overloaded calls, according to PR c++/1025.
2003-02-032003-02-01 Michael Chastain <mec@shout.net>Michael Chastain4-2/+19
* gdb.base/advance.c (marker1): New marker function. * gdb.base/advance.exp: When the 'advance' command lands on the return breakpoint, it can legitimately stop on either the current line or the next line. Accommodate both outcomes. * gdb.base/until.exp: Likewise.
2003-02-022003-02-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-52/+60
From 2002-11-10 Jason Molenda (jason-cl@molenda.com): * mi-cmd-var.c (mi_cmd_var_list_children): CHILDREN field is now a list; still a tuple when in mi1. * gdbmi.texinfo: Update var-list-children example. 2003-02-02 Andrew Cagney <ac131313@redhat.com> 2002-11-10 Jason Molenda (jason-cl@molenda.com): * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is now a list, not a tuple. * gdb.mi/mi-var-display.exp: Ditto. * gdb.mi/gdb792.exp: Ditto.
2003-02-022003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-0/+174
From 2002-11-09 Jason Molenda (jason-cl@molenda.com) * stack.c (print_frame_info_base): Output complete FRAME tuple for synthesized frames. 2003-02-01 Andrew Cagney <ac131313@redhat.com> From 2002-11-09 Jason Molenda (jason-cl@molenda.com): * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in stack backtraces. * gdb.mi/mi-syn-frame.c: Part of same.
2003-02-01* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,Mark Kettenis4-12/+12
gdb.mi/mi1-pthreads.exp: Return instead of calling gdb_suppress_entire_file.
2003-02-01*** empty log message ***Mark Salter1-0/+4
2003-02-01Clear frame pointer, not sp.Mark Salter1-1/+2
2003-01-31*** empty log message ***Mark Salter1-0/+5
2003-01-31Support remote targets.Mark Salter1-0/+27
2003-01-312003-01-30 Michael Chastain <mec@shout.net>Michael Chastain2-3/+6
* lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL. This was a workaround for a UTF-8 bug in readline 4.3. The bug has been fixed in gdb/readline on 2003-01-09.
2003-01-292003-01-29 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+10
* gdb.base/args.exp: Skip if target does not support args passing.
2003-01-23 * gdb.exp (gdb_test_multiple): New function, cloned fromDaniel Jacobowitz2-41/+145
gdb_test. Accept a list of expect arguments as the third parameter. (gdb_test): Use it.
2003-01-202003-01-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni15-53/+69
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to allow for different test tree configurations. Update some tescases accordingly. * gdb.arch/altivec-regs.exp: Ditto. * gdb.asm/asm-source.exp: Ditto. * gdb.base/advance.exp: Ditto. * gdb.base/display.exp: Ditto. * gdb.base/long_long.exp: Ditto. * gdb.base/mips_pro.exp: Ditto. * gdb.base/overlays.exp: Ditto. * gdb.base/relocate.exp: Ditto. * gdb.base/setshow.exp: Ditto. * gdb.base/step-line.exp: Ditto. * gdb.base/step-test.exp: Ditto. * gdb.base/until.exp: Ditto. * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
2003-01-172003-01-17 David Carlton <carlton@math.stanford.edu>David Carlton2-2/+11
* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test corresponding to PR c++/945. Update copyright.
2003-01-172003-01-17 David Carlton <carlton@math.stanford.edu>David Carlton2-14/+15
* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests corresponding to PR c++/68. (and fix date of previous ChangeLog entry; oops.)
2003-01-172003-01-16 David Carlton <carlton@math.stanford.edu>David Carlton2-5/+44
* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure. (test_paddr_hairy_functions): Call print_addr_2_kfail for hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
2003-01-162003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-2/+14
* gdb.base/break.exp: Fix change of default location, because of removal of until tests. * gdb.base/help.exp: Update test for new 'until' help message. Add test for help on 'advance'.
2003-01-162003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+6
* gdb.base/args.exp: Fix foobar with GDBFLAGS global.
2003-01-15* gdb.base/default.exp: Adapt "info float" test for recent changesMark Kettenis3-10/+73
to that command. Add test for "info vector". * gdb.base/float.exp: New file. Add test for "info float" that resembles the old test in gdb.base/default.exp.
2003-01-152003-01-15 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+10
* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
2003-01-152003-01-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni5-25/+226
* gdb.base/break.exp: Move the tests of until command from here... * gdb.base/until.exp: ... to here. New file. Add other tests. * gdb.base/advance.c: New file. * gdb.base/advance.exp: New file.
2003-01-142003-01-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-0/+87
* gdb.base/args.c: New file. * gdb.base/args.exp: New file.
2003-01-14Update copyright date.Daniel Jacobowitz1-1/+1
2003-01-14 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.Daniel Jacobowitz2-6/+4
2003-01-14 * gdb.threads/killed.exp: Use KFAIL for gdb/568.Daniel Jacobowitz2-2/+5
2003-01-14 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyrightDaniel Jacobowitz2-3/+7
dates.
2003-01-14 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".Daniel Jacobowitz2-2/+6
2003-01-14 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538Daniel Jacobowitz3-5/+11
(ptype &*"foo"). * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
2003-01-13 * gdb.mi/mi-console.exp: Remove extra "(known bug)".Daniel Jacobowitz3-2/+7
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".Daniel Jacobowitz3-2/+7
* gdb.mi/mi1-console.exp: Likewise.
2003-01-13Update copyright years.Daniel Jacobowitz1-1/+1
2003-01-13 * gdb.c++/overload.exp: Remove some fixed XFAILs.Daniel Jacobowitz2-13/+4
2003-01-09 * gdb.base/detach.exp: New test.Daniel Jacobowitz2-0/+79
2003-01-09 * Makefile.in (ALL_SUBDIRS): New variable.Daniel Jacobowitz11-120/+43
(subdirs, clean, distclean): Use it. * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for regenerating Makefile, since it is generated from the top level. * gdb.asm/Makefile.in: Likewise. * gdb.base/Makefile.in: Likewise. * gdb.c++/Makefile.in: Likewise. * gdb.disasm/Makefile.in: Likewise. * gdb.java/Makefile.in: Likewise. * gdb.mi/Makefile.in: Likewise. * gdb.threads/Makefile.in: Likewise. * gdb.trace/Makefile.in: Likewise.
2003-01-092003-01-09 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+8
* gdb.c++/annota2.exp: KFAIL "watch triggered on a.x". Add copyright year 2003.
2003-01-072003-01-06 Michael Chastain <mec@shout.net>Michael Chastain3-2/+14
* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): When selecting a thread, 'line' and 'file' are optional. * gdb.mi/mi1-pthreads.exp: Likewise.
2003-01-06 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuiteAndreas Schwab2-0/+8
failures.
2003-01-04 Fix PR gdb/844Daniel Jacobowitz8-105/+29
* lib/gdb.exp (gdb_compile): Handle "quiet" option. (gdb_compile_pthreads): Pass "quiet" to gdb_compile. * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return instead of calling gdb_suppress_entire_file. * gdb.threads/print-threads.exp: Likewise. * gdb.threads/schedlock.exp: Likewise. * gdb.threads/killed.exp: Return instead of calling gdb_suppress_entire_file. * gdb.threads/linux-dp.exp: Likewise. * gdb.threads/pthreads.exp: Likewise.
2003-01-04gdb/Daniel Jacobowitz4-19/+18
* buildsym.h (processing_hp_compilation): Remove obsolete variable. * gdbarch.sh Remove include of "value.h" in gdbarch.h. (COERCE_FLOAT_TO_DOUBLE): Remove. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. * Makefile.in: Remove value_h from gdbarch_h. * valops.c (coerce_float_to_double): New variable. (default_coerce_float_to_double): Remove. (standard_coerce_float_to_double): Remove. (value_arg_coerce): Use coerce_float_to_double. (_initialize_valops): Add "set coerce-float-to-double". * value.h (default_coerce_float_to_double): Remove prototype. (standard_coerce_float_to_double): Remove prototype. * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as prototyped. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Mark all functions as prototyped. * hppa-tdep.c (hppa_coerce_float_to_double): Remove. * alpha-tdep.c (alpha_gdbarch_init): Remove call to set_gdbarch_coerce_float_to_double. * arm-tdep.c (arm_gdbarch_init): Likewise. * frv-tdep.c (frv_gdbarch_init): Likewise. * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. * mips-tdep.c (mips_gdbarch_init): Likewise. (mips_coerce_float_to_double): Remove. * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. (rs6000_coerce_float_to_double): Remove. * s390-tdep.c (s390_gdbarch_init): Likewise. * sh-tdep.c (sh_gdbarch_init): Likewise. (sh_coerce_float_to_double): Remove. * sparc-tdep.c (sparc_gdbarch_init): Likewise. (sparc_coerce_float_to_double): Remove. * v850-tdep.c (v850_gdbarch_init): Likewise. * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. (hppa_coerce_float_to_double): Remove prototype. * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. doc/ * gdb.texinfo (Controlling GDB): Add ABI section. Document "set coerce-float-to-double". * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation. testsuite/ * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for stabs. * gdb.base/completion.exp: Allow marker1(void) as well as marker1(). * gdb.base/whatis.exp: Always allow (void) after function names.
2003-01-04 * gdb.c++/casts.exp: Correct regexp.Daniel Jacobowitz2-2/+6
2003-01-04* configure.in: Call AC_CONFIG_HEADER. Don't callMark Kettenis30-7854/+297
AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java, gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call AC_CHECK_HEADERS on pthread.h. Put Makefiles in the aforementioned directories in the AC_OUPUT call. * config.hin: New file. * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp, gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp, gdb.threads/killed.exp, gdb.threads/print-threads.exp, gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we pass -I$objdir instead of -I$objdir/$subdir in compilation. * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in, gdb.asm/configure, gdb.base/configure.in, gdb.base/configure, gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in, gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure, gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in, gdb.threads/configure.in, gdb.threads/configure, gdb.threads/config.in, gdb.trace/configure.in, gdb.trace/configure: Removed.
2003-01-042003-01-03 Michael Chastain <mec@shout.net>Michael Chastain2-1/+6
* gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2003-01-04 * gdb.base/store.exp: Fix regular expressions.Daniel Jacobowitz2-9/+13
2003-01-04* configure.in: Rewrite.Mark Kettenis3-248/+234
* configure: Regenerated.
2003-01-032003-01-03 David Carlton <carlton@math.stanford.edu>David Carlton4-0/+85
* gdb.base/psymtab.exp: New file. * gdb.base/psymtab1.c: Ditto. * gdb.base/psymtab2.c: Ditto.
2002-12-24gdb.base/maint.exp: Update expect output to include 'ObjC'.Adam Fedor2-3/+7