* xcoffread.c (xcoff_sym_fns): Revise comment about merging this
with coffread.c. * breakpoint.c (fixup_breakpoints): Removed. * rs6000-nat.c (vmap_symtab): Don't call fixup_breakpoints. (vmap_ldinfo, xcoff_relocate_core): Call breakpoint_re_set. * coffread.c (coff_symfile_offsets): Allocate SECT_OFF_MAX sections, not just SECT_OFF_MAX-1. * rs6000-nat.c (vmap_symtab), xcoffread.c: Re-do section offsets to be indexed by SECT_OFF_* instead of xcoff section numbers. * objfiles.c, remote.c: Remove comments regarding SECT_OFF_*. * symtab.h: Revise comment about block_line_section. * rs6000-nat.c (vmap_symtab): Don't relocate objfile->sections.
This commit is contained in:
parent
9b86fdcaef
commit
e2adc41a31
4 changed files with 62 additions and 90 deletions
|
@ -545,10 +545,6 @@ objfile_relocate (objfile, new_offsets)
|
|||
|
||||
ALL_OBJFILE_PSYMTABS (objfile, p)
|
||||
{
|
||||
/* FIXME: specific to symbol readers which use gdb-stabs.h.
|
||||
We can only get away with it since objfile_relocate is only
|
||||
used on XCOFF, which lacks psymtabs, and for gdb-stabs.h
|
||||
targets. */
|
||||
p->textlow += ANOFFSET (delta, SECT_OFF_TEXT);
|
||||
p->texthigh += ANOFFSET (delta, SECT_OFF_TEXT);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue