aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
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.h
parent1732fbd47ae938e02720801967b6dd9c3f489ba6 (diff)
downloadgdb-94d4b713731d53fac28864a85e1974aa34fe7c39.zip
gdb-94d4b713731d53fac28864a85e1974aa34fe7c39.tar.gz
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.h')
-rw-r--r--gdb/objfiles.h11
1 files changed, 3 insertions, 8 deletions
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;
};