Commit Graph

717 Commits

Author SHA1 Message Date
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
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
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
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
Corinna Vinschen cc98411666 * gdb.base/bigcore.exp: Skip test on Cygwin. 2004-06-29 06:34:50 +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
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
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
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
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
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
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
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
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 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
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
Mark Kettenis 8f5a310353 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf. 2004-05-22 13:14:22 +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
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
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 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
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
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
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
Daniel Jacobowitz 78a1a89446 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
* lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
2004-03-24 18:41:50 +00:00
Andrew Cagney 4b2b3b3e62 2004-03-22 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
	hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
	Problem identified by Ulrich Weigand.
2004-03-22 14:24:18 +00:00
Roland McGrath d65308ae79 2004-03-16 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp: New file.
	* gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
2004-03-16 21:47:03 +00:00