Commit Graph

2278 Commits

Author SHA1 Message Date
Michael Chastain 2580899957 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/inherit.exp: Use cp_test_ptype_class.
2004-08-13 10:24:52 +00:00
Michael Chastain 226a8d71a3 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Remove unused declarations.  Just let
	test names default instead of providing special names.  Remove
	extraneous demangler test.
2004-08-13 08:48:46 +00:00
Jeff Johnston 37fdf8545e 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/unload.exp: New test for breakpoints in dynamically
        loaded libraries.
        * gdb.base/unload.c: Ditto.
        * gdb.base/unloadshr.c: Ditto.
2004-08-12 20:22:59 +00:00
Michael Chastain 2d3a79861d 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp (test_ptype_class_objects): Call
	cp_test_ptype_class.
	(test_enums): Likewise.
2004-08-12 18:51:41 +00:00
Andrew Cagney cc503c8aa2 2004-08-10 Andrew Cagney <cagney@gnu.org>
* main.c (captured_main): Delete call to init_malloc.
	* defs.h (init_malloc): Delete declaration.
	* utils.c (mmalloc, mrealloc, mcalloc, mfree)
	(init_malloc): Delete functions.

Index: testsuite/ChangeLog
2004-08-10  Andrew Cagney  <cagney@gnu.org>

	* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
	init_malloc call.
2004-08-10 22:36:39 +00:00
Michael Chastain 902f2ccb3d 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
* ChangeLog: Add copyright notice.  The notice is copied
	from emacs 21.3 top level ChangeLog.
2004-08-10 19:13:35 +00:00
Michael Chastain 78c9050252 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* lib/cp-support.exp: New file.
	* lib/cp-support.exp (cp_test_type_class): New function.
	* gdb.cp/derivation.exp: Use cp_test_ptype_class.
	* gdb.cp/virtfunc.exp (test_one_ptype): Removed.
	* gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
	cp_test_ptype_class.
2004-08-09 22:47:50 +00:00
Michael Chastain 88e5ea782b 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
	gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
	gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
	gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
	gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
	gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
	gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
	gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
	gdb.mi/mi2-watch.exp: Update copyright years.
2004-08-09 22:21:54 +00:00
Mark Kettenis 6a89fc9c75 * gdb.base/sigaltstack.exp: Provide proper anchoring. 2004-08-09 19:09:30 +00:00
Michael Chastain 1482e0de82 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
	gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
	gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
	gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
	gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
	gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
	gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
	gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
	gdb.mi/mi-watch.exp: Update copyright years.
2004-08-09 16:32:44 +00:00
Daniel Jacobowitz 1a5ce3f34d PR gdb/1738
* gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
	from a breakpoint with a pending signal.
2004-08-09 13:17:34 +00:00
Daniel Jacobowitz 04f6ecf279 PR gdb/1736
* lib/gdb.exp (gdb_test_multiple): Handle return -code return.
	* gdb.base/sigaltstack.exp (finish_test): Consume output until
	the prompt.
	* gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
2004-08-09 13:16:16 +00:00
Daniel Jacobowitz 54d90d3515 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'. 2004-08-09 13:15:26 +00:00
Daniel Jacobowitz d2f6abb049 PR gdb/1736
* gdb.base/sigaltstack.exp (finish_test): New procedure.  KFAIL
	for i?86-*-linux*.
2004-08-08 23:14:33 +00:00
Daniel Jacobowitz 5598c03d21 * gdb.arch/i386-prologue.exp: Compile without debug information. 2004-08-08 22:15:08 +00:00
Michael Chastain c6fee70509 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
* lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
	rather than asking gdb to search.
2004-08-08 16:16:42 +00:00
Michael Chastain dd90efdb05 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Include <string.h>.
2004-08-05 07:44:47 +00:00
Michael Chastain 1e84bec179 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/gcore.c: Add copyright notice.
2004-08-05 07:38:42 +00:00
Michael Chastain e425eb2b82 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/freebpcmd.c: Include <stdio.h>.
	* gdb.base/long_long.c: Include <string.h>.
	* gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
	* gdb.base/siginfo.c: Include <string.h>.
	* gdb.base/sigstep.c: Include <string.h>.
