Fred Fish [Fri, 18 Dec 1992 20:21:32 +0000 (20:21 +0000)]
* Makefile.in (VERSION): Bump to 4.7.4.
* Makefile.in (SFILES_MAINDIR): Add typeprint.c, c-typeprint.c,
m2-typeprint.c, c-valprint.c cp-valprint.c m2-valprint.c.
* Makefile.in (HFILES): Add valprint.h.
* Makefile.in (OBS): Add typeprint.o, c-typeprint.o,
m2-typeprint.o, c-valprint.o, cp-valprint.o m2-valprint.o.
* typeprint.c, typeprint.h: New files for language independent
type printing functions.
* c-typeprint.c, m2-typeprint.c: New files for language dependent
type printing functions and definitions.
* valprint.h: New include file for language independent value
printing definitions.
* c-valprint.c, cp-valprint.c, m2-valprint.c: New files for language
dependent value printing functions.
* c-exp.y (production ptype): Add range_type variable and use new
create_range_type function.
* c-exp.y (tokentab2, tokentab3), c-lang.c (c_op_print_tab),
infcmd.c (path_var_name), language.c (unk_op_print_tab),
m2-lang.c (m2_op_print_tab): Change from ANSI-obsolescent
"const static" to ANSI-conformant "static const".
* c-exp.y (c_create_fundamental_type): Remove unused nbytes.
* c-exp.y (c_language_defn, cplus_language_defn): Add c_print_type,
and c_val_print.
* c-lang.h (c_print_type, c_val_print): Add prototypes.
* coffread.c (decode_type): Add range_type variable and call to
new create_range_type function.
* complaints.c (complain): Remove unused val variable.
* complaints.c (_initialize_complaints): Make it void.
* convex-tdep.c (value_of_trapped_internalvar): Add range_type
variable and call new create_range_type function.
* defs.h (enum val_prettyprint): Move enum from value.h to here
so we can avoid having to include value.h just for prototypes that
need the enum (thanks ANSI).
* dwarfread.c (struct_type): Local anonymous_size variable is
only used if !BITS_BIG_ENDIAN.
* dwarfread.c (decode_subscript_data_item): Add rangetype
variable and call new create_range_type function.
* elfread.c (elf_symfile_read): Remove unused dbx and text_sect
variables.
* eval.c (evaluate_subexp): Remove unused local variable name
and the statement with no side effects that initializes it.
* expprint.c (print_subexp): Change local_printstr to
LA_PRINT_STRING.
* gdbtypes.c (create_range_type): New function that creates
a range type using code fragments from object file readers as
an example of what has to be initialized.
* gdbtypes.c (create_array_type): Removed index_type, low_bound,
and high_bound parameters, replaced with a single range_type
parameter. Change function body to use passed in range_type
rather than handcrafting one.
* gdbtypes.h (create_range_type): Add prototype.
* gdbtypes.h (create_array_type): Change prototype parameters.
* infrun.c (normal_stop): Remove unused local variables tem and c.
* infrun.c (hook_stop_stub): Return 0 rather than random value.
* language.c (unk_lang_print_type, unk_lang_val_print): Add
stub functions that call error if called.
* language.c (unknown_language_defn, auto_language_defn,
local_language_defn): Add initializers unk_lang_print_type and
unk_lang_val_print.
* language.h (struct language_defn): Reformat for larger
comments, add la_print_type and la_val_print members. Add
LA_PRINT_TYPE and LA_VAL_PRINT macros. Change local_printchar
to LA_PRINT_CHAR and local_printstr to LA_PRINT_STRING.
* m2-lang.c (m2_create_fundamental_type): Remove unused local
variable nbytes.
* m2-lang.c (m2_language_defn): Add initializers m2_print_type
and m2_val_print.
* m2-lang.h (m2_print_type, m2_val_print): Add prototypes.
* main.c (execute_command): Remove unused local variable cmdlines.
* main.c (echo_command), stabsread.c (read_type), printcmd.c
(clear_displays), symmisc.c (block_depth), values.c
(clear_value_history):
Make testing of truth value of assignment result explicit.
* mipsread.c (upgrade_type): Update FIXME to include future use
of create_range_type.
* printcmd.c (ptype_command, ptype_eval, whatis_command,
whatis_exp, maintenance_print_type): Move prototypes and functions
to new typeprint.c.
* printcmd.c (_initialize_printcmd): Move add_com calls for
ptype_command and whatis_command to new typeprint.c.
* ser-bsd.c (serial_open): Remove unused variable sgttyb.
* source.c (find_source_lines): Local variable c only used
when LSEEK_NOT_LINEAR is defined.
* stabsread.c (read_array_type): Use new create_range_type
function.
* stabsread.c (read_range_type): Add new index_type variable and
call new create_range_type function rather than handcrafting
range types.
* symmisc.c (type_print_1): Change usages to LA_PRINT_TYPE.
* symtab.c (typedef_print usages): Use c_typedef_print, renamed.
* symtab.c (type_print_base usages): Use c_type_print_base.
* symtab.c (type_print_varspec_prefix usages): Use
c_type_print_varspec_prefix.
* symtab.c (type_print_method_args usages): Use
cp_type_print_method_args.
* valprint.c: Completely ripped apart and the fragments used
to create c-valprint.c, cp-valprint.c, m2-valprint.c, and
valprint.h. Remaining stuff is language independent.
* value.h (struct fn_field): Forward declare for prototypes.
* value.h (type_print_1): Remove prototype.
* value.h (enum val_prettyprint): Moved to defs.h.
* value.h (typedef_print): Prototype renamed to c_typedef_print.
* value.h (baseclass_offset): Add prototype.
**** start-sanitize-chill ****
* Makefile.in (SFILES_MAINDIR): Add ch-typeprint.c, ch-valprint.c.
* Makefile.in (OBS): Add ch-typeprint.o, ch-valprint.o.
* ch-typeprint.c: New file for language dependent type printing.
* ch-valprint.c: New file for language dependent value printing.
* ch-exp.y (parse_number): Remove prototype and stub function.
* ch-exp.y (decode_integer_literal): Removed unused digits and
temp variables.
* ch-exp.y (convert_float): Completely ifdef out for now.
* ch-exp.y (tokentab2, tokentab3, tokentab4, tokentab5),
ch-lang.c (chill_op_print_tab):
Change from ANSI-obsolescent "const static" to ANSI-conformant
"static const".
* ch-exp.y (yylex): Add unhandled storage class enumeration
literals to switch statement for completeness.
* ch-lang.c (chill_create_fundamental_types): Remove unused
nbytes variable. Change dummy type to 2 bytes to match int.
Handle FT_VOID types gratuituously added to chill DWARF by
compiler. Change FT_CHAR case to generate an TYPE_CODE_CHAR
type rather than a one byte TYPE_CODE_INT type.
* ch-lang.c (chill_language_defn): Add chill_print_type and
chill_val_print.
* ch-lang.h (chill_print_type, chill_val_print): Add prototypes.
**** end-sanitize-chill ****
Steve Chamberlain [Fri, 18 Dec 1992 18:38:04 +0000 (18:38 +0000)]
* aoutf1.h (sunos4_write_object_contents): set flags to 0, fixing
1927.
John Gilmore [Thu, 17 Dec 1992 09:15:10 +0000 (09:15 +0000)]
Eliminate uses of NAMES_HAVE_UNDERSCORE, using
bfd_get_symbol_leading_char instead.
* coffread.c (EXTERNAL_NAME): New macro for removing possible
leading character from names.
(read_coff_symtab): Use BFD's FILE *, don't open a second one.
(read_coff_symtab): Complain() about .bb/.eb mismatch, don't error().
(process_coff_symbol, coff_read_struct_type, coff_read_enum_type):
Replace NAMES_HAVE_UNDERSCORE with EXTERNAL_NAME.
* kdb-start.c (main): Remove NAMES_HAVE_UNDERSCORE.
* minsyms.c (install_minimal_symbols): Replace NAMES_HAVE_UNDERSCORE.
Remove SOME_NAMES_HAVE_DOT support (apparently unused).
* partial-stab.h: Replace NAMES_HAVE_UNDERSCORE.
* solib.c: Replace NAMES_HAVE_UNDERSCORE.
* stabsread.h: Remove NAMES_HAVE_UNDERSCORE and HASH_OFFSET.
* symfile.c (syms_from_objfile): Insert debugging check to test
NAMES_HAVE_UNDERSCORE setting against the BFD support. FIXME,
remove this (and all tm-*.h NAMES_HAVE_UNDERSCORE) soon.
* doc/gdbint.texinfo (Host Conditionals): Remove
NAMES_HAVE_UNDERSCORE, SOME_NAMES_HAVE_DOT, document
MEM_FNS_DECLARED.
(Target Conditionals): Remove all of the above.
John Gilmore [Thu, 17 Dec 1992 08:43:27 +0000 (08:43 +0000)]
Update to get tekhex tdata name change from bfd.
John Gilmore [Thu, 17 Dec 1992 08:42:31 +0000 (08:42 +0000)]
* bfd.c: Use right name for tekhex tdata struct.
* tekhex.c: Insert leading_char (0) into bfd_target struct. Style.
* libcoff.h: Updated to get spacing change from coffcode.h.
* trad-core.c: leading_char is 0 (no symbols!), not '_'.
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.