X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=79fc4c6030f8ceb0226f1a898eb1e796ba013c1f;hb=6a90e1d0a66727bc0d9344bde33bfd44cdd89f3e;hp=757f72178d432dc254d8b4595573002d99fbd4d0;hpb=dc96c6c7afa1c294ab24670bb186f79547c3398f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 757f72178d..79fc4c6030 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,431 @@ +2001-08-18 Andrew Cagney + + * lib/mi-support.exp (mi_gdb_start): If a remote target, use the + CLI jump command to start it. + (mi_run_to_main): Fail immediatly when unexpected output. + +2001-08-18 Andrew Cagney + + * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to + beginning of function. Fix PR gdb/191. + +2001-08-16 Frank Ch. Eigler + + * config/sid.exp (sid_start): Don't warn if we cannot figure out + what to force sid endianness to. + +2001-08-15 Keith Seitz + + * lib/gdb.exp (gdbtk_start): Don't set environment + variables for TCL_LIBRARY and friends. Insight will + now figure these out for itself. + +2001-08-02 Michael Snyder + + * gdb.base/completion.exp: Remove the symbol "a64l" from + the expect string; this is target-specific, and not related + to what is being tested. + +2001-08-02 Dave Brolley + + * config/sid.exp: Rename gdb-socket to cpu-gdb-socket. + +2001-07-25 Michael Snyder + + * gdb.base/consecutive.exp: New file. Test stepping over + breakpoints on consecutive instructions. + * gdb.base/consecutive.c: New file. + + * gdb.base/call-rt-st.exp: Use double-backslash to quote + curly braces in regular expressions. + +2001-07-25 Michael Snyder + + * gdb.base/ending-run.exp: Accept "Program exited normally" as + legitimate output from stepping out of main. + +2001-07-22 Keith Seitz + + * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is + the empty string, do not run the tests. + +2001-07-17 Stephane Carrez + + * gdb.base/long_long.exp: Detect size of pointer. Take into + account 2-byte pointers when testing for p/a results. + +2001-07-17 Stephane Carrez + + * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K + and defined to 1K for m68hc11. + (random_data): Reduce table to 1K for embedded platforms (68hc11). + * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp. + (sizeof_random_data): New variable to tell the size of the data table; + don't test past this size; always run to main. + +2001-07-16 Stephane Carrez + + * gdb.base/return2.exp: return of long long and double fails for + 68HC11; don't execute these tests on that platform. + * gdb.base/return.exp: Return of a double fails for 68hc11. + +2001-07-16 Stephane Carrez + + * call-ar-st.exp: Use gdb_skip_float_test to avoid executing + tests that print a float. + * call-rt-st.exp: Likewise. + +2001-07-12 Mark Kettenis + + * gdb.base/so-impl-ld.exp: Remove stray space that prevented + running this test on Linux. + +2001-06-24 Michael Chastain + + * gdb.base/arithmet.exp: Remove some tests to make all test names + unique. + +2001-07-03 Michael Snyder + + * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in + the output of the ptype command. + +2001-07-02 Michael Snyder + + * gdb.base/completion.exp: Don't assume that break.c is the only + source file that may contain functions named "marker". + * gdb.base/corefile.exp: Quote the curly braces in regexp. + +2001-06-28 Andrew Cagney + + * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list + of files to delete. + + From 2000-06-15 Kazu Hirata : + * gdb.disasm/h8300s.exp: New file. + gdb.disasm/h8300s.s: Likewise. + +2001-06-27 Andrew Cagney + + * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format + empty breakpoint tables. + +2001-06-25 Andrew Cagney + + * lib/mi-support.exp: Update args=... part of stop-reason + patterns. Accept either a list or a tuple. + +2001-06-23 Andrew Cagney + + * lib/mi-support.exp: Remove local emacs variable defining + change-log-default-name. + +2001-06-22 Michael Chastain + + * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect. + This is operationally compatible with the previous version. + +2001-06-13 Jim Blandy + + * lib/gdb.exp (gdb_test): Doc fix. + +2001-06-10 Michael Chastain + + * gdb.base/exprs.exp: Remove a duplicate test. + +2001-06-06 Jim Blandy + + * gdb.base/return2.exp (main): Use values to test float and double + returns that are not NaN's, to avoid being confused by IEEE + comparison rules. + +2001-06-04 Michael Snyder + + * gdb.threads/pthreads.exp (check_control_c): Return 0 for success, + non-zero if control_c fails. Terminate the test on failure, + rather than wait for 12 more tests to time out. + +2001-06-06 Jim Blandy + + * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"): + Don't forget to match the GDB prompt. + + * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings. + +2001-06-04 Jim Blandy + + * gdb.base/help.exp: Update pattern to exclude `print-load-map' + command. + +2001-05-31 Kevin Buettner + + * gdb.base/annota1.exp (info break): Match four or more spaces + after "Address". + +2001-05-31 Michael Chastain + + * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast. + (dm_type_int_star): Likewise. + (dm_type_long_star): Likewise. + (dm_type_void_star): Likewise. + +2001-05-29 Kevin Buettner + + * gdb.base/completion.exp (INPUTRC): Set this environment variable + to a known value in order to get consistent results regardless + of the setting of INPUTRC or the presence or contents of .inputrc. + +2001-05-24 Michael Snyder + + * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering. + Don't require that the main thread and the manager thread are the + first in the list. + + * gdb.threads/pthreads.exp (test_startup): Relax test for thread + debugging. If test fails, issue an "unsupported" not a "fail". + +2001-05-24 Jim Blandy + + Don't assume that short is shorter than int. + * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't + assume that shorts are smaller than ints. On a 16-bit machine, + this isn't true. + ("print unsigned char == (~0)"): Add test that verifies that ~0, + an int, is not equal to ~0 stored in an unsigned char. This tests + the same thing that the previous test meant to, but works on + 16-bit machines, too. + ("print unsigned char != (~0)"): Same test, complemented. + +2001-05-24 Michael Snyder + + * gdb.threads/pthreads.exp (all_threads_running): Add an explicit + test for (full_coverage == 0). This makes the test run faster, + and prevents dejagnu getting out of step. + +2001-05-23 Kevin Buettner + + * gdb.base/finish.exp (finish_void): Revise pattern for + stopping on the call statement to not permit stopping at + the start of the instructions comprising the call sequence. + +2001-05-19 Michael Chastain + + * gdb.base/callfuncs.exp: Make all test names unique. + * gdb.base/commands.exp: Make all test names unique. + * gdb.base/condbreak.exp: Make all test names unique. + * gdb.base/dbx.exp: Make all test names unique. + * gdb.base/default.exp: Make all test names unique. + * gdb.base/define.exp: Make all test names unique. Conform some FAIL + and TIMEOUT messages to their corresponding PASS message. + * gdb.base/ending-run.exp: Make all test names unique. + * gdb.base/long_long.exp: Remove duplicate test. + +2001-05-21 Kevin Buettner + + * gdb.base/finish.exp (finish_void): Allow "finish" command to + stop on the call statement as well as the statement after the + call. + +2001-05-21 Michael Snyder + + * gdb.base/long_long.exp: Allow for targets with 4-byte short. + +2001-05-10 Elena Zannoni + + * gdb.base/completion.exp: Revamp test. Make it execute on all + platforms. + +2001-05-10 Elena Zannoni + + * config/gdbserver.exp (gdb_load): Handle the case + in which the arguments to gdbserver are given in the + baseboard configuration file. + Also handle the case in which the server needs to do a + load. + +2001-05-07 Keith Seitz + + * lib/gdb.exp (gdbtk_initialize_display): New proc which will + set up the display for testing. + (gdbtk_start): Convert all paths to paths that tcl will like. + Export target information to environment. + (_gdbtk_xvfb_init): New proc to start Xvfb if available and + necessary. + (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary. + (to_tcl_path): New proc to convert a given pathname into + a path acceptible as an argument to a tcl command. + (_gdbtk_export_target_info): New proc to export target info + into the environment for gdbtk testing. + (gdbtk_done): New proc to signal end-of-test. + +2001-05-06 Jim Blandy + + * restore.c: Make the code of caller0 correspond to its comment. + +2001-05-03 Michael Snyder + + * config/sid.exp (gdb_target_sid): Check for error messages. + On error or timeout, don't make expect exit (which will terminate + all subsequent tests); instead just make gdb exit. + (gdb_load): Check for error messages. On error or timeout, + return a negative value. + +2001-04-24 Jim Blandy + + * gdb.c++/templates.exp: If we see the prompt for the overload + list, but we haven't recognized any of the longer patterns, + arrange for this test to fail, not hang. + + * gdb.c++/classes.exp (ptype class A): Tolerate whitespace + variations. + +2001-04-22 Michael Chastain + + * gdb.c++/local.exp: Use the 'runto' library function. + * gdb.c++/namespace.exp: Likewise. + * gdb.c++/overload.exp: Likewise. + +2001-03-26 Kevin Buettner + + * gdb.base/Makefile.in (EXECUTABLES): Add step-line. + * gdb.base/step-line.exp: New file. Test step/next in presence of + #line directives. + * gdb.base/step-line.c: New file. Test program for the above. + * gdb.base/step-line.inp: New file. We pretend that this file has + been transformed by some other tool into step-line.c. + +2001-03-21 Jim Blandy + + * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in + unmangled operator names. + +2001-03-20 Jim Blandy + + * gdb.threads/linux-dp.exp: Recognize an additional message + generated by GDB when it doesn't understand how to debug threads + on the target system. + +2001-03-19 Andrew Cagney + + * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug. + +2001-03-12 Michael Chastain + + * gdb.c++/derivation.exp: Use the 'runto' library function. + +2001-03-12 Michael Chastain + + * gdb.c++/annota2.exp: Fix regular expression for "post-query". + +2001-02-24 Michael Chastain + + * gdb.c++/ref-types.exp: Change handwritten code to library + function 'runto'. + +2001-03-16 Orjan Friberg + + * gdb.base/signals.exp: Set count to 0 explicitly. + +2001-03-15 Mark Salter + + * config/monitor.exp (gdb_target_cmd): Add explicit error return. + (gdb_target_monitor): Add check of gdb_target_cmd return value. + (gdb_load): Add support for additional target_info: gdb_download_size + and gdb_load_timeout. + +Thu Mar 8 16:06:00 2001 David Taylor + + * gdb.base/annota1.exp: Move test of isnative to earlier in the + file -- to prevent failing when the compile fails but we have no + intention of running the tests anyway. + + * gdb.base/long_long.exp: Test target_info for no_long_long, skip + tests if set. + + * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte + integers. + + * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true. + * gdb.c++/namespace.exp: Ditto. + +2001-03-07 Orjan Friberg + + * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes. + * gdb.base/pointers.exp: Relax pattern match of decimals. + +2001-03-06 Kevin Buettner + + * Makefile.in, config/abug.exp, config/cfdbug.exp, + config/cpu32bug.exp, config/dve.exp, config/est.exp, + config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp, + config/i960.exp, config/m32r.exp, config/mn10300-eval.exp, + config/monitor.exp, config/proelf.exp, config/rom68k.exp, + config/sh.exp, config/sid.exp, config/slite.exp, + config/sparclet.exp, config/udi.exp, config/unknown.exp, + config/vr4300.exp, config/vr5000.exp, config/vx.exp, + config/vxworks.exp, config/vxworks29k.exp, + gdb.asm/asm-source.exp, gdb.base/a2-run.exp, + gdb.base/all-bin.exp, gdb.base/annota1.exp, + gdb.base/arithmet.exp, gdb.base/assign.exp, + gdb.base/async.exp, gdb.base/attach.exp, + gdb.base/bitfields.exp, gdb.base/bitops.exp, + gdb.base/break.exp, gdb.base/call-ar-st.exp, + gdb.base/call-rt-st.exp, gdb.base/call-strs.exp, + gdb.base/callfuncs.exp, gdb.base/callfwmall.exp, + gdb.base/commands.exp, gdb.base/completion.exp, + gdb.base/cond-expr.exp, gdb.base/condbreak.exp, + gdb.base/constvars.exp, gdb.base/corefile.exp, + gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp, + gdb.base/display.exp, gdb.base/ena-dis-br.exp, + gdb.base/ending-run.exp, gdb.base/environ.exp, + gdb.base/eval-skip.exp, gdb.base/exprs.exp, + gdb.base/finish.exp, gdb.base/foll-exec.exp, + gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp, + gdb.base/funcargs.exp, gdb.base/help.exp, + gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp, + gdb.base/logical.exp, gdb.base/long_long.exp, + gdb.base/maint.exp, gdb.base/mips_pro.exp, + gdb.base/miscexprs.exp, gdb.base/nodebug.exp, + gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp, + gdb.base/pointers.exp, gdb.base/printcmds.exp, + gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp, + gdb.base/regs.exp, gdb.base/relational.exp, + gdb.base/remote.exp, gdb.base/reread.exp, + gdb.base/restore.exp, gdb.base/return2.exp, + gdb.base/scope.exp, gdb.base/sect-cmd.exp, + gdb.base/selftest.exp, gdb.base/setshow.exp, + gdb.base/setvar.exp, gdb.base/shlib-call.exp, + gdb.base/sigall.exp, gdb.base/signals.exp, + gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp, + gdb.base/so-indr-cl.exp, gdb.base/solib.exp, + gdb.base/step-test.exp, gdb.base/structs.c, + gdb.base/structs.exp, gdb.base/structs2.exp, + gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp, + gdb.base/volatile.exp, gdb.base/watchpoint.exp, + gdb.base/whatis-exp.exp, gdb.base/whatis.exp, + gdb.c++/ambiguous.exp, gdb.c++/annota2.exp, + gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp, + gdb.c++/derivation.exp, gdb.c++/inherit.exp, + gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp, + gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp, + gdb.c++/ref-types.exp, gdb.c++/templates.exp, + gdb.c++/userdef.exp, gdb.c++/virtfunc.exp, + gdb.disasm/am33.exp, gdb.disasm/hppa.exp, + gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp, + gdb.fortran/types.exp, gdb.java/jmisc.exp, + gdb.java/jv-exp.exp, gdb.java/jv-print.exp, + gdb.stabs/weird.exp, gdb.threads/linux-dp.exp, + gdb.trace/actions.exp, gdb.trace/backtrace.exp, + gdb.trace/circ.exp, gdb.trace/collection.exp, + gdb.trace/deltrace.exp, gdb.trace/infotrace.exp, + gdb.trace/limits.exp, gdb.trace/packetlen.exp, + gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, + gdb.trace/report.exp, gdb.trace/save-trace.exp, + gdb.trace/tfind.exp, gdb.trace/tracecmd.exp, + gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp, + lib/gdb.exp, lib/mi-support.exp: Update/correct copyright + notices. + 2001-02-27 Michael Snyder * gdb.base/varargs.c (find_max_double): Fix printf format string: @@ -72,6 +500,48 @@ Sun Feb 4 17:32:21 2001 Andrew Cagney * gdb.c++/templates.cc (printf): Remove unused function definition. +2001-01-26 Felix Lee + + * sid.exp (sid_exit): Pass host, not target, to remote_close. + +2001-01-25 matthew green + + * config/sid.exp (sid_start): Call `remote_push_conn' after firing + up sid. + (sid_exit): Call `remote_pop_conn' after GDB is gone. + +2001-01-25 matthew green + + * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.' + Deprecate $sid_spawn_id. + (sid_exit): Remove code necessary only for `spawn.' + +2001-01-25 matthew green + + * config/sid.exp (sid_start): Handle sim,protocol of `sid.' + +2001-01-28 Michael Chastain + + * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc + to call when tests fail. It takes gdb out of the overloaded + function choice menu back to the main prompt, so that the test + program stays synchronized. + (set_bp_overloaded): New proc to collect all the common + code for setting a breakpoint on an overloaded name. Calls + take_gdb_out_of_choice_menu when needed. + (menu_overload1arg): New variable to collect the repeated + instances of the expected menu for an overloaded name. Change + the regular expression to handle changes in g++ type encoding: + "void" can be either "void" or "", and "unsigned int" can be + either "unsigned int" or "unsigned". + (continue_to_bp_overloaded): Change regular expressions to handle + changes in g++ type encoding. + (no proc): Call take_gdb_out_of_choice_menu when needed. + Remove redundant calls to "info break". Accept either "canceled" + or "cancelled". Change regular expressions in "info break" + calls to handle changes in g++ type encoding. Give all tests + unique strings. + 2001-01-17 Ben Elliston * config/sid.exp: New file. @@ -1496,79 +1966,18 @@ Fri Mar 12 18:06:21 1999 Stan Shebs commands. They're not germane to this test, and they don't work that way on remote targets. -1999-03-03 James Ingham - - * browser.test: Fixed up to match the new function browser. - This is not done yet... - - * srcwin.test: Check for errors when the bbox is called for a text - item that is not on screen (so bbox is ""). Return something more - useful. - 1999-03-01 James Ingham * Changelog entries merged over from gdb development branch. - 1999-01-12 Martin Hunt - - * gdb.gdbtk/srcwin.test: Add a bunch of tests for the source - window filename and function comboboxes. Add in stack tests. - - 1999-01-11 Martin Hunt - - * gdb.gdbtk/srcwin.test: New file. Source Window tests. - * gdb.gdbtk/srcwin.exp: New file. Source Window tests. - - Wed Jan 6 09:22:52 1999 Keith Seitz - - * gdb.gdbtk/c_variable.test (c_variable-1.9): Add new - test to check for creation of a variable that is really a type. - (c_variable-7.81): Use "output" instead of "print" to get PC. - Include missing bits of test. - - * gdb.gdbtk/cpp_variable.test (cpp_variable-1.6): Default format - is now "natural", not "hexadecimal" - (cpp_variable-2.22): Ditto. - (cpp_variable-2.24): Force format to hex before getting value. - - * gdb.gdbtk/cpp_variable.exp: Supply missing arg to gdbtk_analyze_results. - - Tue Jan 5 12:40:52 1999 Keith Seitz - - * gdb.gdbtk/c_variable.c, c_variable.test, c_variable.exp: New C - language tests for variable object interface. - - * gdb.gdbtk/cpp_variable.h, cpp_variable.cc, cpp_variable.test, - cpp_variable.exp: New C++ language tests for variable object - interface. - - * gdb.gdbtk/Makefile.in (EXECUTABLES): Add c_variable and cpp_variable. - Tue Jan 5 12:33:47 1999 Keith Seitz * lib/gdb.exp (gdbtk_analyze_results): Generic function for outputting results of test run. - * gdb.gdbtk/defs (gdbtk_test): Handle xpass and xfail. - (gdbtk_test_error): New proc which handles error aborts. - - * gdb.gdbtk/console.exp: Use gdbtk_analyze_results. - Check if we have a valid DISPLAY before running. - * gdb.gdbtk/browser.exp: Ditto. - - 1998-12-07 Martin M. Hunt + 1998-12-07 Martin M. Hunt * lib/gdb.exp (gdbtk_start): Fix path for itcl library. - * gdb.gdbtk/browser.test: Change "manage open" to ManagedWin::open. - * gdb.gdbtk/console.test: Same. - * gdb.gdbtk/*: Update from devo. - - Fri Jul 24 14:57:19 1998 Keith Seitz - - * gdb.gdbtk/Makefile.in: Add new example program "stack". - * gdb.gdbtk/browser.test,browser.exp: Add browser window - tests. - * gdb.gdbtk/stack1.c,stack2.c: Test case for browser window. 1999-02-25 Felix Lee @@ -2098,11 +2507,6 @@ Thurs Jul 9 11:08:31 1998 Dawn Perchik * gdb.base/commands.exp: Break up infrun_breakpoint_command_test into two parts to get around a synchronization problem in expect. -Sun Jun 28 22:34:34 1998 Martin M. Hunt - - * gdb.gdbtk/simple.c (main): Make main return an - int so compiler will stop complaining. - Fri Jun 26 14:27:13 1998 Keith Seitz * lib/gdb.exp (gdbtk_start): Add startup for gdbtk. @@ -2113,9 +2517,6 @@ Fri Jun 26 14:27:13 1998 Keith Seitz * gdb.gdbtk: New directory to hold gdbtk tests. - * gdb.gdbtk/console.{exp, test}: New console window tests. - - Fri Jun 26 14:52:47 1998 Peter Schauer * gdb.fortran/types.exp: Escape brackets in expect patterns