From 94d4b713731d53fac28864a85e1974aa34fe7c39 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sat, 19 Mar 1994 18:49:50 +0000 Subject: * 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. --- gdb/objfiles.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gdb/objfiles.h') diff --git a/gdb/objfiles.h b/gdb/objfiles.h index ac34668..252a75d 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -140,14 +140,9 @@ struct obj_section { addresses. */ CORE_ADDR offset; - /* For the ptx compiler, we can't use the sec_ptr typedef when the field's - name is sec_ptr. We really should rename the field (or better yet, - the typedef should be bfd_sec_ptr). */ - struct sec *sec_ptr; /* BFD section pointer */ - - /* Objfile this section is part of. Not currently used, but I'm sure - that someone will want the bfd that the sec_ptr goes with or something - like that before long. */ + sec_ptr the_bfd_section; /* BFD section pointer */ + + /* Objfile this section is part of. */ struct objfile *objfile; }; -- cgit v1.1