2004-08-05 07:28:20 +00:00
Michael Chastain cb9aaed5ee 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Include <stdlib.h>.
2004-08-05 00:59:23 +00:00
Michael Chastain 55944f3dc4 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/complex.c: Add copyright notice.
2004-08-05 00:53:01 +00:00
Michael Chastain 7b2953d9c2 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/charset.c: Include <stdlib.h>.
2004-08-05 00:31:49 +00:00
Michael Chastain c9133d23e8 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Include <stdlib.h>.
2004-08-05 00:20:38 +00:00
Michael Chastain 0a8490ad3a 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/auxv.c: Add copyright notice.
2004-08-05 00:04:28 +00:00
Michael Chastain 3426d5eccb 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/coremaker.c: Add copyright notice.
	* gdb.base/coremaker2.c: Add copyright notice.
2004-08-04 23:55:15 +00:00
Andrew Cagney 8da195dd34 2004-08-04 Andrew Cagney <cagney@gnu.org>
* gdb.base/store.exp: Update copyright.
	(check_set, up_set, check_struct, up_struct): Add a prefix to test
	names, do not import gdb_prompt.
2004-08-04 14:59:56 +00:00
Andrew Cagney 8d394f983f 2004-08-01 Andrew Cagney <cagney@gnu.org>
Fix PR testsuite/1729.
	* gdb.base/dump.exp: Add test name to callers of capture_value, do
	not use capture_value with value 4.
	(capture_value): Add optional test name parameter.
	(test_reload_saved_value, test_restore_saved_value): Use $msg as
	the prefix, pass to capture_value.
2004-08-02 03:13:56 +00:00
Mark Kettenis b6702b2336 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
* gdb.arch/i386-prologue.c (standard): New prototype and function.
(main): Call new function.
2004-08-01 14:28:51 +00:00
Michael Chastain c203e0ca36 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/namespace.exp: Accept more varieties of ptype output.
2004-08-01 01:03:47 +00:00
Michael Chastain a7995a30f3 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
2004-07-31 10:48:01 +00:00
Michael Chastain b6eeaf26b3 My last ChangeLog entry was in correct.
-* gdb.cp/classes.exp: Accept more varieties of ptype output.
  +* gdb.cp/inherit.exp: Accept more varieties of ptype output.

Sorry about that.
[Slow down, cowboy!]
2004-07-31 10:40:27 +00:00
Michael Chastain 9366563b11 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept more varieties of ptype output.
	Accept more values of vtbl pointer.  Remove some messages
	about "obsolete gcc or gdb".
2004-07-31 09:50:12 +00:00
Michael Chastain 2fc1f95015 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept more varieties of ptype output.
2004-07-31 07:45:35 +00:00
Michael Chastain c724d49b86 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/asm-source.exp: Properly convert target board
	debug flags from gcc format to binutils format.
2004-07-30 22:09:01 +00:00
Mark Kettenis 736b0fceca * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
gdb1718".  PR backtrace/1718 partially fixed.
2004-07-29 22:02:57 +00:00
Jeff Johnston 5633ea5c9f 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2004-07-27 23:40:49 +00:00
Nick Clifton 575eebb19f Use -gdwarf2 in preference to -gstabs for Sparc64. 2004-07-27 09:28:42 +00:00
Mark Kettenis 621046191f * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
* gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
(main): Call new function.
2004-07-23 22:08:39 +00:00
Michael Chastain 4a1135b808 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
Test for PR exp/1715.
	* gdb.base/radix.exp: Refactor common procedures.  Make all
	test names unique.  Change XFAIL to KFAIL.
2004-07-22 09:56:42 +00:00
Michael Chastain 8a12c1f0c4 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
* gdb.ada/gnat_ada.gpr.in: Rename from here ...
	* gdb.ada/gnat_ada.gin: ... to here.
	* configure.in: Use gnat_ada.gin.
	* configure: Regenerate.
2004-07-20 23:11:21 +00:00
Andrew Cagney 23b451cfe2 2004-07-20 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
	gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
	XFAILs.  Clean up test messages and comments.  Check backtraces.
	Delete re-sync code.
2004-07-20 19:59:26 +00:00
Michael Chastain 83938a4eb9 Argh, I screwed up and committed a ChangeLog entry for a patch
that is still in the comment period.  Sorry!
2004-07-20 00:26:35 +00:00
Michael Chastain ab618a0235 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
Fix PR cli/740.
	* gdb.base/annota1.exp: Honor gdb,nosignals.
	* gdb.base/annota3.exp: Likewise.
