external/binutils.git
31 years agocheckpoint
Steve Chamberlain [Tue, 15 Dec 1992 20:41:16 +0000 (20:41 +0000)]
checkpoint

31 years agoTue Dec 15 12:38:16 1992 Ian Lance Taylor (ian@cygnus.com)
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.

31 years agoAdd i386sco4.mh (this time for sure).
Ian Lance Taylor [Tue, 15 Dec 1992 18:43:00 +0000 (18:43 +0000)]
Add i386sco4.mh (this time for sure).

31 years agoTue Dec 15 10:05:56 1992 Ian Lance Taylor (ian@cygnus.com)
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.

31 years ago * complaints.c: New file, code moved from utils.c.
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).

31 years agoAvoid printf_filtered limit.
John Gilmore [Tue, 15 Dec 1992 11:19:30 +0000 (11:19 +0000)]
Avoid printf_filtered limit.

31 years agoi860-tdep.c: Lint.
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>.

31 years agoTypo
John Gilmore [Tue, 15 Dec 1992 10:02:30 +0000 (10:02 +0000)]
Typo

31 years agoupdate dates, HP700 target list
David D. Zuhn [Tue, 15 Dec 1992 08:36:57 +0000 (08:36 +0000)]
update dates, HP700 target list

31 years agoLint
John Gilmore [Tue, 15 Dec 1992 07:29:28 +0000 (07:29 +0000)]
Lint

31 years agoFor SPARC V9, for RELOC_WDISP2_14, upper 2 bits start at bit 20 now, instead
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.

31 years ago * gdbtypes.c (create_array_type): Complete rewrite. Now requires
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.

31 years ago* gdbtypes.h: Remove const from decl for cplus_struct_default to
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.

31 years ago* hppahpux.mt (TDEPFILES): Add exec.o.
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.

31 years ago* convex-xdep.c, hppab-nat.c, i860-tdep.c, infptrace.c: Remove
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().

31 years ago* hppahpux.h: Add defs for malloc() & realloc().
Stu Grossman [Tue, 15 Dec 1992 01:14:14 +0000 (01:14 +0000)]
* hppahpux.h:  Add defs for malloc() & realloc().

31 years ago* hppa.c: #include "sysdep.h", not <sysdep.h>.
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?

31 years ago* configure.in (hppa*-*-*): Don't remove bfd and gdb from
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.

31 years ago * Makefile.in: extensive cleanup:: removed all of the explicit
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

31 years agoSat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
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.

31 years agoSat Dec 12 15:54:36 1992 Ian Lance Taylor (ian@cygnus.com)
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.

31 years ago * configure.in: handle some programs as cross-only, and others as
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

31 years ago* config/{vxworks68,vxworks960}: Don't include xdr_regs.o.
John Gilmore [Thu, 10 Dec 1992 09:56:01 +0000 (09:56 +0000)]
* config/{vxworks68,vxworks960}:  Don't include xdr_regs.o.

31 years ago* mipsread.c (parse_symbol): When checking whether a structured
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.

31 years agoUpdate dependencies after deleting files.
John Gilmore [Thu, 10 Dec 1992 06:44:06 +0000 (06:44 +0000)]
Update dependencies after deleting files.

31 years ago* vx-share/{reg.h,xdr_regs.h,xdr_regs.c}: Remove, unused.
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.

31 years ago * c-lang.c (_initialize_c_language): Name changed from
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 ****

31 years ago * c-exp.y, m2-exp.y: Migrate code that has nothing to do with
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 ****

31 years ago Changes for Amiga Unix from rhealey@ub.d.umn.edu.
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.

31 years agoIncredibly obsolete install dox for 88k...
Jeffrey Osier [Tue, 8 Dec 1992 21:47:07 +0000 (21:47 +0000)]
Incredibly obsolete install dox for 88k...

31 years agomissed tc-tahoe files
Ken Raeburn [Tue, 8 Dec 1992 09:42:06 +0000 (09:42 +0000)]
missed tc-tahoe files

