Commit Graph

1528 Commits

Author SHA1 Message Date
Michael Snyder cb9a9d3ed2 2002-05-06 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
	(gdb_continue_to_end): Accept output from status wrapper.
	* gdb.base/ending-run.exp: Add case for output	from status wrapper.
        Clean up fail messages to match pass messages.
2002-05-07 02:22:08 +00:00
Michael Snyder f1c47eb238 2002-05-06 Michael Snyder <msnyder@redhat.com>
Enable the "needs_status_wrapper" testsuite feature.
	* lib/gdb.exp (gdb_wrapper_init): New procedure.
	(gdb_compile): Conditionally call gdb_wrapper_init.
	* gdb.base/a2-run.exp: Recognize output from status wrapper.
	* gdb.c++/method.exp: Recognize output from status wrapper.
2002-05-07 00:45:46 +00:00
Ben Elliston 6079c749e1 2002-05-06 Ben Elliston <bje@redhat.com>
From Graydon Hoare  <graydon@redhat.com>

	* config/sid.exp: Include support for "rawsid" protocol.
2002-05-06 12:19:30 +00:00
Jim Blandy 188baff3f1 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
* gdb.c++/hang3.C: New file.
2002-05-04 20:51:16 +00:00
Andrew Cagney b9c07f0f78 * gdb.base/default.exp: Remove obsolete code.
* gdb.c++/misc.exp: Ditto.  Update copyright.
* gdb.c++/cplusfuncs.exp: Ditto.  Update copyright.
* gdb.base/whatis.exp: Ditto.  Update copyright.
* gdb.base/scope.exp: Ditto.  Update copyright.
* gdb.base/ptype.exp: Ditto.  Update copyright.
* gdb.base/printcmds.exp: Ditto.  Update copyright.
* gdb.base/opaque.exp: Ditto.  Update copyright.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.  Update copyright.
* gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
* gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
* gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2002-05-04 15:18:21 +00:00
Michael Snyder d6dcc2647a 2002-05-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/watchpoint.exp: Add xscale target.
2002-05-03 23:16:44 +00:00
Michael Snyder 5c7a03973f 2002-05-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Add xscale target.
	* gdb.base/default.exp: Add xscale target.
2002-05-03 21:25:08 +00:00
Jim Blandy eb7f1c487a * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
gdb.c++/hang.exp: New test.
2002-05-02 07:03:53 +00:00
Fred Fish a6befae84d 2002-05-01 Fred Fish <fnf@redhat.com>
* gdb.base/completion.exp: Handle completions of "./Make" for
	more than one completion possibility, as is the case when we
	build and test in the source tree.
2002-05-01 15:39:32 +00:00
Anthony Green 0a31027751 New test cases for java support. 2002-04-29 21:33:03 +00:00
Daniel Jacobowitz 6ff9af88cb 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2002-04-24 22:11:28 +00:00
Elena Zannoni 96b3d632cb 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/help.exp: Change 'help status' to allow for target
	dependent output differences.
2002-04-24 03:07:33 +00:00
Michael Chastain 5019bb5448 2002-04-22 Michael Chastain <mec@shout.net>
* gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2002-04-23 05:18:28 +00:00
Michael Chastain a805a116a8 2002-04-22 Michael Chastain <mec@shout.net>
* gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2002-04-23 05:08:31 +00:00
David S. Miller a1706bfd87 2002-04-17 David S. Miller <davem@redhat.com>
* gdb.asm/sparc64.inc: New file.
	* gdb.asm/asm-source.exp: Handle sparc64-*-*.
2002-04-19 17:21:48 +00:00
Elena Zannoni a73a20a2d5 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
* gdb.asm/asm-source.exp: Don't use a symlink, just copy the
	instruction file directly into the build tree.  Clean up at end of
	test.
2002-04-19 16:06:59 +00:00
David S. Miller ba6783391f 2002-04-18 David S. Miller <davem@redhat.com>
* gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
	handle 64-bit platforms correctly.
	* gdb.base/maint.exp: Likewise.
2002-04-18 22:17:01 +00:00
Kevin Buettner b03399da11 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
``-fpic'' when compiling files comprising a shared library, but
	it does need additional linker flags in order to find shared
	libraries at run time.
