mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
symtab.c: forward decl cleanup
gdb/ChangeLog: * symtab.c (types_info): Delete forward decl. (functions_info, variables_info, sources_info): Ditto. (_initialize_symtab): Rewrite forward decl to use initialize_file_ftype.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2014-10-25 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
|
* symtab.c (types_info): Delete forward decl.
|
||||||
|
(functions_info, variables_info, sources_info): Ditto.
|
||||||
|
(_initialize_symtab): Rewrite forward decl to use
|
||||||
|
initialize_file_ftype.
|
||||||
|
|
||||||
2014-10-25 Doug Evans <xdje42@gmail.com>
|
2014-10-25 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
|
* symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
|
||||||
|
14
gdb/symtab.c
14
gdb/symtab.c
@ -61,18 +61,10 @@
|
|||||||
|
|
||||||
#include "parser-defs.h"
|
#include "parser-defs.h"
|
||||||
|
|
||||||
/* Prototypes for local functions */
|
/* Forward declarations for local functions. */
|
||||||
|
|
||||||
static void rbreak_command (char *, int);
|
static void rbreak_command (char *, int);
|
||||||
|
|
||||||
static void types_info (char *, int);
|
|
||||||
|
|
||||||
static void functions_info (char *, int);
|
|
||||||
|
|
||||||
static void variables_info (char *, int);
|
|
||||||
|
|
||||||
static void sources_info (char *, int);
|
|
||||||
|
|
||||||
static int find_line_common (struct linetable *, int, int *, int);
|
static int find_line_common (struct linetable *, int, int *, int);
|
||||||
|
|
||||||
static struct symbol *lookup_symbol_aux (const char *name,
|
static struct symbol *lookup_symbol_aux (const char *name,
|
||||||
@ -98,9 +90,7 @@ struct symbol *lookup_symbol_aux_quick (struct objfile *objfile,
|
|||||||
const char *name,
|
const char *name,
|
||||||
const domain_enum domain);
|
const domain_enum domain);
|
||||||
|
|
||||||
void _initialize_symtab (void);
|
extern initialize_file_ftype _initialize_symtab;
|
||||||
|
|
||||||
/* */
|
|
||||||
|
|
||||||
/* Program space key for finding name and language of "main". */
|
/* Program space key for finding name and language of "main". */
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user