Commit Graph

592 Commits

Author SHA1 Message Date
Michael Chastain b729099eb3 2003-11-23 Michael Chastain <mec@shout.net>
Fix PR testsuite/1463.
	* gdb.base/structs.exp (start_structs_test): Call
	get_debug_format before using the debug format.
2003-11-23 17:48:00 +00:00
Andrew Cagney d422fe19c6 2003-11-22 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (gdb_test_multiple): Add simple example.
	* gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-23 01:09:19 +00:00
Andrew Cagney 6882279b13 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Handle and recover from internal errors.
	Replace "foo${n}" with "foo<n>" in test messages.
2003-11-20 18:03:48 +00:00
Andrew Cagney e53890ae03 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/structs.exp: Update copyright.  Rewrite.
	* gdb.base/structs.c: Update copyright.  Rewrite.
2003-11-20 17:11:55 +00:00
Andrew Cagney 039cf96dc4 2003-11-20 Andrew Cagney <cagney@redhat.com>
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover
	from the internal error.
	* lib/gdb.exp (gdb_internal_error_resync): New procedure.
	Original from Jim Blandy.
	(gdb_test_multiple): Use gdb_internal_error_resync.
2003-11-20 15:36:34 +00:00
Andrew Cagney eac98b22ae 2003-11-19 Andrew Cagney <cagney@redhat.com>
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
	KFAIL.
2003-11-19 18:34:52 +00:00
Andrew Cagney b496706087 Oops, accidental commit, reverting. 2003-11-17 15:09:19 +00:00
Andrew Cagney 853d6e5b6d 2003-11-17 Andrew Cagney <cagney@redhat.com>
* lib/gdb.exp (compiler_info): New global.
	(test_compiler_info): New function.
	(get_compiler_info): Set compiler_info.
	* lib/compiler.c, lib/compiler.cc: Add copyright.  When GNUC, set
	"compiler_info" to gcc-<major>-<minor>.
2003-11-17 15:00:20 +00:00
Elena Zannoni a50d3602e0 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.c: Add comments to aid finding line numbers for
       breakpoints.
       * gdb.base/break.exp: Remove all references to explicit line
       numbers.
2003-11-13 15:34:39 +00:00
Nick Clifton d9407aaa54 Do not run for targets which do not support shared objects. 2003-11-11 17:58:28 +00:00
Corinna Vinschen db488fc1b2 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
Don't run tests if nofileio flag is given.
2003-11-10 09:12:20 +00:00
Elena Zannoni 0b915e9cc2 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
Reported by Jim Ingham <jingham@apple.com>:
	* gdb.base/annota1.exp: Match at least one occurrence of the
	signal handler annotation.
2003-11-06 20:50:47 +00:00
Michael Chastain 8b7d96c1c4 2003-10-20 Michael Chastain <mec@shout.net>
* gdb.base/gdb1056.exp: New test script.
2003-10-21 00:35:02 +00:00
Daniel Jacobowitz 7d605576a6 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
create a core file.
	* gdb.threads/gcore-thread.exp: Likewise.
2003-10-13 16:30:45 +00:00
Corinna Vinschen 618ec11271 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
type, based on char type.
	(struct bit_flags_short_t): New bitfield type, based on short type.
	(init_bit_flags_char): New fuction.
	(init_bit_flags_short): Ditto.
	(print_bit_flags_char): Ditto.
	(print_bit_flags_short): Ditto.
	(main): Add handling for bit_flags_char_t and bit_flags_short_t.
2003-10-13 09:13:43 +00:00
Michael Chastain 9367a73cbc 2003-10-11 Michael Chastain <mec@shout.net>
* gdb.base/call-rt-st.exp: Update copyright year.
2003-10-11 20:57:42 +00:00
Corinna Vinschen aec24853b5 * gdb.base/ending-run.exp: Add sh specific case. 2003-10-07 16:02:16 +00:00
Andrew Cagney adc7428d50 2003-10-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
	* gdb.disasm/mn10200.exp: Delete obsolete file.
2003-10-06 19:31:43 +00:00
Daniel Jacobowitz c9d37158cc * ChangeLog: Correct an entry command.exp -> commands.exp.
* gdb.base/commands.exp (bp_deleted_in_command_test)
	(temporary_breakpoint_commands): Check noargs.
2003-09-29 15:08:52 +00:00
David Carlton 10f0d45173 2003-09-25 David Carlton <carlton@kealia.com>
* gdb.base/corefile.exp: Delete obsolete setup_xfail.
2003-09-25 15:40:20 +00:00
Elena Zannoni 274bcba01c 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/selftest.exp: Accomodate more instruction reordering
        weirdness.
2003-09-23 19:19:48 +00:00
Elena Zannoni 1c19974635 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-11 18:59:02 +00:00
Michael Chastain 04ed252fc1 2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
2003-09-08 21:30:52 +00:00
Michael Chastain 49f2741a0a 2003-08-30 Michael Chastain <mec@shout.net>
* gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
	* gdb.gdb/observer.exp: Ditto.
	* gdb.gdb/xfullpath.exp: Ditto.