31 years agoas-m680x0.texinfo does not exist
Ken Raeburn [Tue, 8 Dec 1992 09:39:03 +0000 (09:39 +0000)]
as-m680x0.texinfo does not exist

31 years agoregenerated from as.texinfo &c
Ken Raeburn [Tue, 8 Dec 1992 09:37:22 +0000 (09:37 +0000)]
regenerated from as.texinfo &c

31 years agoreplaced with newer code
Ken Raeburn [Tue, 8 Dec 1992 09:31:57 +0000 (09:31 +0000)]
replaced with newer code

31 years agoupdated for current list of files
Ken Raeburn [Tue, 8 Dec 1992 09:30:28 +0000 (09:30 +0000)]
updated for current list of files

31 years agotrad-core.h is gone
Ken Raeburn [Tue, 8 Dec 1992 09:25:47 +0000 (09:25 +0000)]
trad-core.h is gone

31 years agoobj-coffbfd.c: include libcoff.h
Ken Raeburn [Tue, 8 Dec 1992 08:48:16 +0000 (08:48 +0000)]
obj-coffbfd.c: include libcoff.h

31 years agotonight's changes
Ken Raeburn [Tue, 8 Dec 1992 08:11:15 +0000 (08:11 +0000)]
tonight's changes

31 years agoversion 1.93 now
Ken Raeburn [Tue, 8 Dec 1992 08:07:52 +0000 (08:07 +0000)]
version 1.93 now

31 years agonot needed
Ken Raeburn [Tue, 8 Dec 1992 08:05:48 +0000 (08:05 +0000)]
not needed

31 years agoupdated for added/deleted files
Ken Raeburn [Tue, 8 Dec 1992 08:05:32 +0000 (08:05 +0000)]
updated for added/deleted files

31 years agorecording file death
K. Richard Pixley [Tue, 8 Dec 1992 05:27:22 +0000 (05:27 +0000)]
recording file death

31 years agorecording file death
K. Richard Pixley [Tue, 8 Dec 1992 05:21:19 +0000 (05:21 +0000)]
recording file death

31 years agorecording file death
K. Richard Pixley [Tue, 8 Dec 1992 04:59:31 +0000 (04:59 +0000)]
recording file death

31 years agorecording file death
K. Richard Pixley [Tue, 8 Dec 1992 04:53:09 +0000 (04:53 +0000)]
recording file death

31 years agorecording file death
K. Richard Pixley [Tue, 8 Dec 1992 04:44:16 +0000 (04:44 +0000)]
recording file death

31 years agoFix fatal typo in an M4 substitution.
Roland Pesch [Mon, 7 Dec 1992 23:22:55 +0000 (23:22 +0000)]
Fix fatal typo in an M4 substitution.

31 years ago -y support
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.

31 years agorecent changes to as.h, Makefile.in, write.c, obj-vms.c
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

31 years agochanges for traditional C
Ken Raeburn [Mon, 7 Dec 1992 08:37:36 +0000 (08:37 +0000)]
changes for traditional C

31 years agodeleted local-vars comment
Ken Raeburn [Mon, 7 Dec 1992 08:37:23 +0000 (08:37 +0000)]
deleted local-vars comment

31 years agoAdd etc directory.
Per Bothner [Sat, 5 Dec 1992 23:48:21 +0000 (23:48 +0000)]
Add etc directory.

31 years agocoffcode.h: bfd_coff_std_swap_table is now const and static
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

31 years agorebuilt after library changes
Ken Raeburn [Fri, 4 Dec 1992 15:16:43 +0000 (15:16 +0000)]
rebuilt after library changes

31 years agoForgot the following for the ChangeLog:
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.

31 years ago * ch-exp.y (match_character_literal): Fix case where no
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.

31 years agoupdated dates
David D. Zuhn [Fri, 4 Dec 1992 05:54:36 +0000 (05:54 +0000)]
updated dates

31 years agoadd several packages to configdirs
David D. Zuhn [Fri, 4 Dec 1992 05:53:52 +0000 (05:53 +0000)]
add several packages to configdirs

31 years agoSome cleanup.
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.

