Commit Graph

1425 Commits

Author SHA1 Message Date
Jeff Law db521deb7f * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
a SIGBUS or SIGSEGV.

        * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.

        * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
        can be compiled with either HP's compiler or GCC.
2001-12-21 00:08:51 +00:00
Jeff Law cfa88ab715 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
* gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
        * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2001-12-20 23:46:29 +00:00
Jeff Law ca344dff5c * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
to match current gdb output.  Update due to using auto-solib-limit
        for limiting instead of overloading auto-solib-add.
        * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
        test program.

        * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
        * gdb.hp/gdb.base-hp/dollar.exp: Likewise
        * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
        * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
        * gdb.hp/gdb.base-hp/reg.exp: Likewise.
        * gdb.hp/gdb.compat/xdb3.exp: Likewise.
        * gdb.hp/gdb.defects/bs15503.exp: Likewise.
        * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
        * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
        * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
        * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
        * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
        * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2001-12-20 23:37:33 +00:00
Corinna Vinschen 7d159115bf * gdb.asm/arm.inc: New file.
* gdb.asm/asm-source.exp: Add arm targets.
	* gdb.asm/configure.in: Ditto.
	* gdb.asm/configure: Recreated from configure.in.
2001-12-20 22:12:20 +00:00
Jeff Law 3f3c6e5503 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*" 2001-12-20 16:53:52 +00:00
Jeff Law 8fb87725a3 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
a SIGTRAP to the inferior.
2001-12-20 16:52:07 +00:00
Corinna Vinschen cf599fa727 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
Substitute call to target_link by call to gdb_compile.
2001-12-20 16:06:11 +00:00
Keith Seitz 69c10d9280 * mi-var-display.exp: char* variables have a child. Update all
occurences.
	* mi0-var-display.exp: Likewise.
2001-12-19 22:57:46 +00:00
Jeff Law 2cd045cd85 * gdb.base/break.exp: Fix HP specific search string when testing
backtracing in a called function.

        * gdb.base/constvars.exp: Only set lang to C++ if we're
        compiling the test with HP's compilers.
        * gdb.base/volatile.exp: Similarly.