2003-08-30 04:58:21 +00:00
Mark Kettenis 8afa723e83 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
*-*-*bsd*.
2003-08-29 11:42:28 +00:00
Jeff Johnston f31dfe3b88 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/dump.exp: Skip for ia64.
2003-08-28 18:01:50 +00:00
Daniel Jacobowitz a356f73bbf * gdb.base/annota3.exp: Add missing newline. 2003-08-17 16:50:59 +00:00
Michael Snyder c99c59c39d 2003-08-12 Michael Snyder <msnyder@redhat.com>
* gdb.base/float.exp: Add test for SH.
2003-08-12 22:27:19 +00:00
Elena Zannoni 1a371f2e64 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/completion.exp: Remove reduntant completion test
       on filename.
2003-08-07 17:58:44 +00:00
Elena Zannoni e0f353ceed 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
        gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
        gdb.trace/save-trace.exp: Make sure that full pathnames are
        escaped correctly.
2003-08-07 17:55:41 +00:00
Andrew Cagney 6009d8848e 2003-08-02 Andrew Cagney <cagney@redhat.com>
* gdb.base/annota3.exp: New file.
	* gdb.base/annota3.c: New file.
	* gdb.c++/annota3.exp: New file.
	* gdb.c++/annota3.cc: New file.
2003-08-03 01:57:13 +00:00
Andrew Cagney 225f2bf663 2003-07-27 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.exp: Use SH when running commands using
	remote_exec.
2003-07-27 21:24:09 +00:00
Daniel Jacobowitz bcb27c9f96 From Kei Sakamoto <sakamoto.kei@renesas.com>:
* gdb.base/relocate.c (dummy): New padding array.
2003-07-24 18:45:43 +00:00
Michael Snyder 686d097cef 2003-07-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/return2.exp: Don't test long-long return.
2003-07-23 18:53:34 +00:00
Andreas Schwab 180dea7cce * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
due to insn reordering.
2003-07-20 17:39:16 +00:00
Michael Chastain 98a23b3f74 2003-07-15 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.exp: New file.
	* gdb.base/gdb1250.c: New file.
2003-07-15 16:28:21 +00:00
Elena Zannoni d99968dcc1 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/annota1.exp: Make sure that we properly escape the
        full path of the source file. Xfail more permissive patterns,
        due to a compiler debug info problem.
2003-07-09 13:19:08 +00:00
Andreas Schwab 83876b3be5 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
arguments"): Also match negative number.

	* gdb.base/float.exp ("info float"): Add test for m68k-*-*.
2003-07-06 22:27:34 +00:00
Daniel Jacobowitz 3a871b371b * gdb.base/store.c (charest): New typedef.
(add_char): Rename to add_charest, update.
	(wack_char): Rename to wack_charest, update types.  Return l + r
	to keep r live across the call.
	(wack_short, wack_int, wack_long, wack_longest, wack_float)
	(wack_double, wack_doublest): Return l + r to keep r live across
	the call.
	* gdb.base/store.exp: Accomodate store.c changes.
2003-07-03 13:55:22 +00:00
Daniel Jacobowitz f1c2644b92 * gdb.base/completion.exp: Tab-complete "complet" instead of
"compl".
	* gdb.base/complex.exp, gdb.base/complex.c: New files.
2003-06-29 20:32:23 +00:00
Daniel Jacobowitz 180803508c * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
* gdb.base/volatile.exp: Likewise.
2003-06-29 20:01:59 +00:00
Daniel Jacobowitz 48fe539ffe * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
initial line count of 'captured_main' from 26 to 32.
	(test_with_self): Allow xmalloc call to be interleaved with the
	preceding two lines.
2003-06-28 16:36:42 +00:00
Joel Brobecker e766d4d601 * gdb.base/bang.exp: New testcase. 2003-06-24 22:04:06 +00:00
Joel Brobecker f125c9a4e9 * gdb.base/langs.exp: Add some tests for the "minimal" language
support.
2003-06-23 22:42:50 +00:00
Daniel Jacobowitz 2f816dda05 * gdb.base/relocate.exp: Test add-symbol-file with a variable
offset.
2003-06-22 18:32:38 +00:00
Mark Kettenis a92feac0ae * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
on *-*-*bsd* instead of *-*-freebsd*.
2003-06-15 13:10:38 +00:00
Andrew Cagney 81a58f5b70 2003-06-14 Andrew Cagney <cagney@redhat.com>
* gdb.base/store.exp: Test longest and doublest.  Test all
	parameters.  Weaken return statement match.
	* gdb.base/store.c: Add longest and doublest - aka long long and
	long double functions.  Put all parameters into local register
	variables.  Use negative values.
2003-06-14 22:10:47 +00:00
Andrew Cagney b257a0d30a 2003-06-14 Andrew Cagney <cagney@redhat.com>
* gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>.  Gag
	-Wformat errors.  Add lost line.  Use WEXITSTATUS to get system
	exit status.
	* gdb.base/fileio.exp: Disable target when nointerrupts and
	noinferiorio, instead of limiting it to remote.  Use remote_exec
	instead of system.
2003-06-14 16:51:42 +00:00
Jeff Johnston 21c3830442 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
* gdb.base/float.exp: Add ia64 support.
2003-06-12 17:55:06 +00:00
Corinna Vinschen 1bcdb42447 * gdb.base/fileio.exp: Run only on remote targets. 2003-06-12 09:49:05 +00:00