Commit Graph

939 Commits

Author SHA1 Message Date
Michael Snyder 0521c418a2 2001-08-02 Michael Snyder <msnyder@redhat.com>
* 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-06 22:08:12 +00:00
Dave Brolley 74a9a58ab5 2001-08-02 Dave Brolley <brolley@redhat.com>
* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2001-08-04 15:56:41 +00:00
Michael Snyder c2b8fa57f7 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/consecutive.exp: New file.  Test stepping over
	breakpoints on consecutive instructions.
	* gdb.base/consecutive.c: New file.
2001-07-25 23:16:40 +00:00
Michael Snyder c70819faea 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/call-rt-st.exp: Use double-backslash to quote
	curly braces in regular expressions.
2001-07-25 22:45:25 +00:00
Michael Snyder 2b1a1355c5 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/ending-run.exp: Accept "Program exited normally" as
	legitimate output from stepping out of main.
2001-07-25 22:41:43 +00:00
Keith Seitz 413eca6f96 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
the empty string, do not run the tests.
2001-07-23 19:02:31 +00:00
Stephane Carrez 7e5a932280 * gdb.base/long_long.exp: Detect size of pointer. Take into
account 2-byte pointers when testing for p/a results.
2001-07-17 22:19:49 +00:00
Stephane Carrez de58f10fe4 * 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-17 21:47:19 +00:00
Stephane Carrez d6f5fea1d2 * 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 18:49:43 +00:00
Stephane Carrez c477543d3a * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
tests that print a float.
	* call-rt-st.exp: Likewise.
2001-07-16 18:44:23 +00:00
Mark Kettenis 63cf1c791c * gdb.base/so-impl-ld.exp: Remove stray space that prevented
running this test on Linux.
2001-07-12 13:07:32 +00:00
Michael Chastain 112f9ab535 2001-06-24 Michael Chastain <chastain@redhat.com>
* gdb.base/arithmet.exp: Remove some tests to make all test names
	unique.
2001-07-09 21:42:52 +00:00
Michael Snyder 4c8a82de3f 2001-07-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/completion.exp: Don't assume that break.c is the only
	source file that may contain functions named "marker".
2001-07-06 22:51:21 +00:00
Michael Snyder 4970cb0f38 2001-07-03 Michael Snyder <msnyder@redhat.com>
* gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
	the output of the ptype command.
2001-07-03 19:52:46 +00:00
Michael Snyder d85da69f69 2001-07-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/corefile.exp: Quote the curly braces in regexp.
2001-07-02 21:54:14 +00:00
Andrew Cagney 8afc772b05 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
of files to delete.
From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
* gdb.disasm/h8300s.exp: New file.
gdb.disasm/h8300s.s: Likewise.
2001-06-28 22:01:22 +00:00
Andrew Cagney cff22675c6 For MI>0, output full breakpoint table header information. Output the
breakpoint table body as a list.
2001-06-27 17:27:08 +00:00
Andrew Cagney 68c81b5495 * stack.c (print_frame): For ui_out, output a list of arguments.
Update all tests.  Update doco.
2001-06-26 04:48:49 +00:00
Andrew Cagney 2dd627049d Rename gdb.mi/ChangeLog-mi to gdb.mi/ChangeLog. Update everything. 2001-06-23 21:47:09 +00:00
Michael Chastain b4127474dc 2001-06-22 Michael Chastain <chastain@redhat.com>
* gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
	This is operationally compatible with the previous version.
