aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-08-09 21:56:37 +0000
committerKung Hsu <kung@cygnus>1995-08-09 21:56:37 +0000
commit38fb211bc9ae2028c8487a5c9a31a26e5d0f94ae (patch)
tree564b93350b2405c5b0a2a4b5f9b2e93e4585412c /gdb/xcoffread.c
parent998cfe7df0c342291dfa2b22804beb8f88c72ca9 (diff)
downloadgdb-38fb211bc9ae2028c8487a5c9a31a26e5d0f94ae.zip
gdb-38fb211bc9ae2028c8487a5c9a31a26e5d0f94ae.tar.gz
gdb-38fb211bc9ae2028c8487a5c9a31a26e5d0f94ae.tar.bz2
* xcoffread.x (xcoff_symfile_offset): Revert an unwanted change gets
in accidentally from Aug 1 checkin.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index fda43e2..bde1c5d 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -3034,7 +3034,7 @@ xcoff_symfile_offsets (objfile, addr)
parameter and use 0. rs6000-nat.c will set the correct section
offsets via objfile_relocate. */
for (i = 0; i < objfile->num_sections; ++i)
- ANOFFSET (section_offsets, i) = addr;
+ ANOFFSET (section_offsets, i) = 0;
return section_offsets;
}