From 9ac4176b6d170664f13074e4dd69b8f110fdb931 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 22 Jun 2011 17:52:37 +0000 Subject: 2011-06-22 Pedro Alves * ada-lang.c: Include arch-utils.h. (ada_decode_exception_location): Make static. (catch_ada_exception_command): Moved here from breakpoint.c. (ada_decode_assert_location): Make static. (catch_assert_command): Moved here from breakpoint.c. (_initialize_ada_lang): Install the exception and assert catchpoint commands here. * ada-lang.h (ada_decode_exception_location) (ada_decode_assert_location): Delete declarations. * breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): Moved to breakpoint.h. (create_ada_exception_breakpoint): Make extern. (catch_ada_exception_command, catch_assert_command): Moved to ada-lang.c. (add_catch_command): Make extern. (_initilize_breakpoint): Don't install the exception and assert catchpoint commands here. * breakpoint.h (CATCH_PERMANENT, CATCH_TEMPORARY): Moved from breakpoint.c (add_catch_command, create_ada_exception_breakpoint): Declare. --- gdb/ada-lang.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gdb/ada-lang.h') diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index 7902124..e0366fc 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -387,15 +387,4 @@ extern int ada_build_task_list (int warn_if_null); extern int ada_exception_catchpoint_p (struct breakpoint *b); -extern struct symtab_and_line - ada_decode_exception_location (char *args, char **addr_string, - char **exp_string, char **cond_string, - struct expression **cond, - struct breakpoint_ops **ops); - -extern struct symtab_and_line - ada_decode_assert_location (char *args, char **addr_string, - struct breakpoint_ops **ops); - - #endif -- cgit v1.1