2001-06-23 05:22:46 +00:00
Jim Blandy 8dbfb380f7 * lib/gdb.exp (gdb_test): Doc fix. 2001-06-14 00:12:32 +00:00
Michael Chastain f2d8c86d38 2001-06-10 Michael Chastain <chastain@redhat.com>
* gdb.base/exprs.exp: Remove a duplicate test.
2001-06-11 16:06:46 +00:00
Jim Blandy 81564d3419 * 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-06 22:05:08 +00:00
Michael Snyder da55addb08 2001-06-04 Michael Snyder <msnyder@redhat.com>
* 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 18:34:53 +00:00
Jim Blandy b18bced9af * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.
2001-06-06 18:25:46 +00:00
Jim Blandy 42c6598756 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings. 2001-06-06 18:22:29 +00:00
Jim Blandy 5b41e5f013 * gdb.base/help.exp: Update pattern to exclue `print-load-map'
command.
2001-06-05 05:03:44 +00:00
Kevin Buettner 015e046f80 * gdb.base/annota1.exp (info break): Match four or more spaces
after "Address".
2001-06-01 02:50:17 +00:00
Michael Chastain fb1ffbbef0 2001-05-31 Michael Chastain <chastain@redhat.com>
* 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-31 22:04:46 +00:00
Kevin Buettner 5ea2a32c88 * 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-30 02:54:41 +00:00
Michael Snyder ac55707e4a 2001-05-24 Michael Snyder <msnyder@redhat.com>
* 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.
2001-05-25 01:29:01 +00:00
Michael Snyder ae23c49223 2001-05-24 Michael Snyder <msnyder@redhat.com>
* gdb.threads/pthreads.exp (test_startup): Relax test for thread
	debugging.  If test fails, issue an "unsupported" not a "fail".
2001-05-25 01:10:20 +00:00
Jim Blandy 400071f14b 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-25 00:01:29 +00:00
Michael Snyder 0816a3e5d5 2001-05-24 Michael Snyder <msnyder@redhat.com>
* 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-24 19:54:41 +00:00
Michael Snyder 2caa35cb88 2001-05-21 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Allow for targets with 4-byte short.
2001-05-24 18:30:10 +00:00
Kevin Buettner f6dc23a931 * 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-24 01:14:15 +00:00
Michael Chastain 7dbd117d87 2001-05-19 Michael Chastain <chastain@redhat.com>
* 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-23 19:04:13 +00:00
Kevin Buettner 6b0b0a9efb * 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-22 00:25:27 +00:00
Michael Chastain fb18ec4a20 Add missing entry for change committed on 2001-01-28. 2001-05-12 21:56:04 +00:00
Elena Zannoni 40713331c5 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Revamp test. Make it execute on all
       platforms.
2001-05-11 19:53:04 +00:00
Elena Zannoni 2c9cd3035a Fix ChangeLog cut-n-paste error! 2001-05-10 19:36:38 +00:00
Elena Zannoni c2c1be8d4c 2001-04-12 Elena Zannoni <ezannoni@redhat.com>
* 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-10 19:35:14 +00:00
Keith Seitz 9671de4892 * 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-07 20:34:45 +00:00
Keith Seitz 2d4a16222b ChangeLog cleanup: move all references to gdbtk stuff to gdb.gdbtk/ChangeLog (which
has been merged with gdb.gdbtk/ChangeLog-gdbtk).
2001-05-07 15:38:59 +00:00
Jim Blandy 5a360f470b * restore.c: Make the code of caller0 correspond to its comment. 2001-05-07 00:05:15 +00:00
Michael Snyder 66c756c665 2001-05-03 Michael Snyder <msnyder@redhat.com>
* 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-05-04 21:07:01 +00:00
Michael Snyder ca3f91ed68 2001-01-26 Felix Lee <flee@redhat.com>
* sid.exp (sid_exit): Pass host, not target, to remote_close.

2001-01-25  matthew green  <mrg@redhat.com>

	* 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  <mrg@redhat.com>

	* 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  <mrg@redhat.com>

	* config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2001-05-04 21:02:12 +00:00
Jim Blandy 851c18e0e9 * 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.
2001-04-24 17:47:42 +00:00
Jim Blandy a966fde5a0 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
variations.
2001-04-24 17:39:14 +00:00
Michael Chastain db14485300 2001-04-22 Michael Chastain <chastain@redhat.com>
* gdb.c++/local.exp: Use the 'runto' library function.
	* gdb.c++/namespace.exp: Likewise.
	* gdb.c++/overload.exp: Likewise.
2001-04-23 17:02:05 +00:00