X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2FChangeLog;h=1e8f1d84d555c2508058593c5ec9705b03fea2ab;hb=b55a47712d086798248e912a18b8a4e4419e2c83;hp=1e6896ec0c1ff205372e788ace16a6ac41721685;hpb=13b57657099c839e1508400a4a73b222d4da2c25;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1e6896ec0c..1e8f1d84d5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,385 @@ +2001-09-27 Michael Snyder + + * lib/gdb.exp (test_debug_format): New proc. + (setup_xfail_format): Use new proc test_debug_format. + * gdb.base/constvars.exp (local_compiler_xfail_check): New + proc; use new service proc test_debug_format. + Replace all other "gcc_compiled" tests with this test. + * gdb.base/volatile.exp (local_compiler_xfail_check): New + proc; use new service proc test_debug_format. + Replace all other "gcc_compiled" tests with this test. + +2001-09-27 Michael Snyder + + * gdb.base/cvexpr.exp: New file. + * gdb.base/cvexpr.c: New file + Test for expressions using const and volatile keywords. + +2001-09-26 Corinna Vinschen + + * gdb.base/constvars.exp: Check for different orders of keywords + and additional "int" strings in output. + +2001-09-22 Andrew Cagney + + * gdb.base/maint.exp: Add "maintenance set/show" to list of valid + responses from "help maint". + +2001-09-19 Frank Ch. Eigler + + * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY + to localhost:NNN instead of :NNN, in case Xvfb is listening + only on TCP. + +2001-09-19 Corinna Vinschen + + * gdb.base/recurse.exp: When checking leaving the watchpoint + scope, recognize when gdb is in function's epilogue and pass. + +2001-09-18 Keith Seitz + + * lib/insight-support.exp (_gdbtk_export_target_info): Add + support for running tests against sid targets. + (gdbtk_done): Ditto. + +2001-09-18 Corinna Vinschen + + * gdb.base/ending-run.c (main): Set stdout buffersize + to the same reasonable value for any target. + * gdb.base/ending-run.exp: Add a regular expression + to make testsuite happy on Sanyo Stormy16 target. + +2001-09-17 Corinna Vinschen + + * gdb.base/display.c (do_loops): Add float variable `f'. + Increment f in loop. + * gdb.base/display.exp: Increment timeout by 60 seconds. + Change float display test to use variable `f'. + +2001-09-17 Jim Blandy + + * gdb.base/restore.exp: Use temporary breakpoints, to avoid + overflowing the limited breakpoint tables on some ROM monitors + (like the ROM68K). + +2001-09-15 Frank Ch. Eigler + + * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with + the "-ac" (disable access control) flag. + +2001-08-30 Jeff Holcomb + + * gdb.base/remote.c: Use a small buffer for targets with 16-bit + ints. + +2001-08-30 Keith Seitz + + * lib/gdb.exp: Move all insight-related functionality into + separate file. + * lib/insight-support.exp: New file. + +2001-08-29 Frank Ch. Eigler + + * config/sid.exp (sid_start): Never set sid verbosity; disable + expect_background {} that consumed its stdout; tolerate + + * 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 @@ -204,6 +586,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. @@ -1628,79 +2052,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 @@ -2230,11 +2593,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. @@ -2245,9 +2603,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