diff options
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r-- | gdb/stabsread.c | 34 |
1 files changed, 5 insertions, 29 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index a4143e8..35f97e6 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -1,7 +1,8 @@ /* Support routines for decoding "stabs" debugging information format. - Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, - 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 - Free Software Foundation, Inc. + + Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, + 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free + Software Foundation, Inc. This file is part of GDB. @@ -89,8 +90,6 @@ static void read_one_struct_field (struct field_info *, char **, char *, struct type *, struct objfile *); -static char *get_substring (char **, int); - static struct type *dbx_alloc_type (int[2], struct objfile *); static long read_huge_number (char **, int, int *); @@ -158,8 +157,6 @@ static char *find_name_end (char *name); static int process_reference (char **string); -static CORE_ADDR ref_search_value (int refnum); - void stabsread_clear_cache (void); static const char vptr_name[] = "_vptr$"; @@ -194,12 +191,6 @@ stabs_general_complaint (const char *arg1) complaint (&symfile_complaints, "%s", arg1); } -static void -lrs_general_complaint (const char *arg1) -{ - complaint (&symfile_complaints, "%s", arg1); -} - /* Make a list of forward references which haven't been defined. */ static struct type **undef_types; @@ -533,16 +524,6 @@ ref_search (int refnum) return ref_map[refnum].sym; } -/* Return value for the reference REFNUM. */ - -static CORE_ADDR -ref_search_value (int refnum) -{ - if (refnum < 0 || refnum > ref_count) - return 0; - return ref_map[refnum].value; -} - /* Parse a reference id in STRING and return the resulting reference number. Move STRING beyond the reference id. */ @@ -1118,13 +1099,8 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type, if (local_symbols && local_symbols->nsyms > 0 -#ifndef DEPRECATED_USE_REGISTER_NOT_ARG - /* DEPRECATED_USE_REGISTER_NOT_ARG is only defined by - the SPARC. */ && gdbarch_stabs_argument_has_addr (current_gdbarch, - SYMBOL_TYPE (sym)) -#endif - ) + SYMBOL_TYPE (sym))) { struct symbol *prev_sym; prev_sym = local_symbols->symbol[local_symbols->nsyms - 1]; |