X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=70ded08ba41fa264078ecf2b4279df5bc86e06d8;hb=c28c63d86bd759c7595e85ef13949502e95fd58a;hp=e889d348cb8f4ccb18c20a6015b86ee834a6b47e;hpb=61ff14c69a7cb2870f9dd2792690a1fbc8967f29;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e889d348cb..70ded08ba4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,299 @@ +2009-05-18 Jon Beniston + + * gdb.asm/asm-source.exp: Add lm32 target. + +2009-05-17 Pedro Alves + + * gdb.base/foll-fork.c: Include stdlib.h. Add markers for + `gdb_get_line_number'. Call `callee' in both parent and child. + * gdb.base/foll-fork.exp (catch_fork_child_follow): Use + `gdb_get_line_number' instead of hardcoding line numbers. + (catch_fork_unpatch_child): New procedure to test detaching + breakpoints from child fork. + (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of + hardcoding line numbers. + (do_fork_tests): Run `catch_fork_unpatch_child'. + +2009-05-17 Vladimir Prus + + * gdb.mi/mi-cmd-var.exp: Check that when varobj + of structure type enters or leaves the scope, it + is reported by -var-update. + +2009-05-11 Doug Evans + + * gdb.mi/nsintrall.c (main): Fix off-by-one error. + * gdb.threads/pending-step.c (main): Fix off-by-one error. + * gdb.threads/schedlock.c (main): Fix off-by-one error. + +2009-05-11 Jan Kratochvil + + * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New. + +2009-04-30 Doug Evans + + * gdb.threads/watchthreads2.exp: New testcase. + * gdb.threads/watchthreads2.c: New testcase. + +2009-04-29 Doug Evans + + * gdb.cp/mb-ctor.exp: Add multi-line source statement test. + * gdb.cp/mb-ctor.cc: Ditto. + * gdb.cp/mb-inline.exp: Add multi-line source statement test. + * gdb.cp/mb-inline.h (multi_line_foo): New function. + * gdb.cp/mb-inline1.cc: Call it. + * gdb.cp/mb-inline2.cc: Ditto. + * gdb.cp/mb-templates.exp: Add multi-line source statement test. + * gdb.cp/mb-templates.cc (multi_line_foo): New template. + +2009-04-29 Jan Kratochvil + + * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'. + (info_macro): Remova `decimal' declaration. New variable `nonzero'. + Replace all uses of `decimal' by `nonzero'. + (info macro FROM_COMMANDLINE): New test. + +2009-04-27 Tom Tromey + + * gdb.base/printcmds.exp (test_printf): Test comma operator in []. + +2009-04-27 Doug Evans + + * gdb.threads/watchthreads.c (main): Initialize args before starting + the threads. Plus formatting cleanup. + * gdb.threads/watchthreads.exp: Avoid errant failures due to + biased scheduling of one thread. + +2009-04-27 Jerome Guitton + + * gdb.cp/templates.cc (GetMax): New template. + (main): Declare two instances of GetMax. + * gdb.cp/templates.exp: Add new test. + +2009-04-27 Jan Kratochvil + + * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test. + +2009-04-22 Joseph Myers + + * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case. + +2009-04-15 Tom Tromey + + * gdb.base/charset.exp: Add regression test. + +2009-04-14 Joel Brobecker + + * gdb.base/exe-lock.exp: New testcase. + +2009-04-13 Tom Tromey + + * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test != + operator on Frame. + +2009-04-03 Ulrich Weigand + + * gdb.base/attach.exp: Re-enable for spu*-*-* targets. + * gdb.server/ext-attach.exp: Likewise. + +2009-04-03 Vladimir Prus + + Eliminate some sleep usage. + + * gdb.mi/basics.c (do_nothing): New. + (main): Use do_nothing instead of printf, so that + not to introduce race condition between output of + inferiour and output of gdb. Do not use sleep as it + is not generally available on embedded targets. + +2009-04-02 Pedro Alves + + * gdb.server/ext-attach.exp: Expect an optional process id after + "Detached from remote process". + +2009-04-02 Jan Kratochvil + + * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S, + gdb.dwarf2/dw2-unresolved.exp: New. + +2009-04-02 Pedro Alves + + * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use + mi_run_to_main. + +2009-04-02 Pedro Alves + + * gdb.mi/mi-nonstop.exp: Don't check isnative. Use + mi_run_to_main. Skip thread exit test on remote targets. + * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use + mi_run_to_main. + * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use + mi_run_to_main. + * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor + when expecting ^connected. Detect when the target doesn't support + non-stop mode. + (mi_run_cmd): Detect if non-stop mode was requested by isn't + supported. Return -1 on error, 0 on success. + (mi_runto_helper): Don't expect a stop if mi_run_cmd failed. + (mi_runto): Return mi_runto_helper's result explicitly. + +2009-04-01 Pedro Alves + + * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New. + +2009-04-01 Tom Tromey + + * gdb.base/funcargs.exp: Set print frame-arguments to "all". + * gdb.base/call-ar-st.exp: Set print frame-arguments to "all". + * gdb.ada/ref_param.exp: Set print frame-arguments to "all". + * gdb.ada/lang_switch.exp: Set print frame-arguments to "all". + +2009-03-31 Daniel Jacobowitz + Jan Kratochvil + + PR gdb/931 + * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical + output. + * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs + for gdb/931. + * dw2-strp.S (DW_AT_language): Change to C++. + (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New. + +2009-03-31 Joel Brobecker + + * gdb.ada/tasks: New testcase. + +2009-03-30 Stan Shebs + + * gdb.trace/actions.exp: Update to match new info trace format. + * gdb.trace/deltrace.exp: Ditto. + * gdb.trace/infotrace.exp: Ditto. + * gdb.trace/passcount.exp: Ditto. + * gdb.trace/save-trace.exp: Ditto. + * gdb.trace/while-stepping.exp: Ditto. + * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option. + +2009-03-30 Thiago Jung Bauermann + + * gdb.python/python-frame.c: New file. + * gdb.python/python-frame.exp: New file. + +2009-03-29 Thiago Jung Bauermann + + * gdb.python/python-value.exp: Add tests for the address + attribute. + +2009-03-29 Andreas Schwab + + * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line. + +2009-03-26 Doug Evans + + * gdb.mi/mi-nonstop-exit.exp: New file. + * gdb.mi/non-stop-exit.c: New file. + +2009-03-26 Tom Tromey + + Update for change to prologue skipping: + * gdb.mi/mi2-simplerun.exp: Update. + * gdb.mi/mi2-break.exp: Update. + * gdb.mi/mi-simplerun.exp: Update. + * gdb.mi/mi-break.exp: Update. + * gdb.base/ending-run.exp: Update. + +2009-03-26 Thiago Jung Bauermann + + * gdb.python/python-value.exp (test_value_in_inferior): Test + gdb.Value.is_optimized_out attribute. + +2009-03-26 Jan Kratochvil + + * gdb.dwarf2/dw2-noloc-main.c: New file. + * gdb.dwarf2/dw2-noloc.S: New symbols matrix. + (.text): Remove. + (.data): New. + (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove. + (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'. + (DW_TAG_subprogram func_cu1, noloc): Remove. + (main): New. + * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also + `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'. + (file_symbols): New procedure. + +2009-03-25 Tom Tromey + + * gdb.base/charset.exp (valid_target_charset): New proc. + Use it to skip tests on invalid charsets. + +2009-03-25 Pierre Muller + + * gdb.base/completion.exp: Add a test for directory completion. + +2009-03-22 Jan Kratochvil + + Fix a racy FAIL. + * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption. + * gdb.base/callfuncs.exp (fetch_all_registers): Likewise. + +2009-03-21 Thiago Jung Bauermann + + * gdb.python/python-cmd.exp: Add tests for keyword arguments. + * gdb.python/python-function.exp: Add test for function returning + a GDB value. + +2009-03-20 Thiago Jung Bauermann + + * gdb.python/python-function.exp: New file. + +2009-03-20 Tom Tromey + + * gdb.base/store.exp: Update for change to escape output. + * gdb.base/callfuncs.exp (fetch_all_registers): Update for change + to escape output. + * gdb.base/pointers.exp: Update for change to escape output. + * gdb.base/long_long.exp (gdb_test_long_long): Update for change + to escape output. + * gdb.base/constvars.exp (do_constvar_tests): Update for change to + escape output. + * gdb.base/call-rt-st.exp (print_struct_call): Update for change + to escape output. + * gdb.cp/ref-types.exp (gdb_start_again): Update for change to + escape output. + * gdb.base/setvar.exp: Update for change to escape output. + * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C. + * gdb.base/printcmds.exp (test_print_all_chars): Update for change + to escape output. + (test_print_string_constants): Likewise. + * gdb.base/charset.exp (valid_host_charset): Check size of + wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode + cases. Handle "auto"-related output. + * gdb.base/charset.c (char16_t, char32_t): New typedefs. + (uvar, Uvar): New globals. + +2009-03-19 Jerome Guitton + + * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise + deltas. + * gdb.ada/fixed_points.exp: Ditto. + +2009-03-18 Pedro Alves + + * return-nodebug.c: Don't include stdio.h. + (init): Delete. + (func): Delete definition and provide extern declaration. + (t): New. + (main): Don't call printf. Call func and store its result in t. + * return-nodebug1.c: New. + * return-nodebug.exp: Don't expect stdio output. Instead, print + the global variable t. Drop printf formatters and cast types from + foreach loop. Don't use prepare_for_testing. Compile + return-nodebug.c and return-nodebug1.c in separate steps. Don't + define FORMAT or CAST. + +2009-03-17 Paul Pluzhnikov + + * gdb.base/solib-display.exp: Disable test for remote targers. + 2009-03-15 Jan Kratochvil * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New. @@ -61,7 +357,7 @@ 2009-02-18 Pierre Muller * gdb.pascal/floats.exp: Accept approximate results everywhere. - + 2009-02-17 Vladimir Prus * gdb.mi/mi-nonstop.exp (notifs): Adjust for library @@ -91,10 +387,10 @@ 2009-02-14 Vladimir Prus - * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields. - (mi_expect_interrupt): Likewise. - * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped - response. + * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields. + (mi_expect_interrupt): Likewise. + * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped + response. 2009-02-14 Pierre Muller