31 years agomostly whitespace/comment changes
Ken Raeburn [Thu, 3 Dec 1992 23:52:26 +0000 (23:52 +0000)]
mostly whitespace/comment changes

31 years agodefined NEED_FX_R_TYPE
Ken Raeburn [Thu, 3 Dec 1992 23:50:45 +0000 (23:50 +0000)]
defined NEED_FX_R_TYPE

31 years agoguesses for i860 relocs, from fsf code
Ken Raeburn [Thu, 3 Dec 1992 23:49:30 +0000 (23:49 +0000)]
guesses for i860 relocs, from fsf code

31 years agodelete M_VAX
Ken Raeburn [Thu, 3 Dec 1992 23:48:47 +0000 (23:48 +0000)]
delete M_VAX

31 years agodelete HO_USG and setbuffer macros
Ken Raeburn [Thu, 3 Dec 1992 23:45:34 +0000 (23:45 +0000)]
delete HO_USG and setbuffer macros

31 years agodeclare malloc, realloc
Ken Raeburn [Thu, 3 Dec 1992 23:45:13 +0000 (23:45 +0000)]
declare malloc, realloc

31 years agomore tahoe code
Ken Raeburn [Thu, 3 Dec 1992 23:42:16 +0000 (23:42 +0000)]
more tahoe code

31 years agotahoe code from fsf - untested
Ken Raeburn [Thu, 3 Dec 1992 23:41:18 +0000 (23:41 +0000)]
tahoe code from fsf - untested

31 years agodoc changes
Ken Raeburn [Thu, 3 Dec 1992 23:40:24 +0000 (23:40 +0000)]
doc changes

31 years agovms stuff from fsf version - untested
Ken Raeburn [Thu, 3 Dec 1992 23:38:49 +0000 (23:38 +0000)]
vms stuff from fsf version - untested

31 years agono longer using gas-format.el
Ken Raeburn [Thu, 3 Dec 1992 23:15:59 +0000 (23:15 +0000)]
no longer using gas-format.el

31 years agoadd breakpoint in as_perror
Ken Raeburn [Thu, 3 Dec 1992 23:11:01 +0000 (23:11 +0000)]
add breakpoint in as_perror

31 years agosyms.c (asymbol): Added new field "app_data", for data particular to the
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.

31 years ago * c-exp.y (c_create_fundamental_type): New function to create
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 ****

31 years agoDon't sanitize out mh-sun.
Brendan Kehoe [Thu, 3 Dec 1992 00:42:29 +0000 (00:42 +0000)]
Don't sanitize out mh-sun.

31 years ago * dwarfread.c (CHILL_PRODUCER): Add producer string for
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.

31 years ago* remote-udi.c (udi_wait): Don't stop if TIP says that remote is
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.

31 years agoinclude mh-sun for all sun hosts (except solaris)
David D. Zuhn [Mon, 30 Nov 1992 23:00:25 +0000 (23:00 +0000)]
include mh-sun for all sun hosts (except solaris)

31 years agobetter handling for X11 oddities on various systems
David D. Zuhn [Mon, 30 Nov 1992 22:58:37 +0000 (22:58 +0000)]
better handling for X11 oddities on various systems

31 years ago * tm-sun4sol2.h: Add CPLUS_MARKER. Solaris 2.0 requires '.'
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.

31 years agoupdated address and phone number
David D. Zuhn [Mon, 30 Nov 1992 09:45:40 +0000 (09:45 +0000)]
updated address and phone number

31 years ago * Makefile.in: define flags for X11 include files and library file
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)

31 years ago * stabsread.c (define_symbol): For the sake of dbx, gcc emits
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.

31 years agoBump internal version to 4.7.3 in wake of fragmentation of massive
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.