2001-12-19 21:08:45 +00:00
Jim Blandy 99ebe9acce * gdb.base/printcmds.exp: Expect the null character to be printed
as '\0', and the '\013' to be printed as '\v'.
* gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
* gdb.base/setvar.exp: Same.
2001-12-19 06:29:45 +00:00
Jim Blandy 0eba65ab18 * gdb.base/completion.exp: Rather than completing very long
filenames, which can make the readline library produce output we
don't recognize, cd to the directory first, and then complete
using nice, short relative paths.
2001-12-17 22:58:42 +00:00
Jim Blandy 6970b5b149 * gdb.base/completion.exp: On some systems, there is, in fact, a
variable named `b' in scope, since GDB treats all static
variables as being in scope.  So use `no_var_named_this'
instead of `b'.
2001-12-17 21:49:09 +00:00
Jim Blandy b9891b29d8 * gdb.base/corefile.exp: Recognize the message saying that GDB
can't find the core file's registers as a failure.
2001-12-17 21:03:48 +00:00
Jim Blandy 47a849606f Remove accidentally committed ChangeLog entries for callfuncs.exp. 2001-12-17 20:38:57 +00:00
Jackie Smith Cashion e6ccd35f61 gdb/ChangeLog
2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>

	* cli/cli-script.c (print_command_lines): Remove extra
	"if", "else", "while", and "end" from show user output.

testsuite/ChangeLog
2001-12-13  Jackie Smith Cashion  <jsmith@redhat.com>

        * gdb.base/commands.exp (user_defined_command_test): Make "show user"
        test expect string more specific.
2001-12-13 22:42:23 +00:00
Corinna Vinschen 105ba81922 * gdb.asm/asm-source.exp: Add support for xstormy16.
* gdb.asm/configure.in: Ditto.
	* gdb.asm/configure: Rebuild.
	* gdb.asm/xstormy16.inc: New file.
2001-12-13 13:42:19 +00:00
Fred Fish e9e79dd9fc Approved by Jim Blandy:
2001-12-11  Fred Fish  <fnf@redhat.com>

	* gdbtypes.c (print_bound_type): New function.
	(recursive_dump_type): Print type struct code values
	TYPE_CODE_BITSTRING, TYPE_CODE_COMPLEX, TYPE_CODE_TEMPLATE,
	and TYPE_CODE_TEMPLATE_ARG.
	(recursive_dump_type): Print type struct members
	upper_bound_type, lower_bound_type, cv_type, and as_type.
	Also always print the tagname member, even when it is NULL.

	* testsuite/gdb.base/maint.exp: Update to match changes in
	type dumping code.
2001-12-12 02:07:12 +00:00
Jim Blandy 347dc97d2d * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
matching the entry point symbol's name at the beginning of the
line.
2001-12-10 20:30:00 +00:00
Daniel Jacobowitz 6a1675750a Fix botched patch. 2001-12-07 22:24:41 +00:00
Daniel Jacobowitz 5178b9d602 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
gdb.c++/inherit.exp, gdb.c++/method.exp,
        gdb.c++/namespace.exp, gdb.c++/templates.exp,
        gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
        and class layout support.
2001-12-07 22:02:23 +00:00
Daniel Jacobowitz af890c5292 * gdb.c++/classes.exp: Add test for static member function.
* gdb.c++/misc.cc: Add class with static member function.
2001-12-07 21:58:19 +00:00
Jim Blandy 8032bf31ff If GDB says it can't find the struct the function returned, report
those tests as `unsupported'.
* gdb.base/call-rt-st.exp (print_struct_call): New function.
Rewrite subsequent tests to use it.
2001-12-07 21:23:47 +00:00
Jim Blandy f2e54a8073 If GDB says it can't find the struct the function returned, report
those tests as `unsupported'.
* gdb.base/structs.exp (call_struct_func): New function.
(do_function_calls): Use call_struct_func to call the functions
returning structs.
2001-12-07 21:21:34 +00:00
Jim Blandy 0bc695097f * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
whether functions are prototyped or not, so we can't possibly pass
arguments to t_float_values2 properly.
2001-12-07 21:17:00 +00:00
Jim Blandy 7a345fb3e3 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
value of `timeout' for targets other than the mips*tx39-*.
2001-12-07 21:02:31 +00:00
Michael Snyder edb6ede1be 2001-12-06 Michael Snyder <msnyder@redhat.com>
* gdb.asm/asm-source.exp: Add tests for info target, info symbol,
	and detect whether the start symbol has a leading underscore.
2001-12-07 02:50:02 +00:00
Michael Snyder ca9efc9063 2001-11-30 Michael Snyder <msnyder@redhat.com>
* gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
	next, info source, info sources, info line, global and static
	variables, and static functions.
	* gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
	* gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
	* gdb.asm/asmsrc1.s: Add a static function and some variables.
	* gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
	* gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
	(gdbasm_leave): Restore frame pointer.
	(gdbasm_startup): Copy stack set-up from crt0.S.