2002-04-18 21:07:20 +00:00
Kevin Buettner e20049926b * gdb.base/cvexpr.c (use): New function.
(main): Invoke use() on all global variables to prevent
	some linkers from deleting these otherwise unused symbols.
2002-04-18 13:21:03 +00:00
Michael Chastain d8937120db 2002-04-17 Michael Chastain <mec@shout.net>
From David S. Miller  <davem@redhat.com>

	* gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
	handle 64-bit platforms correctly.
2002-04-18 03:24:20 +00:00
Michael Snyder ffd61a589b 2002-04-12 Michael Snyder <msnyder@redhat.com>
From Jim Blandy  <jimb@redhat.com>
        * gdb.base/foo.c (foox): Remove section attribute; the linker
	script can handle this instead.
	* gdb.base/bar.c (barx): Same.
	* gdb.base/baz.c (bazx): Same.
	* gdb.base/grbx.c (grbxx): Same.

        * gdb.base/overlays.exp: New test: check that GDB's manual overlay
	manager doesn't automatically unmap overlays unnecessarily.
2002-04-13 00:21:40 +00:00
Michael Snyder fda6ae12ae 2002-02-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: Relax recognition of function breakpoint.
2002-04-11 18:24:08 +00:00
Martin Hunt 6b8426a663 2002-04-10 Martin M. Hunt <hunt@redhat.com>
* gdb.base/ending-run.exp: Fix pattern for Mips targets
	stepping out of main.
2002-04-11 03:31:26 +00:00
Michael Chastain 34af487575 2002-04-09 Michael Chastain <mec@shout.net>
* gdb.c++/local.cc (main): Move call to marker1() inside nested
	scope so that the nested scope tests will make sense.
	* gdb.c++/local.exp: Write patterns that actually work with gcc
	(the HP patterns "were never known to work with gcc").
	Keep the old aCC patterns too.
2002-04-10 03:52:57 +00:00
Daniel Jacobowitz 2d1676a068 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/attach.exp: Correct target board test.
2002-04-09 20:48:45 +00:00
Michael Chastain 3a63e3f9b9 2002-04-08 Michael Chastain <mec@shout.net>
* gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
	in a const method.  Add some xfail and fail cases for configurations
	that do not emit the "const ...".
2002-04-08 22:43:15 +00:00
Michael Chastain f18dabd22e 2002-04-07 Michael Chastain <mec@shout.net>
* gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
	Accept "A * const" and "const A * const" as type of "this".
	Fix spelling of getFunky throughout.  Make messages uniform.
2002-04-08 07:25:37 +00:00
Elena Zannoni 0fcddd82b6 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Work around for PR gdb/285:
	* gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2002-04-08 00:01:06 +00:00
Elena Zannoni 16a8534aff 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.asm/asm-source.exp: Build symbolic link to arch specific
        instructions file at run time instead of configure time.
        Sometimes we run the test in a directory that is not the one we
        configured in.
        * gdb.asm/configure.in: Delete creation of symlink.
        * gdb.asm/configure: Regenerate.
2002-04-07 23:57:23 +00:00
Joel Brobecker 24181d81cc Document the addition of the new xfullpath.exp testcase. 2002-04-05 16:45:04 +00:00
Joel Brobecker 989d314b85 New testcase. 2002-04-05 16:43:57 +00:00
Daniel Jacobowitz 7cdb710751 2002-04-01 Daniel Jacobowitz <drow@mvista.com>
* gdb.asm/Makefile.in: Correct dependencies.

        * gdb.asm/powerpc.inc: New file.
        * gdb.asm/asm-source.exp: Add PowerPC.
        * gdb.asm/configure.in: Likewise.
        * gdb.asm/configure: Regenerated.
2002-04-05 02:48:33 +00:00
Daniel Jacobowitz a7d17088c5 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/relocate.exp: New file.
        * gdb.base/relocate.c: New file.
2002-04-05 02:45:48 +00:00
Fred Fish cd72150368 2002-04-04 Fred Fish <fnf@redhat.com>
* gdb.base/step-test.exp: Update comment regarding stopping in
	memcpy/bcopy calls inserted as part of the compiler runtime.