31 years ago (Changes to break incredibly ugly, unmaintainable 750 line
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.

31 years ago * aoutx.h (some_aout_object_p): Protect arg prototype in
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.

31 years ago * ch-exp.y (GENERAL_PROCEDURE_NAME, LOCATION_NAME): New
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.

31 years agoAdd sections on clean design and on how to send in changes.
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.

31 years ago* aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:
John Gilmore [Sat, 28 Nov 1992 13:00:18 +0000 (13:00 +0000)]
* aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:
Eliminate all PROTO calls, replace with PARAMS for readability.

* aoutx.h:  Add type to callback parameter.
* coff-mips.c:  Don't call trad-core.h, not needed.
* trad-core.c:  Incorporate trad-core.h declarations.  Fix comments.
* trad-core.h:  Eliminate, unused.

31 years agoUpdate to match revised bfd-in.h.
John Gilmore [Sat, 28 Nov 1992 12:14:45 +0000 (12:14 +0000)]
Update to match revised bfd-in.h.

31 years ago* libbfd-in.h, bfd-in.h: Eliminate all PROTO calls, replace with
John Gilmore [Sat, 28 Nov 1992 12:14:14 +0000 (12:14 +0000)]
* libbfd-in.h, bfd-in.h:  Eliminate all PROTO calls, replace with
PARAMS for readability.

31 years agosupply standard X11 include & library directories
David D. Zuhn [Sat, 28 Nov 1992 02:40:01 +0000 (02:40 +0000)]
supply standard X11 include & library directories

31 years agodefine and pass down locations for X11 files
David D. Zuhn [Sat, 28 Nov 1992 02:37:07 +0000 (02:37 +0000)]
define and pass down locations for X11 files

31 years agoDoc for sac's new "z8ksim" Z8000 simulator target.
Roland Pesch [Thu, 26 Nov 1992 02:28:17 +0000 (02:28 +0000)]
Doc for sac's new "z8ksim" Z8000 simulator target.

31 years agoConditional vars for controlling Z8000 doc.
Roland Pesch [Thu, 26 Nov 1992 02:26:53 +0000 (02:26 +0000)]
Conditional vars for controlling Z8000 doc.

31 years agoExplicitly call reader's attention to lack of leading . in z8k special
Roland Pesch [Thu, 26 Nov 1992 01:38:44 +0000 (01:38 +0000)]
Explicitly call reader's attention to lack of leading . in z8k special
directives.

31 years agoApply fix from zoo:
Fred Fish [Wed, 25 Nov 1992 15:53:01 +0000 (15:53 +0000)]
Apply fix from zoo:
* munch:  Backslash escape vertical bar characters inside
grep patterns since they have special meaning for some greps.

31 years ago * parse.c (write_exp_string): Complete rewrite to store string
Fred Fish [Wed, 25 Nov 1992 15:46:57 +0000 (15:46 +0000)]
* parse.c (write_exp_string):  Complete rewrite to store string
contants as a leading explicit length, followed by the string data,
followed by a trailing explicit length.
* eval.c (evaluate_subexp), expprint.c (print_subexp),
parse.c (length_of_subexp), parse.c (prefixify_subexp):
Use recorded explicit length of strings in expression elements,
rather than strlen.  Adjust code to skip over strings stored in
expression elements, and code to access strings, to account for
new leading explicit size expression element.
* parse.c (length_of_subexp):  Test for minimum endpos of 1, not
0, to avoid negative expression element indices.
* valops.c (search_struct_method):  Minor whitespace change.

31 years agoUpdates from SAC answers to queries on z8k stuff.
Roland Pesch [Wed, 25 Nov 1992 01:39:45 +0000 (01:39 +0000)]
Updates from SAC answers to queries on z8k stuff.

31 years ago* main.c (main): Print GDB version number in gdb -help; doc pid arg.
John Gilmore [Tue, 24 Nov 1992 07:20:42 +0000 (07:20 +0000)]
* main.c (main):  Print GDB version number in gdb -help; doc pid arg.
Suggested by Marty Leisner, <leisner@eso.mc.xerox.com>.
(print_gdb_version):  New arg is stdout or stderr.  Callers changed.

31 years agoSuperficial editing pass over Z8000 stuff.
Roland Pesch [Tue, 24 Nov 1992 05:21:14 +0000 (05:21 +0000)]
Superficial editing pass over Z8000 stuff.