2001-12-04 19:45:57 +00:00
Jim Blandy 2d842f1359 * gdb.base/completion.exp: Clarify indentation. 2001-12-04 16:18:15 +00:00
Jim Blandy 68550daf9b * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
variables on the S/390, not `.word'.
2001-12-03 21:53:16 +00:00
Jim Blandy cd5195a891 Add assembly-source tests for s390-ibm-linux.
* gdb.asm/s390.inc: New file.
* gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
the S/390 architecture.
* gdb.asm/configure: Regenerated.
2001-12-01 01:13:27 +00:00
Michael Snyder 25d559ca78 Fix typo. 2001-11-30 18:53:06 +00:00
Michael Snyder 756caa3d89 2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/sparc.inc: New file.
	* gdb.asm/asm-source.exp: Recognize sparc target.
	* gdb.asm/configure.in: Recognize sparc target.
	* gdb.asm/configure: Regenerate.
2001-11-27 01:29:03 +00:00
Fernando Nasser 184d0bc81c 2001-11-26 Fernando Nasser <fnasser@redhat.com>
From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
	* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
	to a local (non-static) variable. Copy tstruct.a to a static buffer
	and return a pointer to that buffer.
	* gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-26 21:29:31 +00:00
Fernando Nasser d0e6697627 2001-11-26 Fernando Nasser <fnasser@redhat.com>
From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
	* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
	to a local (non-static) variable. Copy tstruct.a to a static buffer
	and return a pointer to that buffer.
	* gdb.base/callfwmall.c (t_structs_a): Ditto.
2001-11-26 19:40:19 +00:00
Mark Kettenis e2334072bd * gdb.asm/configure.in: Fix recognition of ix86 target.
* gdb.asm/configure: Regenerate.
2001-11-24 14:43:57 +00:00
Michael Snyder 9a4d72d52a 2001-11-21 Michael Snyder <msnyder@redhat.com>
* gdb.asm/m32r.inc: New file.
	* gdb.asm/asm-source.exp: Recognize m32r target.
	* gdb.asm/configure.in: Recognize m32r target.
	* gdb.asm/configure: Regenerate.
2001-11-22 01:13:10 +00:00
Michael Snyder 017ac23d72 2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.asm/i386.inc: New file.
	* gdb.asm/asm-source.exp: Recognize ix86 target.
	* gdb.asm/configure.in: Recognize ix86 target.
	* gdb.asm/configure: Regenerate.
2001-11-22 01:07:24 +00:00
Michael Snyder a773d1cdf8 2001-11-20 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-21 00:13:30 +00:00
Michael Snyder bb632afbec 2001-11-14 Michael Snyder <msnyder@redhat.com>
* gdb.base/code-exprs.exp: New file.  Tests use of the "@code"
	qualifier in a type cast expression, to designate an address
	in the instruction space (Harvard architecture).
2001-11-21 00:12:01 +00:00
Michael Snyder 4749e309f2 2001-11-13 Michael Snyder <msnyder@redhat.com>
* gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
	Tests for expressions using 'const' and 'volatile'.
2001-11-15 02:16:59 +00:00
Corinna Vinschen 2505098499 * gdb.asm/asm-sources.exp: Allow defining linker flags. 2001-11-14 16:37:18 +00:00
Michael Snyder 760f63305a 2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.c++/templates.exp (test_template_breakpoints):
	If we get an overload menu, but it does not match what
	we expect, we still need to issue the "cancel" command.
2001-11-13 18:54:40 +00:00
Michael Snyder 3b2a7ae505 2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
	making the whitespace optional.  Argument for "new" may be
	"unsigned" as well as "unsigned int/long".
2001-11-13 18:52:08 +00:00
Daniel Jacobowitz 1902c51fa6 * lib/mi-support.exp (mi_run_to_helper): Move comments
outside of gdb_expect.
2001-11-12 19:44:28 +00:00
Daniel Jacobowitz dcf95b4721 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
        mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
        mi0_run_to): New functions.
        * gdb.mi/mi-simplerun.exp: Use them.
        * gdb.mi/mi0-simplerun.exp: Likewise.
        * gdb.mi/mi-var-cmd.exp: Likewise.
        * gdb.mi/mi0-var-cmd.exp: Likewise.
2001-11-11 20:11:03 +00:00
Corinna Vinschen 84826df144 Change target name from stormy16 to xstormy16. 2001-11-11 19:58:19 +00:00
Andrew Cagney 45b074e11d * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
* gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2001-11-10 17:55:48 +00:00
Andrew Cagney bf50d346c5 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
implemented.
2001-11-10 02:28:37 +00:00
Andrew Cagney 9383332cc4 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
implemented.
2001-11-10 01:44:43 +00:00
Michael Snyder db62520a00 2001-11-08 Michael Snyder <msnyder@redhat.com>
* gdb.base/callfuncs.exp: Add tests for nested call dummies.
	Add pass/fail message for stop at breakpoint in call dummy function.
2001-11-09 19:14:54 +00:00
Michael Snyder eef747c069 2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.c++/templates.exp: Replace "const &" with "const ?&",
	making the whitespace optional.  Also replace "(void) with
	"((void|)), making the keyword "void" optional.
2001-11-08 19:21:54 +00:00
Michael Snyder 63f5049969 2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
	making the whitespace optional.  Also replace "(void) with
	"((void|)), making the keyword "void" optional.
2001-11-08 19:12:30 +00:00
Michael Snyder 3bf40917fc 2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.base/callfuncs.c (t_float_values): This function must
	_not_ be prototyped, and the following function (t_float_values2)
	must be prototyped (if the compiler supports it), so that GDB
	can be tested against both cases.  Usually one case involves
	promotion of float to double, while the other does not.
	* gdb.base/callfwmall.c: Ditto.
2001-11-08 19:08:34 +00:00
Michael Snyder b57034379c 2001-11-07 Michael Snyder <msnyder@redhat.com>
* gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
	includes a stack frame for "start".
2001-11-08 19:06:18 +00:00
Jim Blandy c8ab4e6d75 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
pointers are 32 bits long, and that offsets of relocs are always
stored in the data (REL-style), and not in the reloc entry itself
(RELA-style).
* gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
stabs.
2001-11-06 00:31:59 +00:00
Michael Snyder 3f08ced966 2001-11-01 Michael Snyder <msnyder@redhat.com>
* gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
	and regular expression operators by using quoting.
2001-11-05 23:31:26 +00:00
Michael Snyder cbfa24cd20 2001-10-31 Michael Snyder <msnyder@redhat.com>
* gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
	depending on what the symbol table contains.
	* gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
	the output of the ptype command.  Similarly, accept both "const &"
	and "const&".
2001-11-01 23:41:09 +00:00
Corinna Vinschen aaa68313b8 * gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
	the local datastructures.
	* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
	compiler directive.
2001-10-31 20:59:22 +00:00
Michael Snyder 91740388ce 2001-10-30 Michael Snyder <msnyder@redhat.com>
* gdb.base/jump.exp: Allow it to run for all targets.
2001-10-31 02:40:24 +00:00
Corinna Vinschen 1b7c05e765 * gdb.base/call-ar-st.c (print_double_array): Match for loop
with new double_array size.
	(main): Change storage class of all local variables to static.
	Reduce size of double_array to 9.
	* gdb.base/call-ar-st.exp:  Increase timeout value.
	Change expected output for double array to match new size in
	call-ar-st.c.
2001-10-29 18:20:22 +00:00
Corinna Vinschen 36a222619e * gdb.base/ending-run.exp: Create identical output when passing
`step to end of run' case.  Add regular expression branch satisfying
	Stormy16 target.