2004-07-20 00:24:41 +00:00
Michael Chastain 46dad34018 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
* lib/java.exp: Update copyright notice.
2004-07-19 21:33:53 +00:00
Andrew Cagney 756d8c7093 2004-07-19 Andrew Cagney <cagney@gnu.org>
* gdb.base/selftest.exp: Copy file from here ...
	* gdb.gdb/selftest.exp: ... to here.
2004-07-19 13:58:21 +00:00
Andrew Cagney 586027e615 2004-07-16 Andrew Cagney <cagney@redhat.com>
* lib/insight-support.exp: Delete file.
	* lib/java.exp (java_init): Fix copyright.
2004-07-17 02:03:00 +00:00
Andrew Cagney 029d220040 2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/restore.c: Append "prologue" to comments marking the a
	function's prologue.
	* gdb.base/restore.exp: Update copyright, re-indent.
	(restore_tests): Use gdb_test_multiple.  Add "calleeN calls
	callerN" prefix where needed.  Update patterns that match a
	function's prologue.
2004-07-16 22:21:52 +00:00
Michael Chastain 653b62c59c 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/restore.c: Add copyright notice.
2004-07-16 22:02:02 +00:00
Andrew Cagney f7d690e5af 2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/logical.exp: Update copyright.
	(evaluate): New procedure.  Use to re-implement tests using
	several tables.
2004-07-16 19:08:42 +00:00
Martin Hunt d629a7cb0a 2004-07-14 Martin Hunt <hunt@redhat.com>
* lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
	which fixes some problems where init.tcl was not found.
2004-07-14 18:55:22 +00:00
Andrew Cagney 6bf46641b8 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/sizeof.exp: Skip test when no inferior I/O.
	(check_sizeof, check_valueof): Do not include the output in the
	test name.  Use gdb_test.
	(get_valueof): Use gdb_test_multiple.
2004-07-13 17:08:36 +00:00
Andrew Cagney c4ffd4c07c 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/step-test.exp: Update copyright.  Use
	gdb_test_multiple.  Ensure that test names do not include
	architecture dependent output.
2004-07-13 16:25:46 +00:00
Andrew Cagney ab89363a82 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.gdb/observer.exp: Update copyright.
	(setup_test): Use gdb_test_multiple.
	(attach_first_observer, attach_second_observer)
	(attach_third_observer, detach_first_observer)
	(detach_second_observer, detach_third_observer)
	(reset_counters, check_counters): Make $message a prefix.
	(test_normal_stop_notifications): Add "args" parameter - a list of
	init functions to be called.  Make $message a prefix,
	(test_observer_normal_stop): Change the message prefixes so that
	they are unique, pass the attach / detach procedures to
	test_normal_stop_notifications.
2004-07-13 14:36:44 +00:00
Andrew Cagney ec58997a7b 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.exp (test_segv): Prefix all tests with
	"${name}".  Clean up test messages.
2004-07-13 13:44:01 +00:00
Andrew Cagney b475183b5c 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
2004-07-13 13:10:54 +00:00
Andrew Cagney 9c7bb33213 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/ena-dis-br.exp: Update copyright.
	(break_at): New function.  Replace send_gdb with gdb_test,
	break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
	ignore count, not stopped at bpt", with KFAIL.
2004-07-13 13:01:04 +00:00
Corinna Vinschen 2dd95497fe * gdb.base/attach.exp: Remove cleanupfile handling. 2004-07-13 11:19:22 +00:00
Andrew Cagney 419e626baa 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota1.exp: Cleanup corefile test name.
	* gdb.base/annota3.exp: Ditto.
2004-07-12 21:39:35 +00:00
Andrew Cagney 7865082976 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Clean up copyright, re-indent.
2004-07-12 15:02:52 +00:00
Andrew Cagney 8b1b32286b 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Replace send_gdb and gdb_expect with
	gdb_test and gdb_test_multiple.
2004-07-12 14:25:48 +00:00
Jeff Johnston 935c276026 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmain.exp: Fix expected line number for main to
        break at.  Set XFAIL for break at main test since gcj does not
        provide line number info for first statement in main.
