Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * elfread.c (elf_symtab_read): Avoid use of SECT_OFF_MAX. | Mark Mitchell | 2003-06-06 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (elfstab_offset_sections): Likewise. * gdb-stabs.h (stab_section_info): Likewise. * i386-interix-tdep.c (pei_adjust_objfile_offsets): Likewise. * objfiles.c (objfile_relocate): Likewise. * pa64solib.c (pa64_solib_add_solib_objfile): Likewise. * remote.c (get_offsets): Likewise. (remote_cisco_objfile_relocate): Likewise. * somread.c (som_symfile_offsets): Likewise. * symfile.c (alloc_section_addr_info): New function. (build_section_addr_info_from_section_tab): Use it. (free_section_addr_info): Adjust. (default_symfile_offsets): Avoid use of SECT_OFF_MAX. (syms_from_objfile): Allocate local_addr dynamically. (symbol_file_add_with_addrs_or_offsets): Allocate orig_addrs dynamically. (add_symbol_file_command): Allocate sect_opts dynamically. (reread_symbols): Avoid use of SECT_OFF_MAX. * symfile.h (section_addr_info): Do not use MAX_SECTIONS. (alloc_section_addr_info): Declare it. * symtab.h (SIZEOF_SECTION_OFFSETS): Remove. * win32-nat.c (solib_symbols_add): Allocate section_addrs dynamically. * xcoffread.c (xcoff_symfile_offsets): Avoid use of SECT_OFF_MAX. | ||||
* | * dbxread.c (stabs_data): New static variable. | Daniel Jacobowitz | 2003-01-31 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | (fill_symbuf): Support an in-memory buffer for stabs data. (stabs_seek): New function. (dbx_psymtab_to_symtab): Relocate the stabs data if necessary. (read_ofile_symtab): Use stabs_seek. (elfstab_build_psymtabs): Take an asection* instead of an offset and size. Relocate the stabs data if necessary. Save the section* for dbx_psymtab_to_symtab. * dwarf2read.c: Add section variables for each debug section. (dwarf2_locate_sections): Fill them in. (dwarf2_read_section): Take an asection* argument. Relocate the section contents if necessary. (dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers. * dwarf2cfi.c (parse_frame_info): Take a section argument and pass it to dwarf2_read_section. (dwarf2_build_frame_info): Update callers. * elfread.c (elf_symfile_read): Update call to elfstab_build_psymtabs. * gdb-stabs.h (struct dbx_symfile_info): Add stab_section. (DBX_STAB_SECTION): New macro. * stabsread.h (elfstab_build_psymtabs): Update prototype. * symfile.c (symfile_dummy_outputs): New function. (symfile_relocate_debug_section): New function. * symfile.h (symfile_relocate_debug_section): Add prototype. | ||||
* | Update/correct copyright notices. | Kevin Buettner | 2001-03-06 | 1 | -1/+2 |
| | |||||
* | * gdb-stabs.h (SECT_OFF_MAX): Increase to 64. | Mark Kettenis | 2000-12-05 | 1 | -2/+2 |
| | | | | * symfile.h (MAX_SECTIONS): Increase to 64. | ||||
* | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | Elena Zannoni | 2000-05-04 | 1 | -9/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Define as functions of OBJFILE. Add sect_index_text, sect_index_data, sect_index_rodata, sect_index_bss to objfile structure. * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Remove. * objfiles.c (allocate_objfile): Initialize sect_index_{text,data,bss,rodata} to -1, for error detection. * symfile.c (default_symfile_offsets): Initialize sect_index_{text,data,bss,rodata} from bfd information. * xcoffread.c (xcoff_symfile_offsets): Ditto. * somread.c (som_symfile_offsets): Initialize sect_index_{text,data,bss,rodata}. * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c, hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c, mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h, remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c, stabsread.c, symfile.c, xcoffread.c: Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the current objfile. * xcoffread.c: Add new field objfile to find_targ_sec_arg. | ||||
* | 2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | Elena Zannoni | 2000-04-21 | 1 | -1/+1 |
| | | | | * gdb-stabs.h (SECT_OFF_MAX): Increase to 40. | ||||
* | import gdb-1999-10-04 snapshot | Jason Molenda | 1999-10-05 | 1 | -1/+1 |
| | |||||
* | import gdb-1999-07-07 post reformat | Jason Molenda | 1999-07-07 | 1 | -42/+45 |
| | |||||
* | Initial revision | Stan Shebs | 1999-04-16 | 1 | -0/+92 |