X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fada-lang.h;h=b68dd4e97d0c542b29b5a04e6ffee716bd22c8eb;hb=0dc327459b19e6765c8fe80957f5c8620611628e;hp=ee03dbd2aad46b332eef4ab6afed517edd67b50d;hpb=98814c6c111a0681e691a72834c8dcc5b8d1bb3a;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index ee03dbd2aa..b68dd4e97d 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -28,7 +28,6 @@ struct parser_state; #include "value.h" #include "gdbtypes.h" #include "breakpoint.h" -#include "common/vec.h" /* Names of specific files known to be part of the runtime system and that might consider (confusing) debugging information. @@ -227,7 +226,7 @@ extern struct type *ada_get_decoded_type (struct type *type); extern const char *ada_decode_symbol (const struct general_symbol_info *); -extern const char *ada_decode (const char*); +extern std::string ada_decode (const char*); extern enum language ada_update_initial_language (enum language); @@ -239,7 +238,7 @@ extern char *ada_fold_name (const char *); extern struct block_symbol ada_lookup_symbol (const char *, const struct block *, - domain_enum, int *); + domain_enum); extern void ada_lookup_encoded_symbol (const char *name, const struct block *block, domain_enum domain, @@ -268,9 +267,9 @@ extern struct value *ada_value_primitive_packed_val (struct value *, extern struct type *ada_coerce_to_simple_array_type (struct type *); -extern int ada_is_character_type (struct type *); +extern bool ada_is_character_type (struct type *); -extern int ada_is_string_type (struct type *); +extern bool ada_is_string_type (struct type *); extern int ada_is_tagged_type (struct type *, int); @@ -343,9 +342,6 @@ extern struct type *ada_find_parallel_type (struct type *, extern bool get_int_var_value (const char *, LONGEST &value); -extern struct symbol *ada_find_renaming_symbol (struct symbol *name_sym, - const struct block *block); - extern int ada_prefer_type (struct type *, struct type *); extern struct type *ada_get_base_type (struct type *); @@ -381,6 +377,10 @@ extern void create_ada_exception_catchpoint const std::string &excep_string, const std::string &cond_string, int tempflag, int disabled, int from_tty); +/* Return true if BP is an Ada catchpoint. */ + +extern bool is_ada_exception_catchpoint (breakpoint *bp); + /* Some information about a given Ada exception. */ struct ada_exc_info @@ -412,7 +412,7 @@ extern void iterate_over_live_ada_tasks extern const char *ada_get_tcb_types_info (void); extern void print_ada_task_info (struct ui_out *uiout, - char *taskno_str, + const char *taskno_str, struct inferior *inf); #endif