2004-07-08 21:00:45 +00:00
Andrew Cagney 1279f4ffe5 2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Cleanup copyright.  Re-indent.
2004-07-08 20:04:47 +00:00
Andrew Cagney 1544280f1d 2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp: Make the common part of each test name a
	prefix instead of suffix.
2004-07-08 14:19:21 +00:00
Bob Rossi bcc82369d2 I added the testcase for -file-list-exec-source-files to mi2-file.exp.
It should have been added to mi-file.exp. So, here it is.
2004-07-08 01:57:51 +00:00
Jeff Johnston 23f4b0aa1b 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
* gdb.java/jmisc.exp: Fix expected output of ptype to look for
        the jmisc() constructor instead of <init>.
        * gdb.java/jmisc1.exp: Ditto.
2004-07-07 20:08:03 +00:00
Andrew Cagney 56401cd585 2004-07-07 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp (stepi_out): Check for a single step
	corrupting the PC.
2004-07-07 17:30:10 +00:00
Michael Chastain 44ae2f6a11 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/templates.exp: Accept whitespace change in demangler
	output.
2004-07-06 19:36:10 +00:00
Andrew Cagney 45a83408cd 2004-07-06 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2004-07-06 15:08:54 +00:00
Michael Chastain d205ad70f2 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
	* lib/compiler.cc: Likewise.
2004-07-02 04:18:17 +00:00
Michael Chastain 06ea1a610f 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.cc: Work around string preprocessing problem
	with old hp c++ compiler.
	* lib/compiler.c: Likewise.
2004-06-30 08:01:33 +00:00
Corinna Vinschen daab125139 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
directives to conditionalize symbol prefixing.
	* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
	additional_flags handling.  Add underscore prefix for Cygwin.
	* gdb.arch/i386-unwind.c: Use preprocessor directives to
	conditionalize symbol prefixing.
	* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
	additional_flags handling.  Add underscore prefix for Cygwin.
2004-06-29 17:52:49 +00:00
Corinna Vinschen cc98411666 * gdb.base/bigcore.exp: Skip test on Cygwin. 2004-06-29 06:34:50 +00:00
Michael Chastain c279b077e0 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
	formats for "info register".  Use gdb_test_multiple.  Fix
	the "invalid register" test.
2004-06-28 18:19:47 +00:00
Corinna Vinschen 0e9157473d * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
PID for Cygwin.  Add Cygwin specific strings to check for in some
	tests.
	(do_attach_tests): Add a test for user interaction when attaching
	to a process with no matching symbol table already loaded.
2004-06-28 11:15:31 +00:00
Andrew Cagney 11422c8666 2004-06-26 Andrew Cagney <cagney@gnu.org>
Test PR java/1567 and PR java/1565.
	* gdb.java/jmain.exp, gdb.java/jmain.java: New files.
	* gdb.java/jmisc2.exp: Delete file.
2004-06-27 00:41:39 +00:00
Michael Chastain cefbce265a 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2004-06-26 22:20:50 +00:00
Corinna Vinschen e19f872c5b * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
attach process.
2004-06-25 13:52:20 +00:00
Michael Chastain d931ba3b35 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.exp: Remove.
2004-06-23 18:36:51 +00:00
Michael Chastain aef68c4869 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-1553.cc: Remove.
	* gdb.cp/pr-1553.exp: Disable this test.
2004-06-22 18:17:54 +00:00
Jim Blandy 8d5df71af0 Fix PR testsuite/1680.
* gdb.arch/i386-sse.exp: Properly quote curly braces in
regular expressions.
2004-06-21 05:00:37 +00:00
Michael Chastain 4ac6f39dda 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
Fix PR testsuite/1679.
	* gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
	Issue an UNSUPPORTED result instead.
2004-06-19 18:58:42 +00:00
Jim Blandy 1b413552e1 * gdb.base/charset.exp: Only send a control-C if we see a new
prompt and incomplete command.
2004-06-18 23:12:54 +00:00
Michael Chastain 6daa6ebd43 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/pr-574.cc: Add copyright notice.
2004-06-18 14:24:54 +00:00
Jim Blandy 51fa4ae02d * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.
2004-06-17 21:07:42 +00:00
Michael Chastain 8fea26c5a5 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/printmethod.cc: Add copyright notice.
2004-06-17 18:30:18 +00:00
Michael Chastain 1e3aeb41f2 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
2004-06-17 04:28:22 +00:00
Andrew Cagney 9d9030bc8f 2004-06-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.c: Update copyright.  Include <string.h>.
	(bowler): Replace data_pointer with data_read
	and data_write cases.  Add code_descriptor case.
	(zero, desc): New array and pointer.
	(data, code): Change to simple pointers.
	* gdb.base/signull.exp: Fix probe pattern matching a function
	descriptor SIGSEGV.  Replace data_pointer with data_read and
	data_write tests.
