Commit graph

1321 commits

Author SHA1 Message Date
Elena Zannoni
5dd55bddfe 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/schedlock.c: Change type of thread function argument
	to long, to avoid warnings on 64-bit platforms.
2003-04-15 02:23:11 +00:00
Elena Zannoni
0089057280 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp: Add new message from ptrace in case of
        attaching to nonexistent process.
2003-04-14 14:04:06 +00:00
Jim Blandy
93201743fe * gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.cc: Place comments on the lines to which the
marker function might return.
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: Look for those comments to check that we've
returned to the right place, instead of checking line numbers.
2003-04-11 19:57:33 +00:00
Elena Zannoni
2a11c64dc4 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
        match on sourcefile name, instead of directory name.
2003-04-11 13:55:32 +00:00
Elena Zannoni
68ab8fc55f 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Use string_to_regexp to match the
	working directory name.
2003-04-10 13:38:15 +00:00
Jim Blandy
5624293aaa * gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: If GDB fails to restore the selected frame
after an inferior function call, report the failure, but allow the
test to continue.
2003-04-09 23:21:14 +00:00
Stephane Carrez
f1f02ee4e4 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
2003-04-05 13:35:25 +00:00
Stephane Carrez
6eb79af08f * gdb.base/break.exp: Revert last patch. 2003-04-05 10:40:59 +00:00
Stephane Carrez
8dfb4cf091 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.
2003-04-04 20:03:46 +00:00
Andrew Cagney
ed4c619a67 2003-04-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Make "print add" messages unique.
	* gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
	matching directories by the name breakpoint.
	* gdb.base/pointers.exp: Make "ptype pppC" message consistent.
	Make "continue to marker1" consistent.
	* gdb.base/call-rt-st.exp: Make "finish out from loop_count"
	message consistent.
	* lib/gdb.exp: Put "the program is no longer running", and "the
	program exited" in parenthesis.
	* lib/mi-support.exp: Ditto.
2003-04-03 16:34:48 +00:00
Bob Rossi
4e35d5f041 I broke my first ChangeLog :), fixing it. 2003-04-02 23:48:21 +00:00
Andrew Cagney
71900fe836 2003-03-29 Andrew Cagney <cagney@redhat.com>
* gdb.base/sizeof.c (main): Print the value of '\377'.
	* gdb.base/sizeof.exp: Check the sign of '\377'.
2003-03-30 04:08:16 +00:00
Michael Chastain
c0655a1649 2003-03-27 Michael Chastain <mec@shout.net>
* gdb.base/gdb1090.exp: New file.
	* gdb.base/gdb1090.cc: New file.
2003-03-27 21:29:49 +00:00
Joel Brobecker
5b2a3989ef * gdb.gdb/observer.exp: New regression test. 2003-03-27 20:13:28 +00:00
Michael Chastain
7987689039 2003-03-27 Michael Chastain <mec@shout.net>
* gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
	* gdb.base/ptype.exp: Likewise.
2003-03-27 18:59:11 +00:00
Corinna Vinschen
6eac95e375 * gdb.c++/casts.exp: Fix startup to run also on embedded targets. 2003-03-27 14:09:52 +00:00
Michael Chastain
e8c7183923 2003-03-26 Michael Chastain <mec@shout.net>
* gdb.base/ptype.exp: Actually use some typedef'd types.
2003-03-26 22:10:39 +00:00
Stephane Carrez
71b10041ee * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
* gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
2003-03-21 20:34:38 +00:00
Corinna Vinschen
2512cf80ca * gdb.base/default.exp: Fix regular expression. 2003-03-20 14:45:50 +00:00
Corinna Vinschen
0d195a4f2d * gdb.base/args.exp: Fix regular expression. 2003-03-20 14:42:15 +00:00
Corinna Vinschen
8a2dbca8e1 * gdb.base/help.exp: Allow Win32 child process. 2003-03-20 14:19:41 +00:00
Corinna Vinschen
bf02868245 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
2003-03-20 14:10:17 +00:00
Corinna Vinschen
182dbe8580 * gdb.base/default.exp: Check for win32 specific message when calling
"run" without executable.
2003-03-20 13:27:49 +00:00
Corinna Vinschen
d67a6ba598 * gdb.base/args.exp: Expect .exe in output. 2003-03-20 13:06:51 +00:00
Corinna Vinschen
a955b5bb63 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
Cygwin native.
2003-03-20 12:57:48 +00:00
Andrew Cagney
bf6bad4b99 2003-03-17 Andrew Cagney <cagney@redhat.com>
From Elena Zannoni <ezannoni@redhat.com>.  Test e500 abi and
	vector registes.
	* gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
	* gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
2003-03-17 20:06:16 +00:00
David Carlton
293e9a3142 2003-03-17 David Carlton <carlton@math.stanford.edu>
* gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
	test, for PR breakpoints/38.
	Call test_watchpoint_and_breakpoint.
	* gdb.base/watchpoint.c (func3): New function.
	(main): Call func3.
