old-cross-binutils/gdb/testsuite/gdb.cp
Tom Tromey 186c406b19 gdb
PR c++/9593:
	* thread.c (clear_thread_inferior_resources): Call
	delete_longjmp_breakpoint.
	* infrun.c (handle_inferior_event): Handle exception breakpoints.
	(handle_inferior_event): Likewise.
	(insert_exception_resume_breakpoint): New function.
	(check_exception_resume): Likewise.
	* inferior.h (delete_longjmp_breakpoint_cleanup): Declare.
	* infcmd.c (delete_longjmp_breakpoint_cleanup): No longer static.
	(step_1): Set thread's initiating frame.
	(until_next_continuation): New function.
	(until_next_command): Support exception breakpoints.
	(finish_command_continuation): Delete longjmp breakpoint.
	(finish_forward): Support exception breakpoints.
	* gdbthread.h (struct thread_info) <initiating_frame>: New field.
	* breakpoint.h (enum bptype) <bp_exception, bp_exception_resume,
	bp_exception_master>: New constants.
	(struct bpstat_what) <is_longjmp>: New field.
	(set_longjmp_breakpoint): Update.
	* breakpoint.c (create_exception_master_breakpoint): New function.
	(update_breakpoints_after_exec): Handle bp_exception_master.  Call
	create_exception_master_breakpoint.
	(print_it_typical): Handle bp_exception_master, bp_exception.
	(bpstat_stop_status): Handle bp_exception_master.
	(bpstat_what): Handle bp_exception_master, bp_exception,
	bp_exception_resume.
	(bptype_string): Likewise.
	(print_one_breakpoint_location): Likewise.
	(allocate_bp_location): Likewise.
	(set_longjmp_breakpoint): Handle exception breakpoints.  Change
	interface.
	(delete_longjmp_breakpoint): Handle exception breakpoints.
	(mention): Likewise.
	(struct until_break_command_continuation_args) <thread_num>: New
	field.
	(until_break_command_continuation): Call
	delete_longjmp_breakpoint.
	(until_break_command): Support exception breakpoints.
	(delete_command): Likewise.
	(breakpoint_re_set_one): Likewise.
	(breakpoint_re_set): Likewise.
gdb/testuite
	* gdb.java/jnpe.java: New file.
	* gdb.java/jnpe.exp: New file.
	* gdb.cp/nextoverthrow.exp: New file.
	* gdb.cp/nextoverthrow.cc: New file.
