Jim Wilson [Thu, 17 Dec 1992 03:06:16 +0000 (03:06 +0000)]
Update to FSF ss-921211.
David D. Zuhn [Wed, 16 Dec 1992 21:38:43 +0000 (21:38 +0000)]
removed the files there were moved to etc, added the directories that are
in unsupported/latest, since they appear in latest builds
Ian Lance Taylor [Wed, 16 Dec 1992 20:13:53 +0000 (20:13 +0000)]
Wed Dec 16 12:12:33 1992 Ian Lance Taylor (ian@cygnus.com)
* write.c, obj-ieee.c: don't define SUB_SEGMENT_ALIGN if it is
already defined.
Ian Lance Taylor [Wed, 16 Dec 1992 18:27:07 +0000 (18:27 +0000)]
Wed Dec 16 10:25:31 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: Add lines defining CC and CXX, and use CXX rather
than gcc in definitions of CXX_FOR_BUILD and CXX_FOR_TARGET.
Roland Pesch [Wed, 16 Dec 1992 02:40:29 +0000 (02:40 +0000)]
Change default TEXIDIR to find FSF's texinfo.tex in new location.
Roland Pesch [Wed, 16 Dec 1992 02:39:50 +0000 (02:39 +0000)]
Change default pointer to texinfo.tex to match new location.
Per Bothner [Wed, 16 Dec 1992 02:17:49 +0000 (02:17 +0000)]
Revert change making writing the archive map the standard. Instead, change
the ar program so that *its* default is to always request writing the map.
Per Bothner [Wed, 16 Dec 1992 02:13:17 +0000 (02:13 +0000)]
* Makefile.in (dist): Fix permissions before release.
* size.c: Use bfd_size_type (and long) where appropriate.
* ar.c: Make writing a map the default, to be compatible
with SYSV and Posix.2. Remove some bogus kludges that
handled __.SYMDEF directly.
* NEWS: New file.
David D. Zuhn [Wed, 16 Dec 1992 01:01:49 +0000 (01:01 +0000)]
Makefile.in: regularize use of $host_canonical and $target_canonical
configure.in: split apart configdirs, handle removal of directories
for native or cross compilations more gracefully
Per Bothner [Wed, 16 Dec 1992 00:01:59 +0000 (00:01 +0000)]
Various changes to improve archive support. See ChangeLog.
Per Bothner [Tue, 15 Dec 1992 23:01:02 +0000 (23:01 +0000)]
Change AR_FLAGS from qc to rc - the 'q' option is not Posix.
Steve Chamberlain [Tue, 15 Dec 1992 22:55:01 +0000 (22:55 +0000)]
* app.c (do_scrub_begin): allow single quote strings if so
configured.
Steve Chamberlain [Tue, 15 Dec 1992 22:49:55 +0000 (22:49 +0000)]
lints
Steve Chamberlain [Tue, 15 Dec 1992 20:41:16 +0000 (20:41 +0000)]
checkpoint
Ian Lance Taylor [Tue, 15 Dec 1992 20:40:05 +0000 (20:40 +0000)]
Tue Dec 15 12:38:16 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in (i[34]86-*-sco3.2v4*): use mh-sco4.
* config/mh-sco4: New file, like mh-sco but without defining
_POSIX_SOURCE.
Ian Lance Taylor [Tue, 15 Dec 1992 18:43:00 +0000 (18:43 +0000)]
Add i386sco4.mh (this time for sure).
Ian Lance Taylor [Tue, 15 Dec 1992 18:12:37 +0000 (18:12 +0000)]
Tue Dec 15 10:05:56 1992 Ian Lance Taylor (ian@cygnus.com)
* coffread.c (decode_type): catch negative tagndx fields generated
by SCO 3.2v4 cc.
* exec.c: comment out string following #endif.
* configure.in (i[34]86-*-sco3.2v4*): use host i386sco4.
* xm-i386sco.h: include <sys/types.h> and <sys/dir.h>, required by
<sys/user.h>.
* config/i386sco4.mh: new file; like i386sco.mh, but don't require
gcc, and define const to empty to avoid SCO 3.2v4 cc bug.
Fred Fish [Tue, 15 Dec 1992 12:18:53 +0000 (12:18 +0000)]
* complaints.c: New file, code moved from utils.c.
* complaints.c (complain): Made into a varargs function.
* complaints.h: New file, code moved from symfile.h.
* Makefile.in (SFILES_MAINDIR): Add complaints.c.
* Makefile.in (HFILES): Add complaints.h.
* Makefile.in (OBS): Add complaints.o.
* symfile.c (complaint_root, stop_whining, complaint_series,
complain, clear_complaints, add_show_from_set for stop_whining):
Moved to complaints.c.
* symfile.h (struct complaint, complaint_root decl, complain
prototype, clear_complaints prototype): Moved to complaints.h.
* buildsym.c, coffread.c, dbxread.c, dwarfread.c, elfread.c,
gdbtypes.c, mipsread.c, stbsread.c, symfile.c: Include
complaints.h. Remove casts from arguments to complain(),
which is now a varargs function, and remove unnecessary
placeholder zero args.
* defs.h (begin_line): Add prototype.
* defs.h (vprintf_filtered): Add prototype.
* dwarfread.c (varargs.h): Remove, no longer needed.
* dwarfread.c (dwarfwarn): Remove prototype and function.
* dwarfread.c (complaints): Define a bunch of complaints.
* dwarfread.c (SQUAWK): Remove macro defs, convert all
usages to standard complain() calls.
* utils.c (begin_line): New function that ensures that
whatever gets filter-printed next starts on its own line.
* utils.c (vprintf_filtered): New func, like vfprintf_filtered,
but to stdout (calls vfprintf_filtered internally).
John Gilmore [Tue, 15 Dec 1992 11:19:30 +0000 (11:19 +0000)]
Avoid printf_filtered limit.
John Gilmore [Tue, 15 Dec 1992 11:05:22 +0000 (11:05 +0000)]
i860-tdep.c: Lint.
* remote.c: Avoid printf_filtered line limit. Suggested by
Robert R. Henry, <rrh@tera.com>.
* main.c (main): Accept --silent as well as --quiet. Change +help
to --help. Suggested by Karl Berry, <karl@cs.umb.edu>.
John Gilmore [Tue, 15 Dec 1992 10:02:30 +0000 (10:02 +0000)]
Typo
David D. Zuhn [Tue, 15 Dec 1992 08:36:57 +0000 (08:36 +0000)]
update dates, HP700 target list
John Gilmore [Tue, 15 Dec 1992 07:29:28 +0000 (07:29 +0000)]
Lint
Jim Wilson [Tue, 15 Dec 1992 03:46:14 +0000 (03:46 +0000)]
For SPARC V9, for RELOC_WDISP2_14, upper 2 bits start at bit 20 now, instead
of bit 19.
Fred Fish [Tue, 15 Dec 1992 02:52:11 +0000 (02:52 +0000)]
* gdbtypes.c (create_array_type): Complete rewrite. Now requires
a optional type to decorate as an array type, the type of the
index, and the bounds of the array. Records this additional info
in the array type for use with languages with nonzero array
bounds.
* gdbtypes.h (enum type_code): Update comment for TYPE_CODE_ARRAY
to note that arrays may have bounds.
* gdbtypes.h (create_array_type): Update prototype.
* c-exp.y (ptype production): Adjust for new create_array_type
calling conventions.
* coffread.c (decode_type): Call create_array_type rather than
handcrafting array types.
* convex-tdep.c (value_type): Remove, now use create_array_type.
* convex-tdep.c (value_of_trapped_internalvar): Convert calls to
vector_type into calls to create_array_type.
* dwarfread.c (decode_subscr_data): Name changed to
decode_subscript_data_item throughout.
* dwarfread.c (decode_subscript_data_item): Rewrite to use
create_array_type. Now records index type and range as well.
* dwarfread.c (dwarf_read_array_type): Rewrite as part of
change to use create_array_type.
* dwarfread.c (read_subroutine_type): Test existing user defined
types before decorating them, to ensure they are blank, and
complain about it if they are not.
* dwarfread.c (decode_fund_type): For unrecognized types, always
return some valid type (type integer). If the unrecognized type
cannot be an implementation defined type, complain as well.
* m88k-tdep.c (pushed_size): Update comment for TYPE_CODE_ARRAY.
* m88k-tdep.c (store_param): Update comment for TYPE_CODE_ARRAY.
* mipsread.c (upgrade_type): Add FIXME comment that code to
handcraft arrays should be replaced with call to create_array_type.
* stabsread.c (read_array_type): Replace code to handcraft
array types with call to create_array_type.
* valprint.c (type_print_varspec_prefix): Minor formatting
change, join lines that don't need to be split.
Stu Grossman [Tue, 15 Dec 1992 02:02:21 +0000 (02:02 +0000)]
* gdbtypes.h: Remove const from decl for cplus_struct_default to
work around PA-GAS assembler bug. Also, add trailing */ to some
comments.
* gdbtypes.c: Remove const from decl for cplus_struct_default.
Same reason as above.
Stu Grossman [Tue, 15 Dec 1992 01:49:05 +0000 (01:49 +0000)]
* hppahpux.mt (TDEPFILES): Add exec.o.
* hppahpux.mh (NATDEPFILES): Remove exec.o, add inftarg.o, and fork-child.o.
Stu Grossman [Tue, 15 Dec 1992 01:45:15 +0000 (01:45 +0000)]
* convex-xdep.c, hppab-nat.c, i860-tdep.c, infptrace.c: Remove
decl for attach_flag, it now lives in inferior.h.
* hppa-pinsn.c: Reformat opcode tables. Add function prototypes.
Make most functions static.
* hppah-nat.c: General cleanups, remove BSD specific code (since
that all lives in hppab-nat.c).
* hppah-tdep.c (frame_chain_valid), tm-hppa.h (FRAME_CHAIN):
Change sense of test against inside_entry_file(). This fix is
from U. of Utah.
* tm-hppa.h (PUSH_DUMMY_FRAME, POP_FRAME): Use char * for 2nd arg
to read/write_register_bytes().
Stu Grossman [Tue, 15 Dec 1992 01:14:14 +0000 (01:14 +0000)]
* hppahpux.h: Add defs for malloc() & realloc().
Stu Grossman [Tue, 15 Dec 1992 01:12:34 +0000 (01:12 +0000)]
* hppa.c: #include "sysdep.h", not <sysdep.h>.
* libhppa.h: Make millicode_start and millicode_end be unsigned
int to be same type as CORE_ADDR in GDB. Why are these here?
Stu Grossman [Tue, 15 Dec 1992 01:07:07 +0000 (01:07 +0000)]
* configure.in (hppa*-*-*): Don't remove bfd and gdb from
configdirs anymore.
David D. Zuhn [Sun, 13 Dec 1992 09:08:29 +0000 (09:08 +0000)]
* Makefile.in: extensive cleanup:: removed all of the explicit
clean-* targets, collapsed many wrappers around subdir_do into
one, added additional targets to satisfy standards.texi, deleted
some old targets, some changes for consistency
Ian Lance Taylor [Sun, 13 Dec 1992 00:56:14 +0000 (00:56 +0000)]
Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
* listing.c: Call xmalloc, not malloc; don't declare malloc.
* Changes to support SCO 3.2v4:
* read.c (s_align_bytes, s_align_ptwo): If not SEG_DATA or
SEG_BSS, fill with NOP_OPCODE.
* config/i386coff.mt: Add opcode/i386.h to TARG_CPU_DEPENDENTS.
* config/obj-coffbfd.c (do_relocs_for): Increment addr even if not
using ZERO_BASED_SEGMENTS.
(fill_section): If ZERO_BASED_SEGMENTS, set segment addresses, but
never set segment address for SEG_E2 (.bss) and don't write out
SEG_E2 contents. Set .init and .fini sections to STYP_TEXT.
(obj_coff_endef): Don't merge labels or symbols awaiting forward
definitions, and don't merge tags with non-tags. Check for .bf
rather than just checking whether the second character is b and
the third character is f.
(obj_coff_val): gcc can generate values which we don't handle
correctly; discard information for now, since it only affects the
debugging information.
(tag_find_or_name): Don't insert tags in the symbol table.
(yank_symbols): Don't merge labels.
(write_object_file): Don't define SUB_SEGMENT_ALIGN if it is
already defined. Fill subsegments with NOP_OPCODE, not 0. Don't
set segment address if ZERO_BASED_SEGMENTS.
(obj_coff_section): Accept and ignore a trailing quoted string, as
used in AT&T i386 syntax.
(fixup_segment): Take segment as argument. On the i386, adjust PC
relative addends by the segment vaddr.
* tc-i386.h: Define SUB_SEGMENT_ALIGN.
* tc-a29k.h: Define ZERO_BASED_SEGMENTS.
* tc-i386.c: (i386_operand): If I386COFF, accept any segment type.
Ian Lance Taylor [Sun, 13 Dec 1992 00:52:11 +0000 (00:52 +0000)]
Sat Dec 12 15:54:36 1992 Ian Lance Taylor (ian@cygnus.com)
* coff-i386.c (CALC_ADDEND): if reloc is PC relative, add the
vaddr of the section to the addend.
* targets.c: if MINIMIZE is 1, and SCO_CORE is defined, add
SCO_CORE to SELECT_VECS.
(target_vector): add sco_core_vec.
* sco-core.c (sco_core_vec): add leading underscore initializer.
* configure.in (i[34]86-*-sco*): use target i386-sco.
* config/i386-sco.mt: new file; define SCO_CORE.
David D. Zuhn [Sat, 12 Dec 1992 04:20:03 +0000 (04:20 +0000)]
* configure.in: handle some programs as cross-only, and others as
native only
* test-build.mk: handle partial holes in a more generic manner
* Makefile.in: m4 depends on libiberty
also updated dates in test-build.mk and build-all.mk
John Gilmore [Thu, 10 Dec 1992 09:56:01 +0000 (09:56 +0000)]
* config/{vxworks68,vxworks960}: Don't include xdr_regs.o.
John Gilmore [Thu, 10 Dec 1992 09:55:34 +0000 (09:55 +0000)]
* mipsread.c (parse_symbol): When checking whether a structured
type is an enum, check qualifiers of its first member, as well as
the base type of the member. Bug found and fixed by John M.
Farrell, <farrell@fjort.reo.dec.com>.
* config/{vxworks68,vxworks960}: Don't include xdr_regs.o.
John Gilmore [Thu, 10 Dec 1992 06:44:06 +0000 (06:44 +0000)]
Update dependencies after deleting files.
John Gilmore [Thu, 10 Dec 1992 03:56:36 +0000 (03:56 +0000)]
* vx-share/{reg.h,xdr_regs.h,xdr_regs.c}: Remove, unused.
* remote-vx.c: Don't include vx-share/reg.h.
* vx-share/ptrace.h: Reproduce from scratch.
Fred Fish [Wed, 9 Dec 1992 07:01:43 +0000 (07:01 +0000)]
* c-lang.c (_initialize_c_language): Name changed from
_initialize_c_exp.
* m2-lang.c (_initialize_m2_language): Name changed from
_initialize_m2_exp.
* m2-lang.c (_initialize_m2_language): Change malloc to xmalloc since
it is no longer inside m2-exp.y, where it was remapped by Makefile.
**** start-sanitize-chill ****
* ch-lang.c (_initialize_chill_language): Name changed from
_initialize_chill_exp.
**** end-sanitize-chill ****
Fred Fish [Wed, 9 Dec 1992 06:50:30 +0000 (06:50 +0000)]
* c-exp.y, m2-exp.y: Migrate code that has nothing to do with
expression parsing into c-lang.c and m2-lang.c respectively.
* c-lang.c, m2-lang.c: New files, code migrated from c-exp.y and
m2-exp.y respectively.
* c-lang.h, m2-lang.h: New files, internal interfaces between c-*
and m2-* files respectively.
* Makefile.in (SFILES_MAINDIR): Add c-lang.c, m2-lang.c.
* Makefile.in (HFILES): Add c-lang.h, m2-lang.h.
* Makefile.in (OBS): Add c-lang.o, m2-lang.o.
* expression.h (struct block): Forward declaration for prototypes.
* language.h (struct objfile): Forward declaration for prototypes.
**** start-sanitize-chill ****
* Makefile.in (SFILES_MAINDIR): Add ch-lang.c.
* Makefile.in (HFILES): Add ch-lang.h.
* Makefile.in (OBS): Add ch-lang.o.
* ch-exp.y: Migrate code that has nothing to do with expression
parsing into ch-lang.c.
* ch-lang.c: New file, code migrated from c-exp.y.
* ch-lang.h: New file, internal interface between ch-* files.
**** end-sanitize-chill ****
Fred Fish [Tue, 8 Dec 1992 21:47:49 +0000 (21:47 +0000)]
Changes for Amiga Unix from rhealey@ub.d.umn.edu.
* config/amix.mh (NAT_FILE): Add, set to nm-sysv4.h.
* config/amix.mh (NATDEPFILES): Add.
* config/amix.mh (XDEPFILES): Move procfs.o and fork-child.o
to NATDEPFILES.
* dwarfread.c (decode_subscr_data): Remove spurious test that
accepted only integer subscript types. We don't do anything
with the type at the moment anyway.
Jeffrey Osier [Tue, 8 Dec 1992 21:47:07 +0000 (21:47 +0000)]
Incredibly obsolete install dox for 88k...
Ken Raeburn [Tue, 8 Dec 1992 09:42:06 +0000 (09:42 +0000)]
missed tc-tahoe files
Ken Raeburn [Tue, 8 Dec 1992 09:39:03 +0000 (09:39 +0000)]
as-m680x0.texinfo does not exist
Ken Raeburn [Tue, 8 Dec 1992 09:37:22 +0000 (09:37 +0000)]
regenerated from as.texinfo &c
Ken Raeburn [Tue, 8 Dec 1992 09:31:57 +0000 (09:31 +0000)]
replaced with newer code
Ken Raeburn [Tue, 8 Dec 1992 09:30:28 +0000 (09:30 +0000)]
updated for current list of files
Ken Raeburn [Tue, 8 Dec 1992 09:25:47 +0000 (09:25 +0000)]
trad-core.h is gone
Ken Raeburn [Tue, 8 Dec 1992 08:48:16 +0000 (08:48 +0000)]
obj-coffbfd.c: include libcoff.h
Ken Raeburn [Tue, 8 Dec 1992 08:11:15 +0000 (08:11 +0000)]
tonight's changes
Ken Raeburn [Tue, 8 Dec 1992 08:07:52 +0000 (08:07 +0000)]
version 1.93 now
Ken Raeburn [Tue, 8 Dec 1992 08:05:48 +0000 (08:05 +0000)]
not needed
Ken Raeburn [Tue, 8 Dec 1992 08:05:32 +0000 (08:05 +0000)]
updated for added/deleted files
K. Richard Pixley [Tue, 8 Dec 1992 05:27:22 +0000 (05:27 +0000)]
recording file death
K. Richard Pixley [Tue, 8 Dec 1992 05:21:19 +0000 (05:21 +0000)]
recording file death
K. Richard Pixley [Tue, 8 Dec 1992 04:59:31 +0000 (04:59 +0000)]
recording file death
K. Richard Pixley [Tue, 8 Dec 1992 04:53:09 +0000 (04:53 +0000)]
recording file death
K. Richard Pixley [Tue, 8 Dec 1992 04:44:16 +0000 (04:44 +0000)]
recording file death
Roland Pesch [Mon, 7 Dec 1992 23:22:55 +0000 (23:22 +0000)]
Fix fatal typo in an M4 substitution.
Steve Chamberlain [Mon, 7 Dec 1992 16:49:54 +0000 (16:49 +0000)]
-y support
* ld.texinfo: new doc.
* ldgram.y, ldlex.l: understand -y<symbol>
* ldmain.c (Q_enter_file_symbols): if had -y, lookup symbol and
print info. (add_ysym): new function.
* ldsym.h: (ldsym_type): new define SYM_Y.
Ken Raeburn [Mon, 7 Dec 1992 08:43:34 +0000 (08:43 +0000)]
recent changes to as.h, Makefile.in, write.c, obj-vms.c
Ken Raeburn [Mon, 7 Dec 1992 08:37:36 +0000 (08:37 +0000)]
changes for traditional C
Ken Raeburn [Mon, 7 Dec 1992 08:37:23 +0000 (08:37 +0000)]
deleted local-vars comment
Per Bothner [Sat, 5 Dec 1992 23:48:21 +0000 (23:48 +0000)]
Add etc directory.
Ken Raeburn [Fri, 4 Dec 1992 19:05:41 +0000 (19:05 +0000)]
coffcode.h: bfd_coff_std_swap_table is now const and static
Ken Raeburn [Fri, 4 Dec 1992 15:16:43 +0000 (15:16 +0000)]
rebuilt after library changes
Fred Fish [Fri, 4 Dec 1992 15:09:41 +0000 (15:09 +0000)]
Forgot the following for the ChangeLog:
* ch-exp.y (chill_create_fundamental_type): Chill uses fixed
width types. For example, "INT" is always 2 bytes regardless
of the values of any TARGET_*_BIT macros. So use explicit
numeric sizes for the types.
Fred Fish [Fri, 4 Dec 1992 15:00:09 +0000 (15:00 +0000)]
* ch-exp.y (match_character_literal): Fix case where no
match at all is found.
David D. Zuhn [Fri, 4 Dec 1992 05:54:36 +0000 (05:54 +0000)]
updated dates
David D. Zuhn [Fri, 4 Dec 1992 05:53:52 +0000 (05:53 +0000)]
add several packages to configdirs
Ken Raeburn [Thu, 3 Dec 1992 23:54:54 +0000 (23:54 +0000)]
Some cleanup.
Deleted some unused code.
Fixed some declarations to use PARAMS macro.
Fixed up configure.in for new targets.
Some whitespace/comment fixes.
Merged config/ChangeLog.
Ken Raeburn [Thu, 3 Dec 1992 23:52:26 +0000 (23:52 +0000)]
mostly whitespace/comment changes
Ken Raeburn [Thu, 3 Dec 1992 23:50:45 +0000 (23:50 +0000)]
defined NEED_FX_R_TYPE
Ken Raeburn [Thu, 3 Dec 1992 23:49:30 +0000 (23:49 +0000)]
guesses for i860 relocs, from fsf code
Ken Raeburn [Thu, 3 Dec 1992 23:48:47 +0000 (23:48 +0000)]
delete M_VAX
Ken Raeburn [Thu, 3 Dec 1992 23:45:34 +0000 (23:45 +0000)]
delete HO_USG and setbuffer macros
Ken Raeburn [Thu, 3 Dec 1992 23:45:13 +0000 (23:45 +0000)]
declare malloc, realloc
Ken Raeburn [Thu, 3 Dec 1992 23:42:16 +0000 (23:42 +0000)]
more tahoe code
Ken Raeburn [Thu, 3 Dec 1992 23:41:18 +0000 (23:41 +0000)]
tahoe code from fsf - untested
Ken Raeburn [Thu, 3 Dec 1992 23:40:24 +0000 (23:40 +0000)]
doc changes
Ken Raeburn [Thu, 3 Dec 1992 23:38:49 +0000 (23:38 +0000)]
vms stuff from fsf version - untested
Ken Raeburn [Thu, 3 Dec 1992 23:15:59 +0000 (23:15 +0000)]
no longer using gas-format.el
Ken Raeburn [Thu, 3 Dec 1992 23:11:01 +0000 (23:11 +0000)]
add breakpoint in as_perror
Ken Raeburn [Thu, 3 Dec 1992 23:03:17 +0000 (23:03 +0000)]
syms.c (asymbol): Added new field "app_data", for data particular to the
application. Some of the linker flags ought to get moved to this field
someday.
archures.c (bfd_default_scan): Recognize a few more numbers: 80486, 80960,
and 960.
bfd-in.h, bfd.c, targets.c, coffcode.h, coff-mips.c, other targets: Moved COFF
swap table to backend data.
hosts/i386linux.h: Include unistd.h.
aoutx.h, libaout.h, stab-syms.c: stab names are now in constant storage.
trad-core.c: Fixed some `PARAMS' uses that were missing parentheses.
aoutx.h, archive.c, archures.c, coffcode.h, ctor.c, reloc.c, syms.c: Doc fixes.
Fred Fish [Thu, 3 Dec 1992 20:28:16 +0000 (20:28 +0000)]
* c-exp.y (c_create_fundamental_type): New function to create
language specific fundamental types for C.
* m2-exp.y (m2_create_fundamental_type): New function to create
language specific fundamental types for Modula 2.
* c-exp.y (c_language_defn, cplus_language_defn): Add
c_create_fundamental_type to language struct initializers.
* m2-exp.y (m2_language_defn): Add m2_create_fundamental_type
to language struct initializers.
* dwarfread.c (expression.h, language.h): Include.
* dwarfread.c (ftypes): New array to hold fundamental types
for current compilation unit.
* dwarfread.c (cu_language_defn): New pointer to language
struct for language of current compilation unit.
* dwarfread.c (dwarf_fundamental_type): New function to
create/lookup fundamental types.
* dwarfread.c (set_cu_language): Initialize cu_language_defn.
* dwarfread.c (throughout): Replace lookup_fundamental_type
with dwarf_fundamental_type.
* dwarfread.c (read_file_scope): Zero out ftypes for each new
compilation unit (may be different language or different objfile).
* gdbtypes.c (lookup_fundamental_type): Move actual type
creations into language specific fundamental type creation
functions and call via create_fundamental_type. Add comment
about this function being obsolescent.
* gdbtypes.h (FT_BYTE, FT_UNSIGNED_BYTE): New types, true byte
sized signed and unsigned integers.
* gdbtypes.h (FT_NUM_MEMBERS): Increment, new types added.
* language.c (language_def): New function to lookup a language
struct given it's enumeration.
* language.h (struct language_defn): Add la_fund_type, a pointer
to a function that creates fundamental types for this language.
* language.h (create_fundamental_type): New macro to create
fundamental types based on the current language.
* language.h (language_def): Add prototype.
* language.c (unk_lang_create_fundamental_type): New function
for initializing language structs, calls error if called.
* language.c (unk_language_defn, auto_language_defn,
local_language_defn): Use unk_lang_create_fundamental_type.
**** start-sanitize-chill ****
ch-exp.y (chill_create_fundamental_type): New function.
ch-exp.y (chill_language_defn): Add chill_create_fundamental_type.
ch-exp.y (_initialize_chill_exp): BOOL types are only one byte.
**** end-sanitize-chill ****
Brendan Kehoe [Thu, 3 Dec 1992 00:42:29 +0000 (00:42 +0000)]
Don't sanitize out mh-sun.
Fred Fish [Wed, 2 Dec 1992 01:10:49 +0000 (01:10 +0000)]
* dwarfread.c (CHILL_PRODUCER): Add producer string for
GNU chill.
* dwarfread.c (handle_producer): Test CHILL_PRODUCER as well
as GCC_PRODUCER and GPLUS_PRODUCER.
Stu Grossman [Tue, 1 Dec 1992 02:51:28 +0000 (02:51 +0000)]
* remote-udi.c (udi_wait): Don't stop if TIP says that remote is
still running.
David D. Zuhn [Mon, 30 Nov 1992 23:00:25 +0000 (23:00 +0000)]
include mh-sun for all sun hosts (except solaris)
David D. Zuhn [Mon, 30 Nov 1992 22:58:37 +0000 (22:58 +0000)]
better handling for X11 oddities on various systems
Fred Fish [Mon, 30 Nov 1992 20:07:35 +0000 (20:07 +0000)]
* tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.'
rather than '$'. This particular piece of braindamage is
spreading like ooze. It's now infected libiberty, deja-gnu,
gdb, and gcc.
* values.c (baseclass_addr): Use CPLUS_MARKER rather than
hardwired '$' character.
David D. Zuhn [Mon, 30 Nov 1992 09:45:40 +0000 (09:45 +0000)]
updated address and phone number
David D. Zuhn [Mon, 30 Nov 1992 09:15:40 +0000 (09:15 +0000)]
* Makefile.in: define flags for X11 include files and library file
locations, pass them down to the programs that need this info
* build-all.mk: added a 'native' target, to 3stage the native toolchain
(also updated dates in test-build.mk and build-all.mk)
Fred Fish [Mon, 30 Nov 1992 01:03:34 +0000 (01:03 +0000)]
* stabsread.c (define_symbol): For the sake of dbx, gcc emits
a single blank as the name of nameless enumerations. Recognize
this special case and set nameless flag.
Fred Fish [Sun, 29 Nov 1992 23:50:08 +0000 (23:50 +0000)]
Bump internal version to 4.7.3 in wake of fragmentation of massive
stabsread.c read_struct_type function.
Fred Fish [Sun, 29 Nov 1992 23:38:30 +0000 (23:38 +0000)]
(Changes to break incredibly ugly, unmaintainable 750 line
read_struct_type function up into managable pieces.)
* stabsread.c (struct field_info): Local struct definition.
* stabsread.c (read_member_functions, read_struct_fields,
read_baseclasses, read_tilde_fields, attach_fn_fields_to_type,
attach_fields_to_type, read_cpp_abbrev): Prototypes and new
functions from fragmented read_struct_type.
* stabsread.c (stabs_general_complaint): Catchall complaint.
* stabsread.c (STABS_CONTINUE): Macro'ize cretinous stabs
symbol name continuation code. Use macro throughout.
* stabsread.c (various places): Replace add-one-to-pointer
with pointer increment.
* stabsread.c (read_type): Retain function local copy of type
descriptor. Rearrange code calling read_struct_type() to match
new conventions.
Fred Fish [Sun, 29 Nov 1992 16:40:09 +0000 (16:40 +0000)]
* aoutx.h (some_aout_object_p): Protect arg prototype in
callback_to_real_object_p with PARAMS macro for non-ANSI compilers.
Fred Fish [Sun, 29 Nov 1992 06:59:17 +0000 (06:59 +0000)]
* ch-exp.y (GENERAL_PROCEDURE_NAME, LOCATION_NAME): New
terminal tokens.
* ch-exp.y (access_name): New non-terminal token and
production.
* ch-exp.y (general_procedure_name): Now a terminal token.
* ch-exp.y (location): Expand production.
* ch-exp.y (match_simple_name_string): New function.
* ch-exp.y (yylex): Call match_simple_name_string and return
GENERAL_PROCEDURE_NAME or LOCATION_NAME as appropriate.
John Gilmore [Sat, 28 Nov 1992 14:52:16 +0000 (14:52 +0000)]
Add sections on clean design and on how to send in changes.