summaryrefslogtreecommitdiff
path: root/gdb/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* 2004-03-12 David Carlton <carlton@kealia.com>David Carlton2004-03-124-0/+132
| | | | | | | * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553. * gdb.cp/pr-1553.cc: Ditto. * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third pass branch.
* 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-03-122-0/+5
| | | | * gdb.cp/templates.exp: Accept more template types.
* 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-03-093-6/+10
| | | | | | | | From Corinna Vinschen with modifications. * gdb.cp/classes.cc (enums1): Add a line to extend scope of local variable obj_with_enum. * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL results with obj_with_enum.
* 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-03-093-1/+613
| | | | | * gdb.cp/classes.cc: New file, copied from misc.cc. * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
* 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-03-092-0/+24
| | | | * gdb.cp/misc.cc: Add copyright notice.
* 2004-03-05 David Carlton <carlton@kealia.com>David Carlton2004-03-055-3/+49
| | | | | | | | | | | | | | | | * cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion bug. 2004-03-05 David Carlton <carlton@kealia.com> * gdb.cp/rtti.exp: Add 'print *obj3' test. * gdb.cp/rtti.h: Update copyright. (namespace n2::n3): New. * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New. (n2::n3::func3): New. (main): Call n2::n3::func3. * gdb.cp/rtti2.cc: Update copyright. (n2::create3): New.
* * gdb.asm/openbsd.inc: Fix typo.Mark Kettenis2004-03-042-1/+5
|
* Committed under "obvious fix rule".Fred Fish2004-03-032-2/+7
| | | | | | 2004-03-03 Fred Fish <fnf@redhat.com> * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set "val" instead of unused "size". Update copyright year.
* * gdb.cp/ctti.exp: Handle unsigned char type. Expect templatesDaniel Jacobowitz2004-02-296-21/+28
| | | | | | to use unsigned char. * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c, gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
* * config/gdbserver.exp (gdbserver_gdb_load): Wait for a completeDaniel Jacobowitz2004-02-292-2/+9
| | | | line of output.
* * gdb.base/relocate.c (dummy): Initialize.Daniel Jacobowitz2004-02-292-1/+5
|
* * gdb.base/chng-syms.exp: Anchor exit pattern. AllowDaniel Jacobowitz2004-02-292-1/+9
| | | | a breakpoint at exit.
* Reviewed and approved by drow@false.org.Fred Fish2004-02-282-0/+8
| | | | | | 2004-02-27 Fred Fish <fnf@redhat.com> * gdb.base/chng-syms.exp: Add expect condition to match failing case that isn't a timeout.
* 2004-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-02-272-1/+6
| | | | | * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile support.
* Reviewed and approved by cagney@gnu.org.Fred Fish2004-02-264-77/+145
| | | | | | | | 2004-02-26 Fred Fish <fnf@redhat.com> * gdb.arch/gdb1431.c: Remove. * gdb.arch/gdb1431.s: New file, copy of gdb1291.s * gdb.arch/gdb1431.exp: Use "advance" correctly instead of "until" incorrectly.
* * gdb.cp/class2.cc (empty): New class.Joel Brobecker2004-02-263-1/+22
| | | | | | (refer): New function. (main): Declare an object of type empty and use it. * gdb.cp/class2.exp: Print the value of an object of type empty.
* 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-02-262-1/+6
| | | | | * gdb.base/langs.exp: Update query string to match the new nquery format used for pending breakpoints.
* Index: ChangeLogAndrew Cagney2004-02-265-87/+100
| | | | | | | | | | | | | | | | | | | 2004-02-26 Andrew Cagney <cagney@redhat.com> Fix PR i18n/1570. * charset.c (backslashable, backslashed, represented): Remove 'e' from list of escaped characters, not part of ISO-C. Index: charset.c Index: testsuite/ChangeLog 2004-02-26 Andrew Cagney <cagney@redhat.com> Fix PR i18n/1570. * gdb.base/charset.c: Update copyright notice. (main, init_string): Remove the escape character '\e' tests. * gdb.base/printcmds.exp (test_print_all_chars): Ditto. * gdb.base/charset.exp (valid_host_charset): Ditto. * gdb.base/setvar.exp: Ditto.
* 2004-02-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-02-242-11/+8
| | | | | * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing mmapped data in core file" PASS and FAIL messages consistent.
* 2004-02-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-02-242-1/+8
| | | | | * gdb.java/jmisc.exp: Use the fully quallified name of "main" when setting a breakpoint. Work around PR java/1565.
* 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-02-233-5/+11
| | | | | | * lib/gdb.exp (gdb_breakpoint): Update query string to match new nquery format. * gdb.base/pending.exp: Ditto.
* Missed adding ChangeLog entry and updating copyright year in a previousFred Fish2004-02-232-2/+8
| | | | | | | | | check in of callfuncs.exp. 2004-02-20 Fred Fish <fnf@redhat.com> * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous blank in test for "returns short", for consistency with other "returns xxx" tests. Update copyright year.
* * configure.in: Run stabs tests on *BSD.Mark Kettenis2004-02-223-3/+8
| | | | * configure: Regenerated.
* * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.Mark Kettenis2004-02-212-1/+5
|
* Remove extraneous blank characterFred Fish2004-02-201-1/+1
|
* Testcase suggested by ezannoni@redhat.com.Fred Fish2004-02-193-0/+114
| | | | | | | 2004-02-19 Fred Fish <fnf@redhat.com> New testcase for PR breakpoint/1558. * gdb.arch/gdb1558.exp: New file. * gdb.arch/gdb1558.c: New file.
* 2004-02-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2004-02-192-1/+5
| | | | * gdb.base/nodebug.exp: Fix typo.
* 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Jim Blandy2004-02-182-1/+3
| | | | | | Committed by Jim Blandy <jimb@redhat.com>. * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
* 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Jim Blandy2004-02-182-2/+4
| | | | | | Committed by Jim Blandy <jimb@redhat.com>. * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
* 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Jim Blandy2004-02-181-0/+6
| | | | | | Committed by Jim Blandy <jimb@redhat.com>. * gdb.base/float.exp: Support s390*-*-* targets.
* 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>Jim Blandy2004-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Committed by Jim Blandy <jimb@redhat.com>. * config/s390/nm-linux.h: Update comments. Do not include "solib.h". (KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove. (FETCH_INFERIOR_REGISTERS): Define. * config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and core-regset.o. * config/s390/s390x.mt: Remove. * config/s390/tm-s390.h: Remove. * config/s390/tm-linux.h: Do not include "s390/tm-s390.h". (TARGET_ELF64): Remove. (SKIP_TRAMPOLINE_CODE): Do not undefine. * configure.tgt [s390-*-*, s390x-*-*]: Merge into single s390*-*-* case; always set gdb_target to s390. * regformats/reg-s390.dat: Remove control registers. * regformats/reg-s390x.dat: Likewise. * s390-tdep.h: New file. * s390-nat.c: Do not include <asm/processor.h> or <value.h>. Include "inferior.h" and "s390-tdep.h". Remove private definition of offsetof. (s390_register_u_addr): Remove. (regmap_gregset, regmap_fpregset): Define. (supply_gregset, fill_gregset): Reimplement. (supply_fpregset, fill_fpregset): Likewise. (s390_inferior_tid): New function. (fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise. (fetch_inferior_registers, store_inferior_registers): Likewise. * s390-tdep.c: Do not define S390_TDEP. Include "defs.h" instead of <defs.h>. Include "reggroups.h", "regset.h", and "s390-tdep.h". Global replace of S390_GP0_REGNUM by S390_R0_REGNUM. Global replace of S390_FP0_REGNUM by S390_F0_REGNUM. (struct gdbarch_tdep): Define. (struct s390_register_info): Define. (s390_register_info): New variable. (s390_register_name): Reimplement. (s390_register_type): New function. (s390_register_raw_size, s390x_register_raw_size): Remove. (s390_cannot_fetch_register): Remove. (s390_register_byte): Remove. (s390_register_virtual_type, s390x_register_virtual_type): Remove. (s390_dwarf_regmap): New variable. (s390_dwarf_reg_to_regnum): New function. (s390_stab_reg_to_regnum): Remove. (s390_pseudo_register_read, s390_pseudo_register_write): New functions. (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise. (s390_convert_register_p): Likewise. (s390_register_to_value, s390_value_to_register): Likewise. (s390_register_reggroup_p): Likewise. (s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset, s390_gregset, s390x_gregset, s390_fpregset): New variables. (s390_supply_regset, s390_regset_from_core_section): New functions. (GDB_TARGET_IS_ESAME): Move here from tm-s390.h. (S390_FPR_SIZE): Likewise. (S390_GPR_SIZE): Likewise. Redefine in terms of GDB_TARGET_IS_ESAME. Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE. (S390_NUM_GPRS): Move here from tm-s390.h. (S390_NUM_FPRS): Likewise. (s390_in_function_epilogue_p): New function. (s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE. Replace S390_PC_REGNUM by S390_PSWA_REGNUM. (s390_gdbarch_init): Allocate and set up gdbarch_tdep structure. Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum. Replace S390_FP_REGNUM by S390_SP_REGNUM. Remove calls to: set_gdbarch_deprecated_max_register_raw_size, set_gdbarch_deprecated_max_register_virtual_size, set_gdbarch_deprecated_register_byte, set_gdbarch_cannot_fetch_register, set_gdbarch_cannot_store_register, set_gdbarch_deprecated_register_size, set_gdbarch_deprecated_register_raw_size, set_gdbarch_deprecated_register_virtual_size, set_gdbarch_deprecated_register_virtual_type, set_gdbarch_deprecated_register_bytes. Add calls to: set_gdbarch_num_pseudo_regs, set_gdbarch_register_type, set_gdbarch_convert_register_p, set_gdbarch_register_to_value, set_gdbarch_value_to_register, set_gdbarch_register_reggroup_p, set_gdbarch_regset_from_core_section, set_gdbarch_pseudo_register_read, set_gdbarch_pseudo_register_write, set_gdbarch_in_function_epilogue_p. * Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies. (s390_tdep_h): New variable.
* * gdb.base/gdb1555.exp: New file.Adam Fedor2004-02-184-0/+181
| | | | * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
* 2004-02-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2004-02-182-0/+7
| | | | | | | | | | | | * Makefile.in (defs_h): Remove dependency on progress_h. * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of progress.h. * main.c (captured_main): Delete use of START_PROGRESS and END_PROGRESS. 2004-02-17 Elena Zannoni <ezannoni@redhat.com> * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
* 2004-02-16 Fred Fish <fnf@redhat.com>Fred Fish2004-02-164-51/+173
| | | | | | | | * gdb.arch/gdb1291.c: Remove * gdb.arch/gdb1291.s: New test input file. * gdb.arch/gdb1291.exp: Expand test to check case that should not fail. Test for correct result, known incorrect result, other failures and timeouts.
* 2004-02-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-02-163-0/+400
| | | | | * gdb.base/bigcore.exp: New file. * gdb.base/bigcore.c: New file.
* 2004-02-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-02-1321-4605/+13
| | | | | | | | | | | | | * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file. * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file. * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file. * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file. * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file. * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file. * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file. * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file. * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file. * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
* 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-02-112-0/+6
| | | | | * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction executed is an alloc instruction.
* 2004-02-11 David Carlton <carlton@kealia.com>David Carlton2004-02-113-0/+111
| | | | | | | | | | * linespec.c (decode_compound): Only look for a class symbol when considering all but the rightmost component. 2004-02-11 David Carlton <carlton@kealia.com> * gdb.cp/breakpoint.exp: New. * gdb.cp/breakpoint.cc: New.
* 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-02-1136-119/+48
| | | | | | | | | | | | | | | | | | Partial fix for PR gdb/1543. * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp, gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp, gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp, gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp, gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp, gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp, gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp, gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp, gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference to bug-gdb@prep.ai.mit.edu . * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc, gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc, gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc: Likewise.
* 2004-02-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-02-102-0/+15
| | | | | * lib/gdb.exp (gdb_expect_list): Recover from internal-errors using gdb_internal_error_resync.
* * gdb.threads/thread-specific.exp: Stop early if no threads areDaniel Jacobowitz2004-02-092-0/+10
| | | | found.
* 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-02-092-2/+6
| | | | * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
* * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pendingDaniel Jacobowitz2004-02-082-2/+7
| | | | breakpoints.
* * config/sim.exp (gdb_load): Handle $arg == "".Daniel Jacobowitz2004-02-084-9/+19
| | | | | * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run. * gdb.objc/basicclass.exp: Use gdb_run_cmd.
* 2004-02-07 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2004-02-072-0/+10
| | | | | * gdb.base/maint.exp: Update test to reflect obstack changes.
* 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-02-053-4/+15
| | | | | | * gdb.base/pendshr.c (pendfunc): New function that calls pendfunc1. * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
* Reviewed and approved by drow@mvista.com.Fred Fish2004-02-043-2/+11
| | | | | | | 2004-02-04 Fred Fish <fnf@redhat.com> * gdb.arch/gdb1431.c: Add underbar prefixed version of global function symbols and update copyright years. * gdb.arch/gdb1291.c: Ditto.
* 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-02-042-18/+22
| | | | * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
* 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-02-042-4/+8
| | | | * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
* 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2004-02-042-0/+8
| | | | * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.