X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=a3ae15e00aef19a792fd6edf442bec121eea09ce;hb=c6f2ac4350a9a032daef67e450bea4435f62cc19;hp=4a247934b58117769d603fae54f7a91c1e7c8314;hpb=df0f48365cb1bb71e41890e65265aa3ebf2692ab;p=binutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4a247934b58..a3ae15e00ae 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,447 @@ +2010-07-29 Pedro Alves + + * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the + environment. + +2010-07-28 Tom Tromey + + PR python/11060: + * gdb.python/py-type.c (Temargs): New template. + (temvar): New variable. + * gdb.python/py-type.exp (test_template): New proc. + +2010-07-28 Daniel Jacobowitz + + * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp, + gdb.dwarf2/member-ptr-forwardref.exp: Adjust. + +2010-07-28 Tom Tromey + + PR c++/9946: + * gdb.cp/temargs.exp: New file. + * gdb.cp/temargs.cc: New file. + +2010-07-27 Jan Kratochvil + + * gdb.base/help.exp (help disassemble): Update the content. + +2010-07-27 Jan Kratochvil + + * gdb.threads/ia64-sigill.exp: New file. + * gdb.threads/ia64-sigill.c: New file. + +2010-07-27 Tom Tromey + + * gdb.opt/inline-cmds.c (ATTR): New define. + (func1): Use it. + (func2): Likewise. + (func3): Likewise. + (outer_inline1): Likewise. + (outer_inline2): Likewise. + * gdb.opt/inline-bt.c (ATTR): New define. + (func1): Use it. + (func2): Likewise. + * gdb.opt/inline-locals.c (ATTR): New define. + (func1): Use it. + (func2): Likewise. + +2010-07-27 Tom Tromey + + * gdb.stabs/gdb11479.c (hack): New function. + (test): Use it. + (test2): Use it. + * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf) + (int32_search_buf, int64_search_buf): No longer static. + (x): Remove. + * gdb.base/relocate.c (hack): New function. + +2010-07-27 Phil Muldoon + + * gdb.python/py-value.exp (test_inferior_function_call): New function. + * gdb.python/py-value.c (func1): New function. + (func2): Likewise. + +2010-07-26 Corinna Vinschen + + * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so + as not to clash with .data section. + +2010-07-26 Jerome Guitton + + * gdb.base/code_elim.exp: New file. + * gdb.base/code_elim1.c: New file. + * gdb.base/code_elim2.c: New file. + +2010-07-21 Pedro Alves + + PR symtab/11827 + + * gdb.base/printcmds.c (enum some_volatile_enum): New enum. + (some_volatile_enum): New variable. + * gdb.base/printcmds.exp (test_print_enums): New. + : Call it. + +2010-07-21 Sami Wagiaalla + + * gdb.cp/fpointer.cc: New test. + * gdb.cp/fpointer.exp: New test. + +2010-07-20 Jan Kratochvil + + * gdb.base/solib-nodir.exp: New file. + * lib/gdb.exp (runto): New case for a GDB internal error. + +2010-07-20 Jan Kratochvil + Ulrich Weigand + Tom Tromey + + * gdb.base/charset-malloc.c: New file. + * gdb.base/charset.c (malloc_stub): New prototype. + (main): Call it instead of malloc itself. + * gdb.base/charset.exp: Use only prepare_for_testing. + (binfile): Remove the variable. + +2010-07-19 Jan Kratochvil + + Make core files the process_stratum. + * gdb.base/corefile.exp (run: load core again) + (run: sanity check we see the core file, run: with core) + (run: core file is cleared, attach: load core again) + (attach: sanity check we see the core file, attach: with core) + (attach: core file is cleared): New tests. + * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv. + +2010-07-14 Ken Werner + + * gdb.arch/altivec-abi.exp: New tests. + +2010-07-13 Tom Tromey + + * gdb.python/py-prettyprint.c (struct arraystruct): New struct. + (main): Use it. + * gdb.python/py-prettyprint.exp (run_lang_tests): Add test. + +2010-07-13 Tom Tromey + + * gdb.base/label.exp: New file. + * gdb.base/label.c: New file. + +2010-07-12 Ulrich Weigand + H.J. Lu + + * lib/gdb.exp (is_ilp32_target): New. + (is_lp64_target): Likewise. + + * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit + target. + * gdb.arch/amd64-disp-step.exp: Likewise. + * gdb.arch/amd64-dword.exp: Likewise. + * gdb.arch/amd64-i386-address.exp: Likewise. + * gdb.arch/amd64-word.exp: Likewise. + + * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit + target. + * gdb.arch/i386-bp_permanent.exp: Likewise. + * gdb.arch/i386-byte.exp: Likewise. + * gdb.arch/i386-disp-step.exp: Likewise. + * gdb.arch/i386-gnu-cfi.exp: Likewise. + * gdb.arch/i386-prologue.exp: Likewise. + * gdb.arch/i386-size-overlap.exp: Likewise. + * gdb.arch/i386-size.exp: Likewise. + * gdb.arch/i386-sse.exp: Likewise. + * gdb.arch/i386-unwind.exp: Likewise. + * gdb.arch/i386-word.exp: Likewise. + + * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute + test only when building 64-bit executables. Do not hard-code + -m64 option. + +2010-07-07 Doug Evans + + * lib/gdb.exp (gdb_test_list_exact): New function. + * gdb.base/default.exp (show convenience): Call it, add tests for + $_sdata = void, $_thread = 0. + +2010-07-05 Jan Kratochvil + Joel Brobecker + + Fix re-run of PIE executable, PR shlibs/11776. + * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization". + Remove $displacement_main to match the solib-svr4.c change. New "kill" + and re-"run" of the inferior. + +2010-07-05 Jan Kratochvil + Joel Brobecker + + Cope with missing /usr/sbin/prelink. + * lib/prelink-support.exp (prelink_no): + : New. + (prelink_yes): Likewise. Return on failed prelink_no. + +2010-07-05 Jan Kratochvil + Joel Brobecker + + * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace + build_executable by build_executable_own_libs. Replace "prelink -R" + execution by a call of prelink_yes. Comment why "prelink -r" needs no + change. + * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of + copy to file_copy. Move setting opts --dynamic-linker and -rpath, + mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp. + Replace build_executable by build_executable_own_libs's function + build_executable_own_libs. + (prelinkNO): Create new stub to call prelink_no. + (prelinkYES): Create new stub to call prelink_yes. + (test_attach): Rename calls of copy to file_copy. + (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve) + (copy): Move to ... + * lib/prelink-support.exp: ... a new file. Rename prelinkNO to + prelink_no, prelinkYES to prelink_yes, copy to file_copy. + * gdb.base/prelink.exp: Disable testcase also for is_remote and + skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with + special flags by gdb_compile_shlib. Replace second gdb_compile by + build_executable_own_libs. Replace "prelink -R" execution by a call of + prelink_yes. Replace "prelink -u" and second "prelink -R" execution by + a second call of prelink_yes. Replace restart commands by + clean_restart. + (prelink): Rename to ... + (seen displacement message): ... this test. Extend its expectation + strictness. + +2010-07-05 Jan Kratochvil + + * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New. + * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each + displacement message exactly once. + +2010-07-05 Jan Kratochvil + Joel Brobecker + + * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move + its restore after the <$relink_args != ""> loop. new comment. + +2010-07-05 Jan Kratochvil + Joel Brobecker + + * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new + code for it. New variable relink_args. + (prelinkYES): Call prelinkNO. + (test_attach): Accept new parameter relink_args. Re-prelink the binary + in such case. Move the core code to ... + (test_attach_gdb): ... a new function. Send GDB command "file". + Extend expected "Attaching to " string. + +2010-07-02 Tom Tromey + + * gdb.base/bitops.exp: Remove extraneous "pass". + +2010-07-02 Ken Werner + + * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors. + +2010-07-01 Pedro Alves + + * gdb.base/help.exp: Adjust expected output. + +2010-07-01 Pedro Alves + + * gdb.base/help.exp: Adjust expected output. + +2010-06-30 Jan Kratochvil + + * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar) + (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for + c++/11702. + +2010-06-29 Jan Kratochvil + Doug Evans + + * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to + add .dynamic entry'. + +2010-06-29 Doug Evans + + Test PR c++/11702. + * gdb.cp/m-static.exp: Add testcase. + * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member. + +2010-06-28 Phil Muldoon + Tom Tromey + Thiago Jung Bauermann + + * gdb.python/py-inferior.c: New File. + * gdb.python/py-infthread.c: New File. + * gdb.python/py-inferior.exp: New File. + * gdb.python/py-infthread.exp: New File. + +2010-06-28 Jan Kratochvil + + * gdb.cp/namespace.exp (ptype OtherFileClass typedefs) + (ptype ::C::OtherFileClass typedefs): New. + * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2) + (C::OtherFileClass::cOtherFileClassVar2): New. + (C::OtherFileClass::cOtherFileClassVar_use): Use also + cOtherFileClassVar2. + (C::cOtherFileType2, C::cOtherFileVar2): New. + (C::cOtherFileVar_use): use also cOtherFileVar2. + * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text. + +2010-06-28 Jan Kratochvil + + * gdb.cp/namespace.exp (whatis C::cOtherFileType) + (whatis ::C::cOtherFileType, whatis C::cOtherFileVar) + (whatis ::C::cOtherFileVar, print C::cOtherFileVar) + (print ::C::cOtherFileVar) + (whatis C::OtherFileClass::cOtherFileClassType) + (whatis ::C::OtherFileClass::cOtherFileClassType) + (print C::OtherFileClass::cOtherFileClassVar) + (print ::cOtherFileClassVar) + (print ::C::OtherFileClass::cOtherFileClassVar): New tests. + (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary + trailing content. + * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType) + (C::OtherFileClass::cOtherFileClassVar) + (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType) + (C::cOtherFileVar, C::cOtherFileVar_use): New. + +2010-06-28 Jan Kratochvil + + Test PR c++/11703 and PR gdb/1448. + * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for + gdb/1448. + +2010-06-28 Jan Kratochvil + + * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data) + (main) : New. + * gdb.cp/virtbase.exp (print rtti_data): New. + +2010-06-28 Jan Kratochvil + Joel Brobecker + + * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines. + +2010-06-28 Jan Kratochvil + + * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New. + +2010-06-28 Doug Evans + + * gdb.base/break-interp.exp (reach): Relax expected output a bit. + +2010-06-27 Doug Evans + + * gdb.cp/m-static.exp: Update expected test output. + +2010-06-25 Paul Hilfinger + + * gdb.gdb/selftest.exp: Adjust expected message for + capturing start-up runtime. + +2010-06-25 Tom Tromey + + PR python/10808: + * gdb.python/python.exp: Add new tests. + +2010-06-25 Sami Wagiaalla + + * gdb.cp/operator.cc: Created an import loop. + * gdb.cp/operator.exp: Added testcase for import loop. + +2010-06-25 Jan Kratochvil + + Test PR python/11407. + * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file. + * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end. + Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE. + * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources, + executable_nofb and executable_fb. New variables srcsfile, objsfile, + srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and + binfile. Call gdb_compile with clean_restart twice. + (func_nofb print, func_nofb backtrace, func_loopfb print) + (func_loopfb backtrace): New. + +2010-06-25 Jan Kratochvil + + * gdb.dwarf2/dw2-ref-missing-frame-main.c: New. + * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output + by a hand made one. + * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove + i?86 requirement. Remove variables srcfile and binfile. New variable + sources, executable_nofb and executable_fb. Call prepare_for_testing. + +2010-06-25 Ulrich Weigand + + * gdb.cell/dwarfaddr.exp: New file. + * gdb.cell/dwarfaddr.S: New file. + +2010-06-24 Jan Kratochvil + + Test PR 9436. + * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New. + +2010-06-24 Hui Zhu + + * gdb.base/eval.exp: New file. + +2010-06-23 Ulrich Weigand + + * gdb.cell/fork.exp: New file. + * gdb.cell/fork.c: Likewise. + * gdb.cell/fork-spu.c: Likewise. + +2010-06-22 Pierre Muller + + * lib/gdb.exp (banned_variables_traced): New global variable. + (gdb_init, gdb_finish): Use new variable to avoid multiple tracing. + (gdb_init): Use `trace add variable' instead of obsolete + `trace variable'. + +2010-06-21 Doug Evans + + * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's. + +2010-06-19 Ulrich Weigand + + * gdb.arch/spu-ls.exp: New file. + * gdb.arch/spu-ls.c: Likewise. + +2010-06-18 Stan Shebs + + * gdb.threads/thread-specific.exp: Add tests of $_thread. + +2010-06-18 Ulrich Weigand + + * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag. + * gdb.base/watch-cond.exp: Likewise. + * gdb.python/py-breakpoint.exp: Likewise. + +2010-06-18 Pedro Alves + + * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use + clean_restart, make sure every test has a distinct message, and + that messages don't include the executable' full path. + +2010-06-17 Doug Evans + + * gdb.arch/i386-size.exp: Updated expected output for + DISASSEMBLY_OMIT_FNAME. + +2010-06-16 Jan Kratochvil + Sergio Durigan Junior + + * gdb.base/watch-notconst.c: New file. + * gdb.base/watch-notconst.S: New file. + * gdb.base/watch-notconst2.c: New file. + * gdb.base/watch-notconst2.S: New file. + * gdb.base/watch-notconst.exp: New file. + * gdb.base/watchpoint.c (global_ptr_ptr): New variable. + (func4): Add operations on `global_ptr_ptr'. + * gdb.base/watchpoint.exp (test_constant_watchpoint): New + routine to test watchpoints created with a constant expression. + (test_inaccessible_watchpoint): Include tests for watchpoints + created with a constant expression. + 2010-06-14 Kevin Buettner * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,