* symtab.h (struct symbol): Make section short, not unsigned short.
This commit is contained in:
parent
8704184584
commit
fb155ce31a
|
@ -1,5 +1,7 @@
|
||||||
Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||||
|
|
||||||
|
* symtab.h (struct symbol): Make section short, not unsigned short.
|
||||||
|
|
||||||
* symtab.c (lookup_symbol): Add comment about QUIT here.
|
* symtab.c (lookup_symbol): Add comment about QUIT here.
|
||||||
|
|
||||||
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
|
* utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered.
|
||||||
|
|
11
gdb/symtab.h
11
gdb/symtab.h
|
@ -1,5 +1,5 @@
|
||||||
/* Symbol table definitions for GDB.
|
/* Symbol table definitions for GDB.
|
||||||
Copyright (C) 1986, 1989, 1991, 1992 Free Software Foundation, Inc.
|
Copyright 1986, 1989, 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GDB.
|
This file is part of GDB.
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ struct general_symbol_info
|
||||||
expect all symbol-reading code to set it correctly (the ELF code
|
expect all symbol-reading code to set it correctly (the ELF code
|
||||||
also tries to set it correctly). */
|
also tries to set it correctly). */
|
||||||
|
|
||||||
unsigned short section;
|
short section;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SYMBOL_NAME(symbol) (symbol)->ginfo.name
|
#define SYMBOL_NAME(symbol) (symbol)->ginfo.name
|
||||||
|
@ -1050,6 +1050,13 @@ struct symtabs_and_lines
|
||||||
extern struct symtab_and_line
|
extern struct symtab_and_line
|
||||||
find_pc_line PARAMS ((CORE_ADDR, int));
|
find_pc_line PARAMS ((CORE_ADDR, int));
|
||||||
|
|
||||||
|
/* Given an address, return the nearest symbol at or below it in memory.
|
||||||
|
Optionally return the symtab it's from through 2nd arg, and the
|
||||||
|
address in inferior memory of the symbol through 3rd arg. */
|
||||||
|
|
||||||
|
extern struct symbol *
|
||||||
|
find_addr_symbol PARAMS ((CORE_ADDR, struct symtab **, CORE_ADDR *));
|
||||||
|
|
||||||
/* Given a symtab and line number, return the pc there. */
|
/* Given a symtab and line number, return the pc there. */
|
||||||
|
|
||||||
extern CORE_ADDR
|
extern CORE_ADDR
|
||||||
|
|
Loading…
Reference in New Issue