2010-12-09 16:09:54 +00:00
..
abstract-origin.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
abstract-origin.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ambiguous.cc
ambiguous.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
annota2.cc
annota2.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
annota3.cc
annota3.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
anon-union.cc
anon-union.exp gdb/testsuite/ 2010-06-02 22:24:15 +00:00
arg-reference.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
arg-reference.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
bool.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bool.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
breakpoint.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
breakpoint.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
bs15503.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
bs15503.exp gdb/testsuite/ 2010-03-12 19:17:01 +00:00
call-c-1.c Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
call-c.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
casts.cc gdb 2010-01-18 20:54:35 +00:00
casts.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
class2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
class2.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
classes.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
classes.exp 2010-06-08 Michael Snyder <msnyder@vmware.com> 2010-06-10 19:48:20 +00:00
converts.cc Support pointer to bool conversion. 2010-10-19 16:07:25 +00:00
converts.exp Support pointer to bool conversion. 2010-10-19 16:07:25 +00:00
cp-relocate.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cp-relocate.exp * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cpcompletion.exp gdb/testsuite/ 2010-02-16 20:23:43 +00:00
cpexprs.cc * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function 2010-08-30 17:38:10 +00:00
cpexprs.exp * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function 2010-08-30 17:38:10 +00:00
cplusfuncs.cc * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
cplusfuncs.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
ctti.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
cttiadd3.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
demangle.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
derivation.cc
derivation.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
exception.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
exception.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
expand-sals.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
expand-sals.exp * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods. 2010-03-09 18:08:05 +00:00
extern-c.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
extern-c.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
formatted-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
formatted-ref.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
fpointer.cc Corrected pre-overload-resolution function evaluation. 2010-07-21 14:59:05 +00:00
fpointer.exp Corrected pre-overload-resolution function evaluation. 2010-07-21 14:59:05 +00:00
gdb1355.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
gdb1355.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb2384-base.cc 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-12 21:13:15 +00:00
gdb2384-base.h 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-12 21:13:15 +00:00
gdb2384.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2384.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
gdb2495.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
gdb2495.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
hang.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
hang.H
hang1.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
hang2.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
hang3.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
infcall-dlopen-lib.cc gdb/testsuite/ 2010-08-17 21:31:13 +00:00
infcall-dlopen.cc gdb/testsuite/ 2010-10-11 21:36:26 +00:00
infcall-dlopen.exp gdb/testsuite/ 2010-08-17 21:31:13 +00:00
inherit.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
koenig.cc Fix PR 11992: C++ 'this' scope sometimes does not work 2010-09-13 20:41:05 +00:00
koenig.exp Fix PR 11992: C++ 'this' scope sometimes does not work 2010-09-13 20:41:05 +00:00
local.cc
local.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
m-data.cc * gdb.base/break.c (need_malloc): New. 2009-11-12 19:35:26 +00:00
m-data.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
m-static.cc gdb 2010-03-13 00:27:12 +00:00
m-static.exp PR c++/11702 2010-06-29 16:53:10 +00:00
m-static.h PR c++/11702 2010-06-29 16:53:10 +00:00
m-static1.cc
maint.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
Makefile.in PR 9167 2010-04-21 17:33:54 +00:00
mb-ctor.cc
mb-ctor.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
mb-inline.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
mb-inline.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-inline2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
mb-templates.cc
mb-templates.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
member-ptr.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
member-ptr.exp 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com> 2010-07-28 19:04:08 +00:00
method.cc
method.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
method2.cc
method2.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
misc.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
misc.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
namespace-nested-import.cc
namespace-nested-import.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
namespace.cc gdb 2010-01-19 18:11:19 +00:00
namespace.exp * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails 2010-08-02 23:41:19 +00:00
namespace1.cc gdb/ 2010-06-28 20:39:30 +00:00
nextoverthrow.cc gdb 2010-12-09 16:09:54 +00:00
nextoverthrow.exp gdb 2010-12-09 16:09:54 +00:00
nsdecl.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsdecl.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsimport.cc 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 15:48:25 +00:00
nsimport.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsrecurs.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsrecurs.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsstress.cc 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-26 16:47:35 +00:00
nsstress.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
nsusing.cc 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com> 2010-01-28 17:58:02 +00:00
nsusing.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
operator.cc Added import loop test. 2010-06-25 18:05:30 +00:00
operator.exp Added import loop test. 2010-06-25 18:05:30 +00:00
oranking.cc Test case for unimplemented overload cases. 2010-10-08 18:28:46 +00:00
oranking.exp Fix derived class overload problem. 2010-11-04 20:43:25 +00:00
overload.cc Fix derived class overload problem. 2010-11-04 20:43:25 +00:00
overload.exp Fix derived class overload problem. 2010-11-04 20:43:25 +00:00
ovldbreak.cc
ovldbreak.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
pass-by-ref.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pass-by-ref.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-574.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr-574.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
pr-1023.cc
pr-1023.exp 2010-05-25 Michael Snyder <msnyder@vmware.com> 2010-06-01 18:18:35 +00:00
pr-1210.cc
pr-1210.exp 2010-06-04 Michael Snyder <msnyder@vmware.com> 2010-06-04 21:45:04 +00:00
pr9067.cc PR gdb/9067 2010-02-08 18:04:17 +00:00
pr9067.exp PR gdb/9067 2010-02-08 18:04:17 +00:00
pr9167.cc PR 9167 2010-04-21 17:33:54 +00:00
pr9167.exp * gdb.cp/cpexprs.exp: Skip test on spu*-*-*. 2010-06-11 17:35:28 +00:00
pr9594.cc
pr9631.cc
pr9631.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
pr10687.cc PR 10867 2010-04-20 20:22:12 +00:00
pr10687.exp PR 10867 2010-04-20 20:22:12 +00:00
pr10728-x.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-x.h PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728-y.cc PR gdb/10728 2010-02-08 18:27:53 +00:00
pr10728.exp PR gdb/10728 2010-02-08 18:27:53 +00:00
pr12028.cc Fix PR 12028: "GDB crashes on a double free during overload resolution " 2010-09-22 15:48:59 +00:00
pr12028.exp Fix PR 12028: "GDB crashes on a double free during overload resolution " 2010-09-22 15:48:59 +00:00
printmethod.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
printmethod.exp 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com> 2010-07-28 19:04:08 +00:00
psmang.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
psmang1.cc
psmang2.cc
ptype-cv-cp.cc gdb/ 2010-10-15 17:48:48 +00:00
ptype-cv-cp.exp gdb/ 2010-10-15 17:48:48 +00:00
punctuator.exp 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> 2010-06-02 20:03:16 +00:00
re-set-overloaded.cc gdb/testsuite/ 2010-06-02 17:35:16 +00:00
re-set-overloaded.exp gdb/testsuite/ 2010-06-02 17:35:16 +00:00
ref-params.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-params.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
ref-types.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
ref-types.exp gdb/testsuite/ 2010-06-02 22:20:12 +00:00
rtti.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
rtti.h Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti1.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
rtti2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
shadow.cc 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com> 2010-03-15 17:29:36 +00:00
shadow.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
smartp.cc cvs add smartp.cc smartp.exp 2010-10-20 18:56:09 +00:00
smartp.exp cvs add smartp.cc smartp.exp 2010-10-20 18:56:09 +00:00
static-print-quit.cc gdb/ 2010-06-28 16:59:47 +00:00
static-print-quit.exp gdb/ 2010-06-28 16:59:47 +00:00
temargs.cc gdb 2010-07-28 16:23:59 +00:00
temargs.exp * gdb.cp/temargs.exp: For new tests that require newer gccs, 2010-07-30 20:12:00 +00:00
templates.cc gdb/ 2010-09-08 19:09:43 +00:00
templates.exp * gdb.cp/templates.exp (test_template_args): Allow "struct". 2010-09-08 23:41:40 +00:00
try_catch.cc
try_catch.exp Do not set prms_id/bug_id anymore. 2010-05-05 18:07:04 +00:00
userdef.cc gdb 2010-03-15 17:26:47 +00:00
userdef.exp gdb/ 2010-06-28 20:39:30 +00:00
virtbase.cc gdb/ 2010-06-28 20:12:53 +00:00
virtbase.exp gdb/ 2010-06-28 20:12:53 +00:00
virtfunc.cc
virtfunc.exp 2010-06-03 Michael Snyder <msnyder@vmware.com> 2010-06-03 23:54:18 +00:00
virtfunc2.cc Update copyright year in most headers. 2010-01-01 07:32:07 +00:00
virtfunc2.exp Update copyright year in most headers. 2010-01-01 07:32:07 +00:00