2001-10-29 18:16:46 +00:00
Mark Kettenis 92b8ae9161 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
that we catch the expected failure under Linux/x86.
2001-10-29 17:38:11 +00:00
Orjan Friberg cb135b8327 2001-10-29 Orjan Friberg <orjanf@axis.com>
* gdb.base/setvar.exp: Escape curly braces.
	* gdb.stabs/weird.exp: Ditto.
2001-10-29 16:24:35 +00:00
Daniel Jacobowitz 6884aa54f1 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
* gdm.mi/mi0-hack-cli.exp: Likewise.
2001-10-28 00:29:50 +00:00
Andrew Cagney 0398c9aabc Unify stabs/weird messages. 2001-10-26 04:17:45 +00:00
Andrew Cagney d20bf2e81b Don't print ``(MI_OUT)'' at startup. 2001-10-21 19:43:41 +00:00
Corinna Vinschen 03dd63aa03 * gdb.base/maint.exp: Treat $EXEEXT as optional in output. 2001-10-13 08:36:32 +00:00
Frank Ch. Eigler 1d9d99f32d 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
	if gdb child process crashes, just signal an error.
2001-10-04 22:11:12 +00:00
Jim Blandy 838ae6c473 * lib/gdb.exp (test_xfail_format): Simplify.
* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
front of the variable name `format'.  Simplify `if'.
2001-10-02 19:42:10 +00:00
Daniel Jacobowitz 8f0cbc1ca3 * gdb.threads/pthreads.exp: Wait for output and delay
before sending ^C.
2001-10-01 20:36:48 +00:00
Daniel Jacobowitz 1f08dafd5a * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
some incorrect output instead of timing out.
        * gdb.mi/mi-var-display.exp (continue to incr_a):  Likewise.
2001-10-01 20:31:38 +00:00
Corinna Vinschen 674f90ff34 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.
2001-09-28 11:41:30 +00:00
Daniel Jacobowitz 9b28427211 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2001-09-27 22:21:22 +00:00
Michael Snyder b55a47712d 2001-09-27 Michael Snyder <msnyder@redhat.com>
* lib/gdb.exp (test_debug_format): New proc.
	(setup_xfail_format): Use new proc test_debug_format.
	* gdb.base/constvars.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
	* gdb.base/volatile.exp (local_compiler_xfail_check): New
	proc; use new service proc test_debug_format.
	Replace all other "gcc_compiled" tests with this test.
2001-09-27 21:35:56 +00:00
Corinna Vinschen 4e6667ac4f * gdb.base/constvars.exp: Check for different orders of keywords
and additional "int" strings in output.
2001-09-26 16:06:28 +00:00
Andrew Cagney 4f3379724d * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
variables.
(maintenance_set_profile_cmd): New function.
(maintenance_show_cmd, maintenance_set_cmd): New functions.
(_initialize_maint_cmds): Add "maintenance set" and "maintenance
show" and, commented out, "maintenance set/show profile" commands.
2001-09-25 02:31:51 +00:00
Frank Ch. Eigler 2015650dea * approved by kseitz
2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

	* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
	to localhost:NNN instead of :NNN, in case Xvfb is listening
	only on TCP.
2001-09-19 15:39:54 +00:00
Corinna Vinschen f3bcedc1a9 * gdb.base/recurse.exp: When checking leaving the watchpoint
scope, recognize when gdb is in function's epilogue and pass.
2001-09-19 08:21:17 +00:00
Keith Seitz 6b819c92c4 * lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
	(gdbtk_done): Ditto.
2001-09-19 00:08:43 +00:00
Corinna Vinschen a10c9419a4 * gdb.base/ending-run.c (main): Set stdout buffersize
to the same reasonable value for any target.
        * gdb.base/ending-run.exp: Add a regular expression
        to make testsuite happy on Sanyo Stormy16 target.
2001-09-18 17:49:06 +00:00
Corinna Vinschen 739d0d99b3 * gdb.base/display.c (do_loops): Add float variable `f'.
Increment f in loop.
        * gdb.base/display.exp: Increment timeout by 60 seconds.
        Change float display test to use variable `f'.
2001-09-17 20:41:22 +00:00
Jim Blandy 1b8947f0b5 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
overflowing the limited breakpoint tables on some ROM monitors
(like the ROM68K).
2001-09-17 19:42:28 +00:00
Frank Ch. Eigler 9890ac81bc 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
	the "-ac" (disable access control) flag.
2001-09-15 17:11:24 +00:00
Jeff Holcomb 6db765ea4b 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
* gdb.base/remote.c: Use a small buffer for targets with 16-bit
        ints.
2001-09-03 19:54:33 +00:00
Keith Seitz 4c32cc04d2 * lib/gdb.exp: Move all insight-related functionality into
separate file.
	* lib/insight-support.exp: New file.