2004-06-16 16:40:51 +00:00
Andrew Cagney acd4ad442c 2004-06-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
2004-06-16 15:19:41 +00:00
Michael Chastain 08fd625c2e 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/long_long.c: Add copyright notice.
2004-06-16 04:27:30 +00:00
Michael Chastain 1903502c83 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/long_long.exp: Remove reference to
	bug-gdb@prep.ai.mit.edu.  Change line-number-specific breakpoint
	to gdb_breakpoint and gdb_continue_to_breakpoint.
2004-06-16 02:15:36 +00:00
Jim Blandy 83313cb156 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
endian case.
2004-06-15 18:12:04 +00:00
Andrew Cagney 1bf404efc4 2004-06-14 Andrew Cagney <cagney@gnu.org>
* gdb.base/gcore.exp (capture_command_output): Delete the always
	passing tests containing inferior values.
	* gdb.base/ending-run.exp: Do not include the breakpoint address
	in the test message.  Update copyright.
	* gdb.base/sizeof.exp (check_sizeof): Do not include the type's
	size in the test name, use gdb_test_multiple.  Update copyright.
2004-06-15 00:16:42 +00:00
Michael Chastain ef220b3362 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/ref-types.cc: Add copyright notice.
2004-06-14 16:30:16 +00:00
Michael Chastain 4f70a4c95a 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
	hp_aCC_compiler.
	* lib/compiler.cc: Likewise.
	* lib/gdb.exp (get_compiler_info): Eval lines only if they are
	'set' commands.  Log diagnostics for other lines.  Set
	gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2004-06-14 15:29:30 +00:00
Michael Chastain 335928accd 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/try_catch.cc: Add copyright notice.
2004-06-13 16:07:02 +00:00
Michael Chastain 2efb12e85b 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/userdef.cc: Add copyright notice.
2004-06-12 16:45:49 +00:00
Michael Chastain 0bbed51abe 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/virtfunc.cc: Add copyright notice.
2004-06-12 01:20:50 +00:00
Randolph Chung e12a46c96a 2004-06-11 Randolph Chung <tausq@debian.org>
* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
	problem.
2004-06-11 23:42:49 +00:00
Andrew Cagney 338e05af82 2004-06-10 Andrew Cagney <cagney@gnu.org>
* lib/compiler.cc, lib/compiler.c: Append either
	__GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
	* gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
	instead of gcc-3-3.
2004-06-10 21:38:03 +00:00
Bob Rossi 57c22c6ce1 Add the -file-list-exec-source-files command to MI. 2004-06-10 20:05:45 +00:00
Andrew Cagney b4d946af3a 2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
	gdb/1455, bug is specific to "long long" and "double".
