diff options
author | John Gilmore <gnu@cygnus> | 1992-06-13 06:39:27 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-06-13 06:39:27 +0000 |
commit | 9342ecb9445e97793a516e97eff233e991b9d84d (patch) | |
tree | a81cad811d3c4efa6a22d155fcd1be94e8f5976e /gdb/xm-sysv4.h | |
parent | 609f87d4c94e0a0f897727701ede20f46af7fa1b (diff) | |
download | gdb-9342ecb9445e97793a516e97eff233e991b9d84d.zip gdb-9342ecb9445e97793a516e97eff233e991b9d84d.tar.gz gdb-9342ecb9445e97793a516e97eff233e991b9d84d.tar.bz2 |
* dbxread.c: Add symbol_size to struct dbx_symfile_info.
Add symbol_size and file offsets to struct symloc.
Add static symbol_table_offset, string_table_offset,
file_string_table_offset, next_file_string_table_offset,
last_function_name.
(add_old_header_file): Convert error() to complain()t.
(dbx_symfile_read): Get symbol size via the objfile.
Also get symbol_table_offset.
(dbx_symfile_init): Record symbol size and count via the objfile.
(dbx_next_symbol_text): Always add file_string_table_offset when
accessing string table.
(read_dbx_symtab): Initialize file_string_table_offset to 0.
(SET_NAMESTRING): Use the offset.
(end_psymtab): Large kludge to determine addresses where source
files start and end (for the psymtab header).
(psymtab_to_symtab_1): Set file_string_table_offset before reading.
Get this, symbol size, and symbol offset, from psymtab.
(read_ofile_symtab): Don't back up one symbol for Solaris2.
Patch up last_source_start_addr if zero in N_SO.
(process_one_symbol): Add variable function_start_offset.
( "", N_FUN, N_LBRAC, N_RBRAC, N_SLINE): Add ifdef for
BLOCK_ADDRESS_FUNCTION_RELATIVE.
( "", N_OBJ, N_OPT): Ignore.
(elfstab_build_psymtabs): New function to read stabs out of
an ELF file.
* Makefile.in: Accept $(BISON) even though we really want $(YACC).
(gdb): use GLOBAL_CFLAGS when linking, too.
* partial-stab.h (N_UNDF): Deal with Sol2 relative stringtab offsets.
(N_OBJ, N_OPT): Ignore.
('f', 'F'): Save last function name.
* symfile.h: Prototype elfstab_build_psymtabs.
* symfile.c: Add almost-OK debug versions of add_psymbol_*to_list.
* xm-sysv4.h: Add <limits.h> to avoid conflicting defns in defs.h.
Diffstat (limited to 'gdb/xm-sysv4.h')
-rw-r--r-- | gdb/xm-sysv4.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/xm-sysv4.h b/gdb/xm-sysv4.h index c51c58d..4968b5e 100644 --- a/gdb/xm-sysv4.h +++ b/gdb/xm-sysv4.h @@ -77,3 +77,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef USE_PROC_FS #define NOTICE_SIGNAL_HANDLING_CHANGE proc_signal_handling_change() #endif + +/* We have to include these files now, so that GDB will not make + competing definitions in defs.h. */ +#include <limits.h> |