aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorAidan Skinner <aidan@velvet.net>2002-08-11 18:15:49 +0000
committerAidan Skinner <aidan@velvet.net>2002-08-11 18:15:49 +0000
commit3b19021e447eb9f3f812bf221ff3d3ede762918a (patch)
tree8ed680859adbeaed4f71c1cf30aa8f3b26bb374d /gdb/ada-lang.c
parent661757b4968b0ef15425b1675c509d1885396dcb (diff)
downloadgdb-3b19021e447eb9f3f812bf221ff3d3ede762918a.zip
gdb-3b19021e447eb9f3f812bf221ff3d3ede762918a.tar.gz
gdb-3b19021e447eb9f3f812bf221ff3d3ede762918a.tar.bz2
* 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.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 3fd3075..97fe9e3 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -95,9 +95,8 @@ static int is_nonfunction (struct symbol**, int);
static void add_defn_to_vec (struct symbol*, struct block*);
-static struct partial_symbol*
-ada_lookup_partial_symbol (struct partial_symtab*, const char*,
- int, namespace_enum, int);
+static struct partial_symbol* ada_lookup_partial_symbol (struct partial_symtab*, const char*,
+ int, namespace_enum, int);
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 struct type*
-to_fixed_variant_branch_type (struct type*, char*, CORE_ADDR, struct value*);
+static struct type* to_fixed_variant_branch_type (struct type*, char*, CORE_ADDR, struct value*);
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 int
-find_line_in_linetable (struct linetable*, int, struct symbol**, int, int*);
+static int find_line_in_linetable (struct linetable*, int, struct symbol**, 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. */
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);
@@ -3271,7 +3268,7 @@ add_defn_to_vec (struct symbol* sym, struct block* block)
wild-card match if WILD. */
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;
int name_len = strlen (name);