2001-08-30 16:34:04 +00:00
Andrew Cagney a116b84cf9 Cleanups. Now passes! 2001-08-30 01:45:30 +00:00
Frank Ch. Eigler 8d6e6f816b * gdb/sid connect fix, etc.
2001-08-29  Frank Ch. Eigler  <fche@redhat.com>

        * config/sid.exp (sid_start): Never set sid verbosity; disable
        expect_background {} that consumed its stdout; tolerate </dev/null.
        Attempt to set endianness override in "sid" protocol mode.  Cleanup.
2001-08-29 20:36:06 +00:00
Andrew Cagney fe766f112c * mi0-var-block.exp, mi0-stack.exp, mi0-simplerun.exp,
mi0-regs.exp, mi0-watch.exp, mi0-stepi.exp, mi0-until.exp,
mi0-return.exp, mi0-read-memory.exp, mi0-eval.exp,
mi0-disassemble.exp, mi0-console.exp, mi-watch.exp,
mi-var-display.exp, mi-var-cmd.exp, mi-var-child.exp,
mi-until.exp, mi-var-block.exp, mi-stepi.exp, mi-stack.exp,
mi-simplerun.exp, mi-return.exp, mi-regs.exp, mi-read-memory.exp,
mi-disassemble.exp, mi-eval.exp, mi-console.exp: Replace pattern
matching thread=0 with one to also match thread=1.
Fix PR gdb/190.
2001-08-19 01:23:43 +00:00
Andrew Cagney 6a90e1d0a6 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
CLI jump command to start it.
(mi_run_to_main): Fail immediatly when unexpected output.
2001-08-19 01:02:58 +00:00
Andrew Cagney e866d0e845 * mi0-until.exp, mi-until.exp, mi0-stepi.exp, mi-stepi.exp,
mi-simplerun.exp, mi0-simplerun.exp, mi0-return.exp,
mi-return.exp, mi0-console.exp, mi-console.exp: Recognize an
unexpected run-to-main response. Report as a fail.
2001-08-19 00:37:28 +00:00
Andrew Cagney 1759b3c3d8 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
beginning of function.  Fix PR gdb/191.
2001-08-18 21:34:28 +00:00
Frank Ch. Eigler 61d11d8032 * obvious fix
2001-08-16  Frank Ch. Eigler  <fche@redhat.com>

	* config/sid.exp (sid_start): Don't warn if we cannot figure out
	what to force sid endianness to.
2001-08-16 14:19:54 +00:00
Keith Seitz 942a4df220 * lib/gdb.exp (gdbtk_start): Don't set environment
variables for TCL_LIBRARY and friends. Insight will
	now figure these out for itself.
2001-08-15 21:11:45 +00:00
Michael Snyder 0521c418a2 2001-08-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/completion.exp: Remove the symbol "a64l" from
	the expect string; this is target-specific, and not related
	to what is being tested.
2001-08-06 22:08:12 +00:00
Dave Brolley 74a9a58ab5 2001-08-02 Dave Brolley <brolley@redhat.com>
* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2001-08-04 15:56:41 +00:00
Michael Snyder c2b8fa57f7 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/consecutive.exp: New file.  Test stepping over
	breakpoints on consecutive instructions.
	* gdb.base/consecutive.c: New file.
2001-07-25 23:16:40 +00:00
Michael Snyder c70819faea 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/call-rt-st.exp: Use double-backslash to quote
	curly braces in regular expressions.
2001-07-25 22:45:25 +00:00
Michael Snyder 2b1a1355c5 2001-07-25 Michael Snyder <msnyder@redhat.com>
* gdb.base/ending-run.exp: Accept "Program exited normally" as
	legitimate output from stepping out of main.
2001-07-25 22:41:43 +00:00
Keith Seitz 413eca6f96 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
the empty string, do not run the tests.
2001-07-23 19:02:31 +00:00
Stephane Carrez 7e5a932280 * gdb.base/long_long.exp: Detect size of pointer. Take into
account 2-byte pointers when testing for p/a results.
2001-07-17 22:19:49 +00:00