2002-04-05 00:30:09 +00:00
Michael Snyder b22ad7a776 2002-04-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2002-04-04 19:48:09 +00:00
Daniel Jacobowitz 5f279fa6a9 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
* lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
        (gdb_expect): Remove $notransfer hack.
2002-04-03 16:17:11 +00:00
Daniel Jacobowitz dd0fd3cee7 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp ("calling method for small class"): Match
        updated register output.
2002-04-03 01:35:23 +00:00
Daniel Jacobowitz 1e50cda1d1 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/452
        * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
        when finished.  Make gdb_file_cmd send "exec-file" when
        appropriate.
2002-03-30 23:47:18 +00:00
Daniel Jacobowitz 24015922ff 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/attach.exp: Remove extra setup_xfail.
2002-03-30 18:54:38 +00:00
Michael Snyder dd7dfd64a3 2002-03-26 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add tests for dump, append, and restore.
	* gdb.base/help.exp: Add tests for dump, append, and restore.
	* gdb.base/dump.exp: New file, test dump, append and restore.
	* gdb.base/dump.c: New file.
2002-03-29 01:19:11 +00:00
Michael Snyder 48b2f8d70e 2002-03-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/help.exp: Modify expect strings to reflect
	clean-ups in help messages.
2002-03-28 01:36:23 +00:00
Fred Fish 05b4d525a6 2002-03-26 Fred Fish <fnf@redhat.com>
* gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
	have debugging info for those functions and the compiler uses them
	internally to copy structs around.
2002-03-26 23:02:30 +00:00
Fred Fish d7679631e8 2002-03-26 Fred Fish <fnf@redhat.com>
* gdb.base/list.exp: Revert the change made yesterday and add note
	about why we don't list the default lines for remote targets.
2002-03-26 14:54:27 +00:00
Michael Snyder 523ac3f9a3 2002-03-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2002-03-26 05:10:26 +00:00
Fred Fish 754b2b8dc7 2002-03-25 Fred Fish <fnf@redhat.com>
* gdb.base/list.exp: This test works on remote targets so remove
	the short circuit for remote targets.  Update copyright.
2002-03-26 00:36:07 +00:00
Fred Fish 629b007a94 Sigh, should have updated the copyright date in the
change I just checked in.  Fix it here.
2002-03-26 00:17:38 +00:00
Fred Fish 33c3e192bd 2002-03-25 Fred Fish <fnf@redhat.com>
* gdb.base/attach.exp: Fix logic error that was suppressing this
	test for all non hppa*-*-hpux* targets, instead of the hp target.
	Move comments closer to the suppression point.  Also now need to
	check that we are running natively.
2002-03-26 00:13:22 +00:00
Michael Snyder 882c8f02fb 2002-03-22 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add test for gcore.  Update copyright.
	* gdb.base/help.exp: Add test for gcore.  Update copyright.
2002-03-23 00:05:29 +00:00
Michael Snyder d43e73eedd 2002-03-22 Michael Snyder <msnyder@redhat.com>
* gdb.base/default.exp: Add test for gcore.
	* gdb.base/help.exp: Add test for gcore.
2002-03-23 00:03:01 +00:00
Michael Chastain 3029f9b89c This is a duplicate of an entry I made in testsuite/ChangeLog.
I overlooked that testsuite/gdb.mi/ChangeLog has its own ChangeLog.
I'm leaving the testsuite/ChangeLog entry in place (ChangeLogs are permanent),
  and adding this one where it belongs.

2002-03-04  Michael Chastain  <mec@shout.net>

	* mi-var-cmd.exp: In test "create local variable func",
	accommodate gcc v3 function signature.
	* mi0-var-cmd-exp: Ditto.
2002-03-10 06:06:16 +00:00
Fred Fish 04c12f60f9 Checked in under the "obvious fix/typo rule".
2002-03-06  Fred Fish  <fnf@redhat.com>
	* gdb.base/funcargs.c:  Remove extraneous ';' character.
	* gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2002-03-07 04:18:55 +00:00
