Michael Chastain
3e3ffd2b74
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
...
With code from Manoj Iyer <manjo@austin.ibm.com>:
* lib/gdb.exp (gdb_file_cmd): Return more information in the
return value. Add an arm for "no debugging symbols found".
Change a stray "error" to "perror".
(gdb_run_cmd): Adapt to new return value.
* gdb.base/remote.exp: Adapt to new return value.
* gdb.gdb/complaints.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
2004-08-28 23:55:48 +00:00
Joel Brobecker
4b6f5fd267
* gdb.threads/bp_in_thread.exp: New testcase.
2004-08-27 14:28:15 +00:00
Michael Chastain
e5b2549632
2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR testsuite/1735.
* gdb.threads/schedlock.c (thread_function): Add a cast
to suppress a gcc warning.
* gdb.threads/thread-specific.c (thread_function): Likewise.
2004-08-27 11:13:28 +00:00
Michael Chastain
934353d642
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/unload.c: Include <stdlib.h>.
2004-08-26 19:26:11 +00:00
Michael Chastain
f98a0aef1b
Bleagh. I messed up the part about properly distinguishing
...
between "guy who wrote the patch" (Paul Gilliam) and
"guy who committed the patch" (me).
2004-08-26 18:18:01 +00:00
Michael Chastain
3a77aa2811
2004-08-26 Paul Gilliam <pgilliam@us.ibm.com>
...
* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
synchronized after the "return".
2004-08-26 18:02:59 +00:00
Michael Chastain
5a2e8882db
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/basics.c: Include <stdio.h>.
* gdb.mi/pthreads.c: Include <stdlib.h>.
* gdb.mi/var-cmd.c: Include <stdlib.h>.
2004-08-26 15:13:17 +00:00
Michael Chastain
a96404235b
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/schedlock.c: Add copyright notice.
2004-08-26 13:10:19 +00:00
Andrew Cagney
b04e311dda
2004-08-25 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
(skip_over_handler, breakpoint_over_hander): New test procedures.
(advance, advancei): Add a proper prefix, do not use
rerun_to_main.
* gdb.base/sigstep.c (main): Change to use an infinite loop.
2004-08-25 15:26:19 +00:00
Michael Chastain
7c27f15bf3
2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/basics.c: Add copyright notice.
* gdb.mi/var-cmd.c: Add copyright notice.
2004-08-25 00:54:53 +00:00
Michael Chastain
fffc87aef7
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/gdb.exp: Remove signed_keyword_not_used.
* lib/compiler.c: Likewise.
* lib/compiler.cc: Likewise.
2004-08-23 13:43:15 +00:00
Michael Chastain
d782e0bfb0
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/whatis.c: Remove conditional disabling of "signed".
* gdb.base/whatis.exp: Remove signed_keyword_not_used.
2004-08-23 13:04:03 +00:00
Michael Chastain
96033e836e
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/whatis.c: Add copyright notice.
2004-08-23 12:28:23 +00:00
Mark Kettenis
cf38c229a1
* gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
...
it to skip the breakpoints encoded in the inline assembly.
2004-08-20 22:15:03 +00:00
Michael Chastain
f4b4975661
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
...
* Makefile.in: Add gdb.fortran.
2004-08-20 14:52:36 +00:00
Michael Chastain
2f193b694d
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/call-sc.exp (test_scalar_returns):
Fix cut-and-paste glitch in "Make fun return now".
2004-08-20 10:57:08 +00:00
Michael Chastain
89a237cb65
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
...
* configure.in: Add gdb.fortran.
* configure: Regenerate.
* gdb.fortran/Makefile.in: New file.
* lib/gdb.exp (skip_fortran_tests): New procedure.
2004-08-17 16:33:28 +00:00
Michael Chastain
469aff8eec
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
reference to bug-gnu@prep.ai.mit.edu .
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
2004-08-17 09:38:29 +00:00
Mark Kettenis
00b51b9f52
* gdb.base/unload.c (main): Make local variable msg const.
2004-08-15 10:24:08 +00:00
Michael Chastain
45f07fef90
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
to bug-gnu@prep.ai.mit.edu .
* gdb.mi/mi-disassemble.exp: Likewise.
* gdb.mi/mi-eval.exp: Likewise.
* gdb.mi/mi-file.exp: Likewise. Also, add comment about the
default line number.
* gdb.mi/mi-return.exp: Likewise.
* gdb.mi/mi-simplerun.exp: Likewise.
* gdb.mi/mi-stack.exp: Likewise.
* gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi-watch.exp: Likewise.
* gdb.mi/mi2-break.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-disassemble.exp: Likewise.
* gdb.mi/mi2-eval.exp: Likewise.
* gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
default line number.
* gdb.mi/mi2-return.exp: Likewise.
* gdb.mi/mi2-simplerun.exp: Likewise.
* gdb.mi/mi2-stack.exp: Likewise.
* gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
number with explicit range test.
* gdb.mi/mi2-watch.exp: Likewise.
2004-08-15 10:15:58 +00:00
Michael Chastain
dd8c8ee780
2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
* gdb.cp/m-static.exp: Likewise.
* gdb.cp/rtti.exp: Likewise.
2004-08-15 09:17:30 +00:00
Mark Kettenis
9250410f5d
Remove accidentally committed entry.
2004-08-14 20:21:53 +00:00
Mark Kettenis
4e83846489
* gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
...
* lib/gdb.exp: Recognize relative path names as well as absolute
ones.
2004-08-14 20:17:43 +00:00
Eli Zaretskii
8d8cb83962
* ChangeLog: Prefix Local Variables with semi-colons and indent
...
the reference to older ChangeLog files, to fix fontification in
Emacs.
2004-08-14 13:23:24 +00:00
Michael Chastain
deea8bb061
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/mi-break.exp: Use gdb_get_line_number.
* gdb.mi/mi2-break.exp: Likewise.
2004-08-13 16:21:29 +00:00
Michael Chastain
c3297504ca
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
2004-08-13 10:43:20 +00:00
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