diff options
author | Stan Shebs <shebs@codesourcery.com> | 1995-02-02 00:10:50 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1995-02-02 00:10:50 +0000 |
commit | e3be225eb4b1f6317662be790f67ca8e291ef64f (patch) | |
tree | 68e78618758253b8e20ba9746bb4e5c4c94f4f6e /gdb/alpha-tdep.c | |
parent | adad95c056f31cd63195cb554ce084546771c9b9 (diff) | |
download | fsf-binutils-gdb-e3be225eb4b1f6317662be790f67ca8e291ef64f.zip fsf-binutils-gdb-e3be225eb4b1f6317662be790f67ca8e291ef64f.tar.gz fsf-binutils-gdb-e3be225eb4b1f6317662be790f67ca8e291ef64f.tar.bz2 |
gcc -Wall lint.
* alpha-tdep.c (alpha_in_lenient_prologue): Comment out.
(after_prologue): Remove unused local b.
* procfs.c (thread.h): Include.
(pr_flag_table, pr_why_table, faults_table, siginfo_table): Use
nested braces in initializer.
* top.c (initialize_targets, initialize_utils): Declare.
(locate_arg, insert_args): Add parens around tested assignments.
* remote-utils.c (sr_scan_args): Remove decl of strtol.
* remote.c (thread.h): Include.
(remote_wait): Remove unused local p2.
* sparc-tdep.c (fill_gregset, fill_fpregset): Remove decls of
registers array.
defs.h (stdlib.h): Include.
(exit, perror, atoi, qsort, memcpy, memcmp): Don't declare.
(fclose, atof, malloc, realloc, free, strchr, strrchr, strstr,
strtok, strerror): Don't specify parameter types in declaration.
Diffstat (limited to 'gdb/alpha-tdep.c')
-rw-r--r-- | gdb/alpha-tdep.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 08a296a..7dedb78 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -44,11 +44,15 @@ static alpha_extra_func_info_t heuristic_proc_desc PARAMS ((CORE_ADDR, CORE_ADDR, struct frame_info *)); -static alpha_extra_func_info_t find_proc_desc PARAMS ((CORE_ADDR, struct frame_info *)); +static alpha_extra_func_info_t find_proc_desc PARAMS ((CORE_ADDR, + struct frame_info *)); +#if 0 static int alpha_in_lenient_prologue PARAMS ((CORE_ADDR, CORE_ADDR)); +#endif -static void reinit_frame_cache_sfunc PARAMS ((char *, int, struct cmd_list_element *)); +static void reinit_frame_cache_sfunc PARAMS ((char *, int, + struct cmd_list_element *)); static CORE_ADDR after_prologue PARAMS ((CORE_ADDR pc, alpha_extra_func_info_t proc_desc)); @@ -382,7 +386,6 @@ after_prologue (pc, proc_desc) CORE_ADDR pc; alpha_extra_func_info_t proc_desc; { - struct block *b; struct symtab_and_line sal; CORE_ADDR func_addr, func_end; @@ -971,6 +974,7 @@ alpha_skip_prologue (pc, lenient) return pc + offset; } +#if 0 /* Is address PC in the prologue (loosely defined) for function at STARTADDR? */ @@ -982,6 +986,7 @@ alpha_in_lenient_prologue (startaddr, pc) CORE_ADDR end_prologue = alpha_skip_prologue (startaddr, 1); return pc >= startaddr && pc < end_prologue; } +#endif /* The alpha needs a conversion between register and memory format if the register is a floating point register and |