aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-19 18:49:50 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-19 18:49:50 +0000
commit94d4b713731d53fac28864a85e1974aa34fe7c39 (patch)
tree72b4d5f61bc77345f73d427f16078eee19cb9cae /gdb/objfiles.c
parent1732fbd47ae938e02720801967b6dd9c3f489ba6 (diff)
downloadfsf-binutils-gdb-94d4b713731d53fac28864a85e1974aa34fe7c39.zip
fsf-binutils-gdb-94d4b713731d53fac28864a85e1974aa34fe7c39.tar.gz
fsf-binutils-gdb-94d4b713731d53fac28864a85e1974aa34fe7c39.tar.bz2
* Makefile.in (TAGS): Use variables directly, rather than using
find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster and means that these filenames no longer need be unique across all the config/* directories. * configure.in: Put the config/*/ into TM_FILE, etc. * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk and trapv exceptions. * target.h (struct section_table), objfiles.h (struct obj_section): Change name of field sec_ptr to the_bfd_section. More mnemonic and avoids the (sort of, for the ptx compiler) name clash with the name of the typedef. * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c, solib.c, irix5-nat.c, objfiles.c, remote.c: Change users. * utils.c: Include readline.h. * Makefile.in (utils.o): Add dependency. * remote.c (getpkt): Add support for run-length encoding.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 381a095..6c6dfc2 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -83,7 +83,7 @@ add_to_objfile_sections (abfd, asect, objfile_p_char)
return;
section.offset = 0;
section.objfile = objfile;
- section.sec_ptr = asect;
+ section.the_bfd_section = asect;
section.addr = bfd_section_vma (abfd, asect);
section.endaddr = section.addr + bfd_section_size (abfd, asect);
obstack_grow (&objfile->psymbol_obstack, &section, sizeof(section));