Michael Chastain b43df9952b 2002-03-04 Michael Chastain <mec@shout.net>
* gdb.mi/mi-var-cmd.exp: In test "create local variable func",
	accommodate gcc v3 function signature.
	* gdb.mi/mi0-var-cmd-exp: Ditto.
2002-03-05 19:48:18 +00:00
Andrew Cagney 923620278b s/Linux/.../
Fix PR gdb/378.
2002-02-24 22:56:08 +00:00
Michael Chastain 258ad32d2b 2002-02-24 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c (thread1): Add a return statement.
	(thread2): Likewise.
	(foo): Likewise.
2002-02-24 20:37:56 +00:00
Michael Chastain 04c3b3d429 2002-02-23 Michael Chastain <mec@shout.net>
* gdb.threads/linux-dp.c (philosopher): Add a return statement
	to placate gcc.
2002-02-24 00:42:39 +00:00
Michael Chastain 5a2a0a2077 2002-02-23 Michael Chastain <mec@shout.net>
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
	test "ptype bint".  The test passes on all my stabs configurations.
2002-02-23 20:57:53 +00:00
Jim Blandy 27924826b5 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
filename at a time, and watch for the ones we want to see.
2002-02-21 20:58:25 +00:00
Jim Blandy a640f7fc6b * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
types of pointers to prototyped functions.
2002-02-21 20:34:16 +00:00
Andrew Cagney edcc8c754b * gdb.base/sizeof.c (main): Call fill_structs. Print value of
signed, unsigned and straight char.
(padding_char, padding_short, padding_int, padding_long,
padding_long_long, padding_float, padding_double,
padding_long_double): New global variables.
(fill, fill_structs): New functions.

* gdb.base/sizeof.exp: Check for signed and unsigned char.  Check
for correctly sized writes.  Update copyright.
(get_valueof): New procedure.
(get_sizeof): Call get_valueof.
(check_valueof): New procedure.
(check_padding): New procedure.
2002-02-21 01:55:05 +00:00
Michael Chastain ac57ea443e 2002-02-20 Michael Chastain <mec@shout.net>
* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
	to setup_xfail.  Document some of the remaining calls.
2002-02-20 23:54:01 +00:00
Michael Chastain 7a10c941ea 2002-02-18 Michael Chastain <mec@shout.net>
* gdb.c++/userdef.exp: Update copyright year.
2002-02-18 19:08:05 +00:00
Daniel Jacobowitz fb8acdcc53 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/userdef.exp: Test overloaded operators properly.
        Remove xfails.
2002-02-18 18:57:07 +00:00
Daniel Jacobowitz 676a04427a 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/a2-run.exp: Check for a remote target properly.
        * gdb.base/annota1.exp: Likewise.
        * gdb.base/list.exp: Likewise.
        * gdb.base/reread.exp: Likewise.
        * gdb.base/scope.exp: Likewise.
        * gdb.base/shlib-call.exp: Likewise.
        * gdb.base/term.exp: Likewise.
        * gdb.c++/annota2.exp: Likewise.
2002-02-14 06:25:19 +00:00
Richard Earnshaw 78b4f46824 * gdb.base/watchpoint.exp: Restore previous timeout at end of test. 2002-02-13 17:40:42 +00:00
Michael Chastain 9a81ba5174 2002-02-10 Michael Chastain <mec@shout.net>
* gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
	(call_after_alloca): Ditto.
2002-02-11 04:47:59 +00:00
Daniel Jacobowitz 23f572c231 Update copyright date. 2002-02-10 18:58:26 +00:00
Daniel Jacobowitz 004af6c7ff 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/ending-run.exp: Guard "cont" test with
        gdb_skip_stdio_test.
