* ada-lang.c (ada_lookup_partial_symbol)
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix prototype names so that grep ^func works properly. * ada-lang.c (ada_array_element_type) (ada_lookup_partial_symbol): Fix typos in parameter list. * ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1): Fix prototype names so that grep ^func works properly.
This commit is contained in:
parent
661757b496
commit
3b19021e44
3 changed files with 24 additions and 16 deletions
|
@ -1,3 +1,16 @@
|
||||||
|
2002-08-11 Aidan Skinner <aidan@velvet.net>
|
||||||
|
|
||||||
|
* ada-lang.c (ada_lookup_partial_symbol)
|
||||||
|
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix
|
||||||
|
prototype names so that grep ^func works properly.
|
||||||
|
|
||||||
|
* ada-lang.c (ada_array_element_type)
|
||||||
|
(ada_lookup_partial_symbol): Fix typos in parameter list.
|
||||||
|
|
||||||
|
* ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
|
||||||
|
Fix prototype names so that grep ^func works properly.
|
||||||
|
|
||||||
|
|
||||||
2002-08-10 Andrew Cagney <cagney@redhat.com>
|
2002-08-10 Andrew Cagney <cagney@redhat.com>
|
||||||
Elena Zannoni <ezannoni@redhat.com>
|
Elena Zannoni <ezannoni@redhat.com>
|
||||||
Martin M. Hunt <hunt@redhat.com>
|
Martin M. Hunt <hunt@redhat.com>
|
||||||
|
|
|
@ -95,8 +95,7 @@ static int is_nonfunction (struct symbol**, int);
|
||||||
|
|
||||||
static void add_defn_to_vec (struct symbol*, struct block*);
|
static void add_defn_to_vec (struct symbol*, struct block*);
|
||||||
|
|
||||||
static struct partial_symbol*
|
static struct partial_symbol* ada_lookup_partial_symbol (struct partial_symtab*, const char*,
|
||||||
ada_lookup_partial_symbol (struct partial_symtab*, const char*,
|
|
||||||
int, namespace_enum, int);
|
int, namespace_enum, int);
|
||||||
|
|
||||||
static struct symtab* symtab_for_sym (struct symbol*);
|
static struct symtab* symtab_for_sym (struct symbol*);
|
||||||
|
@ -128,8 +127,7 @@ static struct type * ada_create_fundamental_type (struct objfile*, int);
|
||||||
|
|
||||||
static int is_dynamic_field (struct type *, int);
|
static int is_dynamic_field (struct type *, int);
|
||||||
|
|
||||||
static struct type*
|
static struct type* to_fixed_variant_branch_type (struct type*, char*, CORE_ADDR, struct value*);
|
||||||
to_fixed_variant_branch_type (struct type*, char*, CORE_ADDR, struct value*);
|
|
||||||
|
|
||||||
static struct type* to_fixed_range_type (char*, struct value*, struct objfile*);
|
static struct type* to_fixed_range_type (char*, struct value*, struct objfile*);
|
||||||
|
|
||||||
|
@ -159,8 +157,7 @@ static int wild_match (const char*, int, const char*);
|
||||||
|
|
||||||
static struct symtabs_and_lines find_sal_from_funcs_and_line (const char*, int, struct symbol**, int);
|
static struct symtabs_and_lines find_sal_from_funcs_and_line (const char*, int, struct symbol**, int);
|
||||||
|
|
||||||
static int
|
static int find_line_in_linetable (struct linetable*, int, struct symbol**, int, int*);
|
||||||
find_line_in_linetable (struct linetable*, int, struct symbol**, int, int*);
|
|
||||||
|
|
||||||
static int find_next_line_in_linetable (struct linetable*, int, int, int);
|
static int find_next_line_in_linetable (struct linetable*, int, int, int);
|
||||||
|
|
||||||
|
@ -1695,7 +1692,7 @@ ada_array_arity (struct type* type)
|
||||||
NINDICES is -1. Otherwise, returns NULL. */
|
NINDICES is -1. Otherwise, returns NULL. */
|
||||||
|
|
||||||
struct type*
|
struct type*
|
||||||
ada_array_element_type (struct btype* type, int nindices)
|
ada_array_element_type (struct type* type, int nindices)
|
||||||
{
|
{
|
||||||
type = desc_base_type (type);
|
type = desc_base_type (type);
|
||||||
|
|
||||||
|
@ -3271,7 +3268,7 @@ add_defn_to_vec (struct symbol* sym, struct block* block)
|
||||||
wild-card match if WILD. */
|
wild-card match if WILD. */
|
||||||
|
|
||||||
static struct partial_symbol *
|
static struct partial_symbol *
|
||||||
ada_lookup_partial_symbol (struct partial_symtab *pst, const char *name, int global, namespace_enumnamespace, int wild)
|
ada_lookup_partial_symbol (struct partial_symtab *pst, const char *name, int global, namespace_enum namespace, int wild)
|
||||||
{
|
{
|
||||||
struct partial_symbol **start;
|
struct partial_symbol **start;
|
||||||
int name_len = strlen (name);
|
int name_len = strlen (name);
|
||||||
|
|
|
@ -58,8 +58,7 @@ static int print_variant_part (struct type*, int, char*,
|
||||||
struct ui_file*, int, int, enum val_prettyprint,
|
struct ui_file*, int, int, enum val_prettyprint,
|
||||||
int, struct type*, char*);
|
int, struct type*, char*);
|
||||||
|
|
||||||
static void
|
static void val_print_packed_array_elements (struct type*, char *valaddr, int,
|
||||||
val_print_packed_array_elements (struct type*, char *valaddr, int,
|
|
||||||
struct ui_file*, int, int,
|
struct ui_file*, int, int,
|
||||||
enum val_prettyprint);
|
enum val_prettyprint);
|
||||||
|
|
||||||
|
@ -67,8 +66,7 @@ static void adjust_type_signedness (struct type*);
|
||||||
|
|
||||||
static int ada_val_print_stub (PTR args0);
|
static int ada_val_print_stub (PTR args0);
|
||||||
|
|
||||||
static int
|
static int ada_val_print_1 (struct type*, char*, int, CORE_ADDR, struct ui_file*,
|
||||||
ada_val_print_1 (struct type*, char*, int, CORE_ADDR, struct ui_file*,
|
|
||||||
int, int, int, enum val_prettyprint);
|
int, int, int, enum val_prettyprint);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue