summaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-04-16 00:53:31 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-04-16 00:53:31 +0000
commite2adc41a31cd16a5e8044b0a98b8d1818a6a69cb (patch)
treef65d61e8735a7eb7ec5d2adec00d11ca6c4798dc /gdb/objfiles.c
parent9b86fdcaef3ef6c625942887a23260bda41e2708 (diff)
downloadbinutils-gdb-e2adc41a31cd16a5e8044b0a98b8d1818a6a69cb.tar.gz
* 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.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index c73716c4412..caa595c04d1 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -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);
}