| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* gdb.cp/templates.exp: Accept more template types.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* gdb.cp/classes.cc: New file, copied from misc.cc.
* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
|
|
|
|
| |
* gdb.cp/misc.cc: Add copyright notice.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
line of output.
|
| |
|
|
|
|
| |
a breakpoint at exit.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
support.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
* gdb.base/langs.exp: Update query string to match the
new nquery format used for pending breakpoints.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
mmapped data in core file" PASS and FAIL messages consistent.
|
|
|
|
|
| |
* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
setting a breakpoint. Work around PR java/1565.
|
|
|
|
|
|
| |
* lib/gdb.exp (gdb_breakpoint): Update query string to match
new nquery format.
* gdb.base/pending.exp: Ditto.
|
|
|
|
|
|
|
|
|
| |
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: Regenerated.
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* gdb.base/nodebug.exp: Fix typo.
|
|
|
|
|
|
| |
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
|
|
|
|
|
|
| |
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
|
|
|
|
|
|
| |
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.base/float.exp: Support s390*-*-* targets.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-main.c, gdb.base/gdb1555.c: New files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* gdb.base/bigcore.exp: New file.
* gdb.base/bigcore.c: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
executed is an alloc instruction.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* lib/gdb.exp (gdb_expect_list): Recover from internal-errors
using gdb_internal_error_resync.
|
|
|
|
| |
found.
|
|
|
|
| |
* gdb.base/pending.exp: Remove extra \n from gdb_test calls.
|
|
|
|
| |
breakpoints.
|
|
|
|
|
| |
* lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
* gdb.objc/basicclass.exp: Use gdb_run_cmd.
|
|
|
|
|
| |
* gdb.base/maint.exp: Update test to reflect
obstack changes.
|
|
|
|
|
|
| |
* gdb.base/pendshr.c (pendfunc): New function that calls
pendfunc1.
* gdb.base/pending.c: Call pendfunc instead of pendfunc1.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
|
|
|
|
| |
* gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
|
|
|
|
| |
* gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
|