2003-03-17 19:51:58 +00:00
David Carlton
5330f2dba0 2003-03-04 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Accept valid const in "print
	Garply<Garply<char> >:: garply".
	(test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
	with respect to PR c++/1111; note also PR c++/1113.
	(test_template_breakpoints): KFAIL "constructor breakpoint" with
	respect to PR c++/1062.
	KFAIL "destructor breakpoint" with respect to PR c++/1112.
2003-03-04 17:02:20 +00:00
David Carlton
6ece72dad9 2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
	with respect to PR c++/57.
	KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
	c++/826.
	Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
	respect to PR c++/57.
2003-03-03 18:48:31 +00:00
David Carlton
85ca158413 2003-03-03 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Convert the KFAILs with
	respect to PR c++/33 into FAILs.
2003-03-03 18:39:47 +00:00
Michael Chastain
7bedbf2755 2003-03-03 Michael Chastain <mec@shout.net>
* configure.in: Update copyright years.
2003-03-03 15:45:24 +00:00
Michael Chastain
98e9c5b8c3 2003-03-03 Michael Chastain <mec@shout.net>
* Makefile.in: update copyright years.
2003-03-03 15:18:20 +00:00
David Carlton
f683e100b7 2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
	print class instead of struct and/or superfluous protection
	specifiers, as long as the resulting output is equivalent to the
	source code.
	Delete FIXME from end of messages on tests that don't need
	fixing.
2003-02-28 17:51:35 +00:00
David Carlton
a9e0cf2cae 2003-02-28 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Allow const in the two
	Foo<volatile char *>::foo tests.
2003-02-28 17:50:16 +00:00
Michael Snyder
e8d359df3a 2003-02-27 Michael Snyder <msnyder@redhat.com>
* gdb.base/restore.c (main): Return zero, so exit code
        will be consistant.
2003-02-27 18:36:31 +00:00
David Carlton
0b71dc91d9 2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
	char *>::foo" test with respect to PR c++/33.  Create a new test
	which is identical to that one except that it doesn't put the
	space between the "char" and the "*"; KFAIL it, too.
2003-02-26 20:30:05 +00:00
David Carlton
dd14ab4396 2003-02-26 David Carlton <carlton@math.stanford.edu>
* gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
	template types into either PASSes or KFAILs (corresponding to PR
	c++/57).  Tweak indentation.  Update copyright.
2003-02-26 20:23:13 +00:00
Stephane Carrez
1146c7f1ab * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets. 2003-02-23 22:11:07 +00:00
Michael Chastain
74641dfb93 2003-02-13 Michael Chastain <mec@shout.net>
* gdb.base/exprs.exp: Remove i960 remnants.
	* gdb.base/funcargs.exp: Likewise.
	* gdb.base/list.exp: Likewise.
	* gdb.base/ptype.exp: Likewise.
2003-02-15 18:32:45 +00:00
David Carlton
559cd2d004 2003-02-14 David Carlton <carlton@math.stanford.edu>
* gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
	pEe->D::vg()" from XFAIL to KFAIL.
2003-02-15 01:20:46 +00:00
Jason Molenda
c4f90d873c [ChangeLog]
2003-02-12  Jason Molenda  (jmolenda@apple.com)

        * symmisc.c (print_objfile_statistics): Include information about
        the number of psymtabs and symtabs in each object file.

[testsuite/ChangeLog]
2003-02-13  Jason Molenda  (jmolenda@apple.com)

        * gdb.base/maint.exp: Update maint print statistics regexp to include
        new entries.
2003-02-14 01:13:45 +00:00
Michael Chastain
cbc4d97c1c 2003-02-13 Michael Chastain <mec@shout.net>
* gdb.c++/inherit.exp: Remove call to get_debug_format.
2003-02-13 22:42:59 +00:00
Michael Chastain
40f235b7e2 2003-02-12 Michael Chastain <mec@shout.net>
* gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
	* gdb.c++/inherit.exp: Likewise.
	* gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
	* gdb.c++/templates.exp: Likewise.
	* gdb.c++/virtfunc.exp: Likewise.
2003-02-13 21:33:20 +00:00
Jason Molenda
c56716b08b 2003-02-06 Jason Molenda (jason-cl@molenda.com)
* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
	why the code is written that way.
2003-02-06 18:26:20 +00:00
Michael Chastain
070afcf86f 2003-02-05 Michael Chastain <mec@shout.net>
* gdb.base/dump.exp: Add missing copyright line.
2003-02-06 06:39:38 +00:00
Jason Molenda
f7ae6d3e1f typeo 2003-02-06 06:30:18 +00:00
Jason Molenda
5d0331e5f2 2003-02-05 Jason Molenda (jason-cl@molenda.com)
* gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement
	at the beginning so the breakpoint doesn't get set on the loop.
2003-02-06 06:27:01 +00:00
Michael Chastain
92851186c3 2003-02-05 Michael Chastain <mec@shout.net>
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
	output for configurations with gcc 2.95.3.
2003-02-06 02:11:01 +00:00
Andrew Cagney
cbf1e08505 2003-02-05 Keith Seitz <keiths@redhat.com>
Andrew Cagney  <ac131313@redhat.com>

	* gdb.mi/mi-cli.exp: New file.
2003-02-06 01:22:06 +00:00
Michael Chastain
29518e1ebf 2003-02-04 Michael Chastain <mec@shout.net>
* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
	Call perror and then continue.
2003-02-05 07:25:00 +00:00