2002-02-10 18:21:36 +00:00
Jim Blandy 37225f62c4 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
from here...
* gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
To here.  Disable this test on non-HP platforms.  Add big comment.
2002-02-07 22:02:31 +00:00
Jim Blandy e1ad829b91 * mi-regs.exp: Various cleanups for SPARC-only tests.
(test_breakpoints_creation_and_listing): Format of breakpoint
table has changed.
(sparc_register_tests): Expand floating-point number regexp to
recognize NaN values, too.  Replace ineffectual single backslash
before a hyphen with a double backslash.  Don't check the exact
numbers of the registers which have changed, since there's no way
to know which registers changed, exactly; just check that the
result is well-formed.
* mi0-regs.exp: (sparc_register_tests): Same as for
sparc_register_tests in mi-regs.exp.
2002-02-05 23:58:45 +00:00
Jim Blandy 15002962be * mi-var-child.exp ("get children of struct_declarations", "get
children of struct_declarations.s2.u2.u1s2", "get children of
weird"): Tolerate argument types when they appear in function
types.  (Dwarf 2 includes prototype info; STABS does not.)
* mi0-var-child.exp: Same.
2002-02-05 23:56:45 +00:00
Michael Snyder fe6fdd96e9 2002-02-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
          other than d10v and m32r.
2002-02-05 03:44:25 +00:00
Michael Snyder b082f19936 2002-01-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: Remove extra debugging output.
2002-02-05 01:15:51 +00:00
Richard Earnshaw 036fad3fdc * gdb.base/default.exp: Rewrite test patterns to reduce time
taken to match them.
2002-02-04 18:02:25 +00:00
Daniel Jacobowitz 7148ab6212 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
        Allow a start function above main.
        * gdb.threads/linux-dp.exp: Fix copyright date.
2002-01-31 05:08:41 +00:00
Daniel Jacobowitz 396cc25565 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
* gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
        (check_philosopher_stack): Check for manager thread before checking
        for a just-starting thread.
2002-01-31 05:05:29 +00:00
Daniel Jacobowitz f038d31b6c 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
From Neil Booth <neil@daikokuya.demon.co.uk>:
        * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
        warnings.
2002-01-30 22:38:56 +00:00
Fred Fish b3ff9d9a65 2002-01-21 Fred Fish <fnf@redhat.com>
* gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
	not caller.
2002-01-22 01:05:06 +00:00
Jim Blandy 39ad761d6d * infcmd.c (run_command): Check that the `exec' target layer's BFD
is up-to-date before running the program, not just when a program
exits.

* testsuite/gdb.base/reread.exp: Check that GDB properly re-reads the
executable file when it changes while no inferior is running.
2002-01-21 21:57:55 +00:00
Fred Fish aaf320fa4a Approved by fnasser@redhat.com:
2002-01-21  Fred Fish  <fnf@redhat.com>
        * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
        optionally accept the "shlib events" variation.
2002-01-21 20:25:18 +00:00
Jim Blandy 808a31f526 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
call `fflush' after every `printf', so that the output is produced
at predictable points, regardless of whatever buffering does (or
doesn't) take place.
* gdb.base/ending-run.exp: Adjust tests to expect output to appear
at different points.
2002-01-21 18:46:33 +00:00
Daniel Jacobowitz 4420d5e23b Copyright year updates. 2002-01-20 19:46:32 +00:00
Daniel Jacobowitz 3e36a0f45e 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/classes.exp: Update for improved v3 support and skipping
	artificial methods/arguments.
	* gdb.c++/derivation.exp: Likewise.
	* gdb.c++/inherit.exp: Likewise.
	* gdb.c++/method.exp: Likewise.
	* gdb.c++/virtfunc.exp: Likewise.
2002-01-20 19:22:13 +00:00
Andrew Cagney b4ceaee622 Mark testsuite/gdb.hp/gdb.threads-hp/ as obsolete. 2002-01-19 03:48:21 +00:00
Jim Blandy ecace851a6 * gdb.asm/asm-source.exp (info symbol): Take another shot at
anchoring the pattern matching the entry point symbol's name.
2002-01-18 00:13:00 +00:00
Andrew Cagney 375fc98382 Change behavour of internal-error to quit and dump core by default. 2002-01-17 23:33:39 +00:00
Daniel Jacobowitz e017c81f1f 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
        for slightly dubious v2 mangled string.
2002-01-13 23:54:10 +00:00
Daniel Jacobowitz 37ab3bf83d 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2002-01-13 22:13:06 +00:00
Jason Merrill 1bc05c3a56 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
* gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
        constructors.
        * gdb.c++/derivation.exp: Likewise.
        * gdb.c++/templates.exp: Likewise.
        * gdb.c++/virtfunc.exp: Likewise.
2002-01-10 20:46:16 +00:00
Michael Snyder 7b2ac63ba0 2002-01-10 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2002-01-10 18:27:09 +00:00
Jason Merrill ce520b11b3 update copyright 2002-01-10 17:48:03 +00:00
Jason Merrill ffcb195b51 * gdb.c++/namespace.exp: '\0', not '\000'. 2002-01-10 13:21:58 +00:00
Michael Snyder a911c3606d 2002-01-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/gcore.exp: New test for generate-core-file command.
	* gdb.base/gcore.c: Testcase for above.
	* gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2002-01-09 00:37:41 +00:00
Jason Merrill ea2119ec84 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>. 2002-01-08 16:00:16 +00:00
Fred Fish 6820313638 Approved by mec@shout.net.
2002-01-07  Fred Fish  <fnf@redhat.com>
	* gdb.c++/overload.exp: Remove unconditional xfails for:
	print foo_instance1.overloadargs(1)
	print foo_instance1.overloadargs(1, 2)
	print foo_instance1.overloadargs(1, 2, 3)
	print foo_instance1.overloadargs(1, 2, 3, 4)
	print foo_instance1.overloadargs(1, 2, 3, 4, 5)
	print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
	print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
	print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
	print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
	print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
	print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
	print foo_instance1.overload1arg()
	print foo_instance1.overload1arg((char)arg2)
	print foo_instance1.overload1arg((signed char)arg3)
	print foo_instance1.overload1arg((unsigned char)arg4)
	print foo_instance1.overload1arg((int)arg7)
	print foo_instance1.overload1arg((unsigned int)arg8)
	print foo_instance1.overload1arg((float)arg11)
	print foo_instance1.overload1arg((double)arg12)
2002-01-08 05:37:43 +00:00
Michael Snyder 21b9b5b1ca 2002-01-07 Michael Snyder <msnyder@redhat.com>
* gdb.base/huge.exp: New test.  Print a very large target data object.
	(skip_huge_test): New test variable.  Define if you want to skip this
	test.  The test reads an 8 megabyte data object from the target, so it
	might be very time consuming on remote targets with a slow connection.
	* gdb.base/huge.c: New file.  Test case for above.
2002-01-08 01:00:10 +00:00
Fred Fish 725f922e71 Approved by med@shout.net:
2002-01-07  Fred Fish  <fnf@redhat.com>
	* gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
	g_instance.bfoo, and g_instance.cfoo.
2002-01-07 21:23:35 +00:00
Jeff Law f286b2c396 * gdb.base/break.c (multi_line_if_conditional): New function.
(multi_ilne_while_conditional): Likewise.
        * gdb.base/break.exp: Verify that a breakpoint on a multi-line
        IF or WHILE condition puts the breakpoint at the start of
        the condition.
2002-01-07 19:21:27 +00:00
Jeff Law 634d57ec50 * gdb.base/selftest.exp (backtrace through signal handler): Remove
hppa*-*-hpux* expected failure.
	* gdb.base/structs.exp (do_function_calls): Similarly.

	* gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
	watchpoints.
2002-01-07 19:20:10 +00:00
Andrew Cagney 9fbfe2dc64 Fix PR gdb/66.
* gdb.base/structs.exp: Replace skip for a29k with skip for
gdb,cannot_call_functions.
* gdb.base/call-ar-st.exp: Remove references to a29k in comments.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/call-rt-st.exp: Ditto.
* gdb.base/call-strs.exp: Ditto.
* gdb.base/callfwmall.exp: Ditto.
* gdb.base/scope.exp: Obsolete xfail a29k.
* gdb.c++/misc.exp: Ditto.
* gdb.c++/cplusfuncs.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/printcmds.exp: Ditto.
* gdb.base/opaque.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/default.exp: Ditto.
2002-01-06 14:42:39 +00:00
Michael Snyder ca4976a694 2002-01-04 Michael Snyder <msnyder@redhat.com>
* gdb.base/info-proc.exp: New file, test for "info proc" cmd.
2002-01-05 02:44:07 +00:00