2004-06-09 17:27:57 +00:00
Andrew Cagney dc3f10cb1a 2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_returns, test_struct_returns)
	(test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
	x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*.  PR tdep/1447
	fixed.
2004-06-09 14:19:51 +00:00
Andrew Cagney b5c0bfa20e 2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdb.base/structs.exp (test_struct_returns): Replace
	"return_value_unknown" and "finish_value_unknown" by
	"return_value_known" and "finish_value_known".  Instead of
	"return_value_unknown" iff "finish_value_unknown", check
	"return_value_known" implies "finish_value_known".
2004-06-09 13:41:06 +00:00
Martin Hunt caeb605f5f 2004-06-08 Martin Hunt <hunt@redhat.com>
* gdb.base/float.exp: Add pattern for mips targets.
2004-06-08 15:50:59 +00:00
Randolph Chung c892bb6494 2004-06-08 Randolph Chung <tausq@debian.org>
* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
	message for unknown architectures more clear.
2004-06-08 05:15:19 +00:00
Joel Brobecker 48306d3ed7 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
start the execution of the program.
2004-06-08 05:05:34 +00:00
Jim Blandy 83ecb59f2d * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
* gdb.arch/i386-cpuid.h: New helper file.
2004-06-07 15:38:52 +00:00
Randolph Chung 55264cb45f 2004-06-07 Randolph Chung <tausq@debian.org>
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
	has started.
2004-06-07 15:24:44 +00:00
Roland McGrath 23cadb2867 . 2004-06-05 00:11:06 +00:00
Roland McGrath c1b5970d70 2004-06-04 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
	differently to be robust to output buffering differences.
2004-06-05 00:09:26 +00:00
Michael Chastain 51d01eda1d 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/pthreads.exp: Update copyright years.
	(check_control_c): Change asynchronous 'after' to synchronous.
2004-06-04 23:27:50 +00:00
Roland McGrath f4fc3b93e2 . 2004-06-04 21:36:23 +00:00
Roland McGrath f1ed375c85 2004-06-04 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp (fetch_auxv): Consume output fully through
	next gdb prompt.
2004-06-04 21:36:06 +00:00
Michael Chastain 4013522b5c 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
Fix PR gdb/1636.
	* gdb.threads/manythreads.exp: Change asynchronous 'after'
	calls to synchronous.
2004-06-03 22:10:56 +00:00
Jim Blandy 7a8f1e6b98 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests. 2004-05-26 16:03:52 +00:00
Randolph Chung 81bb344354 2004-05-24 Randolph Chung <tausq@debian.org>
* gdb.asm/asm-source.exp: Enable test for hppa-linux target.
	* gdb.asm/pa.inc: New file.
2004-05-25 04:07:05 +00:00
Mark Kettenis 8f5a310353 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf. 2004-05-22 13:14:22 +00:00
Joel Brobecker 734b8fe8d4 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
GDB prompt.
2004-05-21 17:27:01 +00:00
Ulrich Weigand 725603e12f * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
setjmp/longjmp.  Use sigaction instead of signal.
2004-05-20 14:58:54 +00:00
Joel Brobecker 8b923272a9 * gdb.threads/pthread_cond_wait.c: New file.
* gdb.threads/pthread_cond_wait.exp: New testcase.
2004-05-19 21:41:03 +00:00
Andrew Cagney 8bfabb045c 2004-05-13 Andrew Cagney <cagney@redhat.com>
* gdb.base/signull.exp, gdb.base/signull.c: New files.
	* gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
2004-05-13 18:12:07 +00:00
Andrew Cagney 42edda508e 2004-05-11 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Simplify code handling
	step-into or return-from a signal trampoline.

Index: testsuite/ChangeLog
2004-05-11  Andrew Cagney  <cagney@redhat.com>

	* gdb.base/sigstep.exp (advancei): Update KFAILs.  gdb/1613 is
	fixed but revealed gdb/1639.
2004-05-11 16:57:04 +00:00
Andrew Cagney d303a6c766 2004-05-10 Andrew Cagney <cagney@redhat.com>
* infrun.c (check_sigtramp2): Delete function.
	(handle_inferior_event): When single stepping, and taking a
	signal, set a breakpoint at the signal return address.  Delete
	redundant calls to check_sigtramp2.
	(insert_step_resume_breakpoint): New function.
	(through_sigtramp_breakpoint, handle_inferior_event)
	(follow_exec, wait_for_inferior, fetch_inferior_event)
	(currently_stepping, keep_going): Delete most uses of
	through_sigtramp_breakpoint, not that it should be deleted.
	(delete_breakpoint_current_contents): Delete function.

Index: testsuite/ChangeLog
2004-05-10  Andrew Cagney  <cagney@redhat.com>

	* gdb.base/signals.exp (signal_tests_1): Simplify "continue to
	func1" and "next to 2nd alarm", kernel bug avoided.
2004-05-10 18:36:07 +00:00
Daniel Jacobowitz bf08c2a10f PR external/1568
* gdb.base/bigcore.exp: Check the size of the dumped core file.
	XFAIL if it is smaller than bytes_allocated.
	* gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
	(main): Make chunks_allocated unsigned.  Correct comment.
2004-05-10 16:47:40 +00:00
Joel Brobecker c0586a34cd * gdb.arch/powerpc-aix-prologue.c: New file.
* gdb.arch/powerpc-aix-prologue.exp: New file.
2004-05-08 00:08:24 +00:00
Jim Blandy f2785d123f * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
2004-05-07 09:16:29 +00:00
Joel Brobecker bd7f6e305c * gdb.base/sep.exp: No longer setup_kfail when the program was
built with dwarf2.
2004-05-06 21:32:01 +00:00
Jim Ingham 0a5e7efe29 Preserve the ignore count when we resolve a pending breakpoint. Also add
a test for this to pending.exp.
2004-05-05 21:18:11 +00:00
Mark Kettenis a8958849c4 * i386-prologue.exp: Add testcase for jump instruction as first
instruction of the real code.
* i386-prologue.c (jump_at_beginning): New function.
2004-04-29 18:05:31 +00:00
Mark Kettenis 7e103f5bdf * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
x86_64-*-*.
2004-04-28 18:16:07 +00:00
Mark Kettenis 5d38b224de * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
i*86-*-*.
2004-04-28 00:22:43 +00:00
Mark Kettenis 0ef32fd971 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
expression that checks the return type.
2004-04-28 00:15:52 +00:00
Andrew Cagney 71d7dd7cc9 2004-04-23 Andrew Cagney <cagney@redhat.com>
* gdb.base/call-sc.exp: New test of scalar call/return values.
	* gdb.base/call-sc.c: Ditto.
2004-04-23 23:34:53 +00:00
Jeff Johnston 1e9f977e1f 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gdb.threads/manythreads.c: Reduce thread stack size.
2004-04-23 19:01:17 +00:00
Jeff Johnston 899d9e3aac 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
* gdb.threads/manythreads.c: Add copyright notice.
2004-04-23 18:50:35 +00:00
Andrew Cagney 61bcae62f7 2004-04-23 Andrew Cagney <cagney@redhat.com>
* gdb.base/siginfo.exp: Clean up step out of signal.
	* gdb.base/sigstep.exp: Ditto.
2004-04-23 16:44:25 +00:00
Jeff Johnston 7339a42e03 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
Daniel Jacobowitz  <drow@mvista.com>

        * gdb.threads/manythreads.c: New testcase.
        * gdb.threads/manythreads.exp: Ditto.
2004-04-22 22:19:40 +00:00
Jim Blandy 5c98409bd6 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
2004-04-22 21:11:56 +00:00
Michael Chastain 3b611f1a39 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
* gdb.stabs/weird.exp: Accept full pathname for $binfile.
2004-04-22 17:55:46 +00:00
Andrew Cagney f0fd92385d 2004-04-21 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigstep.c: New file.
	* gdb.base/sigstep.exp: New file.
2004-04-21 17:19:28 +00:00
Joel Brobecker 9099067423 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
call to observer_notify_normal_stop.
2004-04-16 17:29:43 +00:00
Andrew Cagney 78cef34b48 2004-04-15 Andrew Cagney <cagney@redhat.com>
* gdb.base/siginfo.c: New file.
	* gdb.base/siginfo.exp: New file.
2004-04-15 21:14:00 +00:00
Joel Brobecker d23434077e * gdb.base/sep.exp: Fix typo in comment. 2004-04-12 20:22:54 +00:00
Joel Brobecker a2dba3c819 * gdb.base/sep.c: New file.
* gdb.base/sep-proc.c: New file.
        * gdb.base/sep.exp: New testcase.
2004-04-12 20:17:18 +00:00
Mark Kettenis 15f7b60ef1 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
support.
2004-04-09 13:37:38 +00:00
Andrew Cagney 44f4de1ac3 2004-04-05 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigaltstack.c: New file.
	* gdb.base/sigaltstack.exp: New file.
2004-04-05 21:00:21 +00:00
Joel Brobecker ef04f39659 * gdb.base/foll-fork.exp: Update the expected output for
"help set follow-fork-mode", to match a change that was made
        to the help of this variable on 2004-01-13.
2004-04-04 20:28:21 +00:00
Joel Brobecker d40d2c921c * lib/ada.exp: Add copyright notice.
* bar.ads: Likewise.
        * bar.adb: Likewise.
        * null_record.adb: Likewise.
        * null_record.exp: Likewise.
        * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
2004-04-01 18:42:08 +00:00
Joel Brobecker f86ef5a3a2 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
* configure: Regenerate.
2004-04-01 17:48:56 +00:00
Joel Brobecker 414e70e3d0 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
to build the application. Remove the message printed when in
        verbose mode, redundant with the UNSUPPORTED message above.
2004-04-01 17:45:48 +00:00