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
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
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
Joel Brobecker
f0aaee4940
* gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
...
* gdb.ada (null_record.exp): New testcase.
2004-04-01 00:58:00 +00:00
Joel Brobecker
ac81cb5421
* Makefile.in (ALL_SUBDIRS) Add gdb.ada.
2004-04-01 00:55:48 +00:00
Joel Brobecker
854af2f7b2
* gdb.ada: New subdirectory.
...
* gdb.ada/Makefile.in: New file.
* gdb.ada/gnat_ada.gpr.in: New file.
2004-04-01 00:53:51 +00:00
Joel Brobecker
034cb68144
* lib/ada.exp: New file.
2004-04-01 00:51:13 +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
David Carlton
23c73aa3b7
2004-03-17 David Carlton <carlton@kealia.com>
...
* gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
PR c++/826.
2004-03-17 20:11:22 +00:00
Roland McGrath
d63a86f8b1
.
2004-03-16 21:47:19 +00:00
David Carlton
0e02aa5022
2004-03-12 David Carlton <carlton@kealia.com>
...
* gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
* gdb.cp/pr-1553.cc: Ditto.
* gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
pass branch.
2004-03-12 17:46:27 +00:00
Michael Chastain
c20b71be64
2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp: Accept more template types.
2004-03-12 16:40:07 +00:00
Michael Chastain
c7414a01d5
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
...
From Corinna Vinschen with modifications.
* gdb.cp/classes.cc (enums1): Add a line to extend scope of
local variable obj_with_enum.
* gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
results with obj_with_enum.
2004-03-09 17:34:39 +00:00
Michael Chastain
ed69573cd5
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.cc: New file, copied from misc.cc.
* gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
2004-03-09 17:11:55 +00:00
Michael Chastain
283014616e
2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/misc.cc: Add copyright notice.
2004-03-09 17:02:06 +00:00
David Carlton
1198ecbe71
2004-03-05 David Carlton <carlton@kealia.com>
...
* cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion
bug.
2004-03-05 David Carlton <carlton@kealia.com>
* gdb.cp/rtti.exp: Add 'print *obj3' test.
* gdb.cp/rtti.h: Update copyright.
(namespace n2::n3): New.
* gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
(n2::n3::func3): New.
(main): Call n2::n3::func3.
* gdb.cp/rtti2.cc: Update copyright.
(n2::create3): New.
2004-03-05 17:32:25 +00:00
Mark Kettenis
9e08c470e8
* gdb.asm/openbsd.inc: Fix typo.
2004-03-04 10:23:16 +00:00
Fred Fish
4bebc3aa3c
Committed under "obvious fix rule".
...
2004-03-03 Fred Fish <fnf@redhat.com>
* gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
"val" instead of unused "size". Update copyright year.
2004-03-03 19:12:52 +00:00
Daniel Jacobowitz
6ea9fb3712
* gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
...
to use unsigned char.
* gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
2004-02-29 22:29:15 +00:00
Daniel Jacobowitz
23b23974c7
* config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
...
line of output.
2004-02-29 16:51:48 +00:00
Daniel Jacobowitz
7574fd5374
* gdb.base/relocate.c (dummy): Initialize.
2004-02-29 02:58:28 +00:00
Daniel Jacobowitz
a195357fd2
* gdb.base/chng-syms.exp: Anchor exit pattern. Allow
...
a breakpoint at exit.
2004-02-29 02:55:21 +00:00
Fred Fish
72fd54a966
Reviewed and approved by drow@false.org.
...
2004-02-27 Fred Fish <fnf@redhat.com>
* gdb.base/chng-syms.exp: Add expect condition to match failing
case that isn't a timeout.
2004-02-28 05:40:46 +00:00
Andrew Cagney
b9d2313780
2004-02-27 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
support.
2004-02-27 16:48:03 +00:00
Fred Fish
15d208f651
Reviewed and approved by cagney@gnu.org.
...
2004-02-26 Fred Fish <fnf@redhat.com>
* gdb.arch/gdb1431.c: Remove.
* gdb.arch/gdb1431.s: New file, copy of gdb1291.s
* gdb.arch/gdb1431.exp: Use "advance" correctly instead
of "until" incorrectly.
2004-02-26 22:19:18 +00:00
Joel Brobecker
98f9cd2d31
* gdb.cp/class2.cc (empty): New class.
...
(refer): New function.
(main): Declare an object of type empty and use it.
* gdb.cp/class2.exp: Print the value of an object of type empty.
2004-02-26 20:22:44 +00:00
Jeff Johnston
9b50c11b36
2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.base/langs.exp: Update query string to match the
new nquery format used for pending breakpoints.
2004-02-26 19:36:16 +00:00
Andrew Cagney
0dcd613f58
Index: ChangeLog
...
2004-02-26 Andrew Cagney <cagney@redhat.com>
Fix PR i18n/1570.
* charset.c (backslashable, backslashed, represented): Remove 'e'
from list of escaped characters, not part of ISO-C.
Index: charset.c
Index: testsuite/ChangeLog
2004-02-26 Andrew Cagney <cagney@redhat.com>
Fix PR i18n/1570.
* gdb.base/charset.c: Update copyright notice.
(main, init_string): Remove the escape character '\e' tests.
* gdb.base/printcmds.exp (test_print_all_chars): Ditto.
* gdb.base/charset.exp (valid_host_charset): Ditto.
* gdb.base/setvar.exp: Ditto.
2004-02-26 17:23:23 +00:00
Andrew Cagney
90d59e3423
2004-02-24 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
mmapped data in core file" PASS and FAIL messages consistent.
2004-02-24 22:58:05 +00:00
Andrew Cagney
b8a566476b
2004-02-24 Andrew Cagney <cagney@redhat.com>
...
* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
setting a breakpoint. Work around PR java/1565.
2004-02-24 16:09:48 +00:00
Jeff Johnston
9f27c60433
2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
...
* lib/gdb.exp (gdb_breakpoint): Update query string to match
new nquery format.
* gdb.base/pending.exp: Ditto.
2004-02-23 19:27:46 +00:00
Fred Fish
1e1b342893
Missed adding ChangeLog entry and updating copyright year in a previous
...
check in of callfuncs.exp.
2004-02-20 Fred Fish <fnf@redhat.com>
* gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
blank in test for "returns short", for consistency with other
"returns xxx" tests. Update copyright year.
2004-02-23 16:18:09 +00:00
Mark Kettenis
3224a7064a
* configure.in: Run stabs tests on *BSD.
...
* configure: Regenerated.
2004-02-22 12:58:01 +00:00
Mark Kettenis
41e0a9cab8
* gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
2004-02-21 18:43:58 +00:00
Fred Fish
f9a7572ae1
Testcase suggested by ezannoni@redhat.com.
...
2004-02-19 Fred Fish <fnf@redhat.com>
New testcase for PR breakpoint/1558.
* gdb.arch/gdb1558.exp: New file.
* gdb.arch/gdb1558.c: New file.
2004-02-19 22:55:50 +00:00
Elena Zannoni
b2ce285497
2004-02-19 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/nodebug.exp: Fix typo.
2004-02-19 16:43:19 +00:00
Jim Blandy
62f4b920f7
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
2004-02-18 04:22:02 +00:00
Jim Blandy
2db536a1ff
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
2004-02-18 04:15:46 +00:00
Jim Blandy
e7c9ff0185
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
...
Committed by Jim Blandy <jimb@redhat.com>.
* gdb.base/float.exp: Support s390*-*-* targets.
2004-02-18 04:13:43 +00:00
Adam Fedor
f3205b34a1
* gdb.base/gdb1555.exp: New file.
...
* gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
2004-02-18 03:35:08 +00:00
Elena Zannoni
9d62932daa
2004-02-17 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (defs_h): Remove dependency on progress_h.
* defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
progress.h.
* main.c (captured_main): Delete use of START_PROGRESS and
END_PROGRESS.
2004-02-17 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
2004-02-18 00:21:01 +00:00
Fred Fish
344c97118d
2004-02-16 Fred Fish <fnf@redhat.com>
...
* gdb.arch/gdb1291.c: Remove
* gdb.arch/gdb1291.s: New test input file.
* gdb.arch/gdb1291.exp: Expand test to check case that should not
fail. Test for correct result, known incorrect result, other
failures and timeouts.
2004-02-16 19:04:52 +00:00
Andrew Cagney
2d822687d5
2004-02-16 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/bigcore.exp: New file.
* gdb.base/bigcore.c: New file.
2004-02-16 18:49:09 +00:00
Andrew Cagney
dac15b6656
2004-02-13 Andrew Cagney <cagney@redhat.com>
...
* gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
* gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
* gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
* gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
* gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
* gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
* gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
* gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
* gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
* gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
2004-02-13 19:59:25 +00:00
Jeff Johnston
6bdfc2c47f
2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
executed is an alloc instruction.
2004-02-11 22:15:06 +00:00
David Carlton
87b3ede8af
2004-02-11 David Carlton <carlton@kealia.com>
...
* linespec.c (decode_compound): Only look for a class symbol when
considering all but the rightmost component.
2004-02-11 David Carlton <carlton@kealia.com>
* gdb.cp/breakpoint.exp: New.
* gdb.cp/breakpoint.cc: New.
2004-02-11 18:04:14 +00:00
Michael Chastain
6e19e2bf78
2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR gdb/1543.
* gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
to bug-gdb@prep.ai.mit.edu .
* gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
Likewise.
2004-02-11 14:01:25 +00:00
Andrew Cagney
5c5455dc1e
2004-02-10 Andrew Cagney <cagney@redhat.com>
...
* lib/gdb.exp (gdb_expect_list): Recover from internal-errors
using gdb_internal_error_resync.
2004-02-10 21:00:15 +00:00
Daniel Jacobowitz
9cf689d7c7
* gdb.threads/thread-specific.exp: Stop early if no threads are
...
found.
2004-02-09 22:45:35 +00:00
Michael Chastain
d2dc51dbff
2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/pending.exp: Remove extra \n from gdb_test calls.
2004-02-09 10:55:24 +00:00
Daniel Jacobowitz
14b1a05659
* lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
...
breakpoints.
2004-02-08 22:30:42 +00:00
Daniel Jacobowitz
83f66e8f3b
* config/sim.exp (gdb_load): Handle $arg == "".
...
* lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
* gdb.objc/basicclass.exp: Use gdb_run_cmd.
2004-02-08 03:56:15 +00:00
Elena Zannoni
30fc0091a5
2004-02-07 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/maint.exp: Update test to reflect
obstack changes.
2004-02-07 23:26:47 +00:00
Jeff Johnston
4d80692901
2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.base/pendshr.c (pendfunc): New function that calls
pendfunc1.
* gdb.base/pending.c: Call pendfunc instead of pendfunc1.
2004-02-05 01:19:14 +00:00
Fred Fish
7bfdd688ac
Reviewed and approved by drow@mvista.com.
...
2004-02-04 Fred Fish <fnf@redhat.com>
* gdb.arch/gdb1431.c: Add underbar prefixed version of global
function symbols and update copyright years.
* gdb.arch/gdb1291.c: Ditto.
2004-02-04 14:41:20 +00:00
Michael Chastain
aaa08ee402
2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
2004-02-04 04:18:45 +00:00
Michael Chastain
dbad775550
2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
2004-02-04 04:04:25 +00:00
Michael Chastain
ec4646ef4d
2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
2004-02-04 02:01:17 +00:00
Fred Fish
1b8021965a
Reviewed and approved by drow@mvista.com.
...
2004-02-02 Fred Fish <fnf@redhat.com>
* gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
remote targets. Update copyright years.
2004-02-02 21:30:02 +00:00
Jeff Johnston
18fe20335a
2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
...
* lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
support.
* gdb.base/langs.exp: Fix test which attempts to create
breakpoint on non-existent function to handle new pending
support.
* gdb.base/shlib-call.exp: Use gdb_breakpoint to set
a breakpoint.
* gdb.base/pending.exp: New test.
* gdb.base/pending.c: New file.
* gdb.base/pendshr.c: Ditto.
2004-02-02 21:14:33 +00:00
David Carlton
8d577d328a
2004-02-02 David Carlton <carlton@kealia.com>
...
* valops.c (enum oload_classification): New.
(find_overload_match): Break implementation into separate
functions; delete #if 0'd code; look for symbols within
namespaces.
(find_oload_champ_namespace,find_oload_champ_namespace_loop)
(find_oload_champ,oload_method_static,classify_oload_match): New.
* cp-support.h: Add declaration for cp_func_name; update
declaration for make_symbol_overload_list.
* cp-support.c (cp_func_name): New.
(overload_list_add_symbol): Fix comment, use
SYMBOL_LINKAGE_NAME and SYMBOL_NATURAL_NAME.
(make_symbol_overload_list): Take a function name and a namespace
instead of a symbol; change implementation.
(make_symbol_overload_list_using): New.
(make_symbol_overload_list_qualified, read_in_psymtabs): New.
2004-02-02 David Carlton <carlton@kealia.com>
* gdb.cp/overload.exp: Add overloadNamespace tests.
* gdb.cp/overload.cc (dummyClass, dummyInstance): New.
(overloadNamespace, XXX): New.
(main): Call XXX::marker2.
2004-02-02 20:44:53 +00:00
Fred Fish
3ad1377116
Reviewed and approved by drow@mvista.com:
...
2004-02-01 Fred Fish <fnf@redhat.com>
* gdb.base/dump.exp: Use runto_main instead of "runto main".
* gdb.base/finish.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.base/huge.exp: Ditto.
* gdb.base/info-proc.exp: Ditto.
* gdb.base/return2.exp: Ditto.
* gdb.threads/gcore-thread.exp: Ditto.
2004-02-02 05:15:27 +00:00
Daniel Jacobowitz
44c7584953
* gdb.threads/thread-specific.exp: Add missing anchor to regexp.
2004-02-02 01:57:56 +00:00
Mark Kettenis
005bc093f6
* gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
...
that opening the file succeeds on OpenBSD.
2004-02-01 18:51:29 +00:00
Daniel Jacobowitz
c47cebdbd2
* gdb.threads/thread-specific.c: New file.
...
* gdb.threads/threads-specific.exp: New test script.
* lib/gdb.exp (gdb_test_multiple): Allow user patterns access
to expect_out.
2004-02-01 18:04:37 +00:00
Mark Kettenis
5a01311c59
* gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
...
sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
only on the "print_small_structs from print_long_arg_list" test.
2004-02-01 10:17:36 +00:00
Daniel Jacobowitz
ce22a4f1db
* gdb.base/completion.exp: Kill a stray backslash.
...
From Jim Ingham <jingham@apple.com>:
* gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
agrees with the result from sending a tab.
2004-02-01 05:49:07 +00:00
Daniel Jacobowitz
abbab9d3eb
* gdb.base/chng-syms.exp: Remove stray newline.
2004-01-31 18:11:25 +00:00
Mark Kettenis
53904d1e5f
* gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
...
*-*-openbsd*.
* gdb.asm/openbsd.inc: New file.
2004-01-31 14:32:24 +00:00
Mark Kettenis
3a4b3aac5a
* gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
...
append -static to link-flags for *-*-freebsd*, *-*netbsd* and
*-*solaris2*. Remove commented out default settings for
asm-flags. Replace gdb_compile with target_link.
2004-01-30 21:23:46 +00:00
Michael Chastain
ebac27b4c3
2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
for all tests. Remove old hp-ux and cygnus xfail cases.
2004-01-30 01:37:42 +00:00
Paul N. Hilfinger
d8679d841d
New test to check that GDB does not crash due to memory corruption
...
when a reload caused by a change in an executable invalidates
a breakpoint condition.
2004-01-29 11:15:44 +00:00
Michael Chastain
0a55bc2299
2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
Provide arms for current output in all my configurations.
2004-01-27 02:43:35 +00:00
Michael Chastain
94b8e87660
2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Always call gdb_compile to
get the right preprocessor. Eval the output directly. Remove
special tests for hp_cc_compiler and hp_aCC_compiler. Remove
hp_f77_compiler and hp_f90_compiler completely.
(gdb_preprocess): Delete.
(get_compiler): Delete.
2004-01-24 21:59:03 +00:00
Mark Kettenis
7cf03d44ce
* gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
...
<string.h>.
2004-01-24 18:25:06 +00:00
Nick Roberts
68b6dce908
*** empty log message ***
2004-01-24 04:20:55 +00:00
David Carlton
b368761e45
2004-01-23 David Carlton <carlton@kealia.com>
...
Partial workaround for PR c++/1511:
* cp-namespace.c: Include frame.h.
(cp_lookup_transparent_type): New
(cp_lookup_transparent_type_loop): New.
* cp-support.h: Declare cp_lookup_transparent_type.
* symtab.c (basic_lookup_transparent_type): Renamed from
lookup_transparent_type.
(lookup_transparent_type): Replace old body by a call to
current_language->la_lookup_transparent_type.
* symtab.h: Update copyright. Declare
basic_lookup_transparent_type.
* language.h: Update copyright.
(struct language_defn): Add la_lookup_transparent_type.
* language.c: Update copyright.
(unknown_language_defn): Add basic_lookup_transparent_type.
(auto_language_defn): Add basic_lookup_transparent_type.
(local_language_defn): Add basic_lookup_transparent_type.
* ada-lang.c: Update copyright.
(ada_language_defn): Add basic_lookup_transparent_type.
* c-lang.c: Update copyright.
(c_language_defn): Add basic_lookup_transparent_type.
(cplus_language_defn): Add basic_lookup_transparent_type.
(asm_language_defn): Add basic_lookup_transparent_type.
(minimal_language_defn): Add basic_lookup_transparent_type.
* f-lang.c: Update copyright.
(f_language_defn): Add basic_lookup_transparent_type.
* jv-lang.c: Update copyright.
(java_language_defn): Add basic_lookup_transparent_type.
* m2-lang.c: Update copyright.
(m2_language_defn): Add basic_lookup_transparent_type.
* objc-lang.c: Update copyright.
(objc_language_defn): Add basic_lookup_transparent_type.
* p-lang.c: Update copyright.
(p_language_defn): Add basic_lookup_transparent_type.
* scm-lang.c: Update copyright.
(scm_language_defn): Add basic_lookup_transparent_type.
* Makefile.in (cp-namespace.o): Depend on frame.h.
2004-01-23 David Carlton <carlton@kealia.com>
* gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
test for cp_lookup_transparent_type.
* gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
call them.
2004-01-23 23:03:31 +00:00
Daniel Jacobowitz
f2061b53c1
* gdb.mi/mi-var-child.exp: Update copyright year. Move new test
...
after -var-update.
2004-01-23 22:46:13 +00:00
David Carlton
37fc574aa0
2004-01-23 David Carlton <carlton@kealia.com>
...
* gdb.cp/namespace.cc (C::ensureRefs): New.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
2004-01-23 21:55:57 +00:00
Nick Roberts
8e94b9285c
*** empty log message ***
2004-01-20 00:51:13 +00:00
Michael Chastain
997b095265
2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
2004-01-19 04:06:42 +00:00
Mark Kettenis
7049b4b8ac
* gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
...
used with gdb_test_multiple.
2004-01-18 21:17:57 +00:00
Mark Kettenis
52470da313
* gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
...
read at address 0. This fixes PR testsuite/1504.
2004-01-18 16:35:11 +00:00
Daniel Jacobowitz
da6012e52d
* config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
...
Remove downloading, guessing the host executable, the calls to
gdb_file_cmd and gdb_target_cmd, and "load" support.
(infer_host_exec): New function broken out from gdb_load.
(gdb_load): New wrapper for gdbserver_gdb_load.
* lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
gdb_target_cmd. Use -target-select.
(mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
Download binaries to the host. Clear last_mi_remote_file when
we load a new binary.
(mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
call gdbserver_gdb_load and mi_gdb_target_cmd.
2004-01-18 15:23:30 +00:00
Michael Chastain
32c70722c3
2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
type patterns.
2004-01-18 04:18:56 +00:00
Michael Chastain
b0cecf36fd
2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp: Fix typo in test name of
"print Foo<volatile char*>::foo".
2004-01-18 03:33:22 +00:00
Michael Chastain
4120d7e626
2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
2004-01-15 22:23:26 +00:00
Ben Elliston
f679e5307c
2004-01-16 Ben Elliston <bje@wasabisystems.com>
...
* gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
(clean mostlyclean): Remove empty rm.
2004-01-15 21:16:38 +00:00
Michael Chastain
091c48f61a
2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/setvar.exp: Add copyright years.
2004-01-15 19:28:46 +00:00
David Carlton
3e5fc8d240
2004-01-14 David Carlton <carlton@bactrian.org>
...
* gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
PR c++/1511 and update coment.
* gdb.cp/templates.exp: Update patterns to match current output.
If changes involve something other than whitespace, KFAIL
w.r.t. PR c++/1512 or PR c++/931 as appropriate.
2004-01-14 19:03:32 +00:00
David Carlton
63d06c5c42
2004-01-14 David Carlton <carlton@kealia.com>
...
Change symbols for C++ nested types to contain the fully qualified
name, if possible. (At least in the DWARF-2 case.) Partial fix
for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832,
c++/895.
* c-exp.y: Update copyright:
(qualified_type): Handle types nested within classes.
* cp-namespace.c: Update comments.
(cp_set_block_scope): Delete #if 0.
(cp_lookup_nested_type): Handle types nested within classes.
* dwarf2read.c: (scan_partial_symbols): Call add_partial_structure
when appropriate.
(add_partial_symbol): Add the name of the enclosing namespace to
types.
(pdi_needs_namespace): New.
(add_partial_namespace): Tweak comment.
(add_partial_structure): New.
(psymtab_to_symtab_1): Initialize processing_current_prefix
here...
(process_die): instead of here.
(read_structure_scope): Try to figure out the name of the class or
namespace that the structure might be defined within.
(read_enumeration): Generate fully-qualified names, if possible.
(read_namespace): Don't set name to NULL.
(die_specification): New.
(new_symbol): Generate fully-qualified names for types.
(read_type_die): Determine appropriate prefix.
(determine_prefix): New.
(typename_concat): New.
(class_name): New.
* valops.c: Update copyright.
(value_aggregate_elt): Pass NOSIDE to
value_struct_elt_for_reference.
(value_struct_elt_for_reference): Make static, add NOSIDE
parameter, call value_maybe_namespace_elt as a last resort.
(value_namespace_elt): Break out code into
value_maybe_namespace_elt.
(value_maybe_namespace_elt): New.
2004-01-14 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.exp: Add tests involving classes defined within
namespaces.
* gdb.cp/namespace.cc (C::CClass): New.
* gdb.cp/namespace1.cc: Update copyright.
(C::OtherFileClass): New.
2004-01-14 16:54:43 +00:00
Elena Zannoni
a51dab8874
2004-01-14 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/sepdebug.exp: Bail out of the test if we don't know
what debug info we have. Print a better message if something goes
wrong while producing the separate debug info file.
2004-01-14 15:09:37 +00:00
Michael Chastain
a476ccc9d7
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/callfuncs.c: Remove explicit declaration of malloc.
2004-01-14 14:32:54 +00:00
Michael Chastain
f453692c70
2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/callfuncs.c: Add copyright notice.
2004-01-14 14:11:40 +00:00
Michael Chastain
f40063a5ba
2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/derivation.exp: Add XFAIL for bug with protected
inheritance. PR gdb/1498, PR gcc/13539.
2004-01-14 03:57:23 +00:00
Elena Zannoni
19ac3974bc
2004-01-13 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.threads/gcore-thread.exp: Prefix name of binary with
test specific name.
* gdb.mi/gdb669.exp: Ditto.
* gdb.mi/mi-pthreads.exp: Ditto.
* gdb.mi/mi1-pthreads.exp: Ditto.
* gdb.mi/mi2-pthreads.exp: Ditto.
2004-01-13 17:08:03 +00:00
Michael Chastain
56c97c6e25
2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/member-ptr.cc: Add copyright notice.
2004-01-13 04:53:00 +00:00
Michael Chastain
a0644324db
2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
some patterns for recent versions of gcc and hpacc. Delete
calls to setup_xfail for hppa*-*-*. Delete redundant tests.
Delete tests that access a NULL pointer-to-member-data. This
script is still disabled for gcc.
2004-01-13 04:36:04 +00:00
Elena Zannoni
32fabe093f
2004-01-12 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.mi/mi2-basics.exp: Make sure that full pathnames are
escaped correctly.
2004-01-13 00:25:28 +00:00
Elena Zannoni
1f8a6abba1
2004-01-12 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/sepdebug.exp: New file.
* gdb.base/sepdebug.c: New file.
* lib/gdb.exp (separate_debug_filename): New procedure.
(gdb_gnu_strip_debug): New procedure.
2004-01-12 17:20:41 +00:00
Andrew Cagney
48efe7049b
Eliminate the old mi/tui specific ChangeLog files as in ...
...
Added Files:
mi/ChangeLog-1999-2003 testsuite/gdb.mi/ChangeLog-1999-2003
tui/ChangeLog-1998-2003
Removed Files:
mi/ChangeLog testsuite/gdb.mi/ChangeLog tui/ChangeLog
2004-01-12 15:16:44 +00:00
Andrew Cagney
a94154757c
2004-01-12 Andrew Cagney <cagney@redhat.com>
...
* gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
"Renaming a directory to a non-empty directory returns ENOTEMPTY
or EEXIST", treat EBUSY as an XFAIL.
2004-01-12 14:44:49 +00:00
Michael Chastain
83b8cf9d6b
2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/scope.exp: Remove obsolete setup_xfail for
hp_cc_compiler.
2004-01-11 23:16:25 +00:00
Michael Chastain
9939d2a823
2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
decorations.
2004-01-11 09:40:37 +00:00
Michael Chastain
04cf5ce7dd
Fix last commit. I accidentally committed a ChangeLog entry for a
...
change that hasn't been approved yet (setvar.exp). The change itself
was never committed. -- sorry, michael c
2004-01-11 08:16:42 +00:00