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