* hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,

HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
	HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
	hp_cxx_exception_support, hp_cxx_exception_support_initialized,
	eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
	eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
	find_stub_with_shl_get, cover_find_stub_with_shl_get,
	initialize_hp_cxx_exception_support, child_enable_exception_callback,
	current_ex_event, child_get_current_exception_event): Remove.
	(hppa_hpux_inferior_created): Remove.
	(hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.

	* breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
	(deprecated_exception_support_initialized): Remove.
	* breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
	(deprecated_exception_support_initialized): Remove.
	(breakpoint_init_inferior): Remove handling of non-zero
	deprecated_exception_catchpoints_are_fragile.

	* symtab.h (deprecated_hp_som_som_object_present): Remove.
	* symtab.c (deprecated_hp_som_som_object_present): Remove.
	* c-typeprint.c (c_type_print_base): Remove handling of non-zero
	deprecated_hp_som_som_object_present.
	* eval.c (evaluate_subexp_standard): Likewise.
	* valops.c (value_cast): Likewise.

	* parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
	* parser-defs.h (parse_nested_classes_for_hpacc): Remove.
	* c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
This commit is contained in:
Ulrich Weigand
2007-06-05 22:47:50 +00:00
parent 5e787d22c9
commit d3e9c991c8
12 changed files with 32 additions and 909 deletions

View File

@ -298,14 +298,6 @@ int breakpoint_count;
/* Pointer to current exception event record */
static struct exception_event_record *current_exception_event;
/* Indicator of whether exception catchpoints should be nuked between
runs of a program. */
int deprecated_exception_catchpoints_are_fragile = 0;
/* Indicator of when exception catchpoints set-up should be
reinitialized -- e.g. when program is re-run. */
int deprecated_exception_support_initialized = 0;
/* This function returns a pointer to the string representation of the
pathname of the dynamically-linked library that has just been
loaded.
@ -1719,7 +1711,6 @@ breakpoint_init_inferior (enum inf_context context)
{
struct breakpoint *b, *temp;
struct bp_location *bpt;
static int warning_needed = 0;
ALL_BP_LOCATIONS (bpt)
bpt->inserted = 0;
@ -1757,28 +1748,9 @@ breakpoint_init_inferior (enum inf_context context)
}
break;
default:
/* Likewise for exception catchpoints in dynamic-linked
executables where required */
if (ep_is_exception_catchpoint (b)
&& deprecated_exception_catchpoints_are_fragile)
{
warning_needed = 1;
delete_breakpoint (b);
}
break;
}
}
if (deprecated_exception_catchpoints_are_fragile)
deprecated_exception_support_initialized = 0;
/* Don't issue the warning unless it's really needed... */
if (warning_needed && (context != inf_exited))
{
warning (_("Exception catchpoints from last run were deleted.\n"
"You must reinsert them explicitly."));
warning_needed = 0;
}
}
/* breakpoint_here_p (PC) returns non-zero if an enabled breakpoint