external/binutils.git
32 years ago * c-exp.y: separated host/target idea of integer type size,
Steve Chamberlain [Fri, 6 Nov 1992 18:37:20 +0000 (18:37 +0000)]
* c-exp.y: separated host/target idea of integer type size,
removed redundant parse rules. (YYSTYPE): added typed_val, removed
UINT and CHAR rules. (parse_number): work out the targetwise type
of a number based upon it's size and qualifiers. (yylex): chars
are now treated the same way as ints.

* source.c (indentify_source_line): don't core dump if wanted
line is larger than number of lines in source. (can happen when
coff gets confused about #included source).

32 years agoFix problems noticed by Allan Steel, <allan@maths.su.oz.au>,
John Gilmore [Fri, 6 Nov 1992 11:05:08 +0000 (11:05 +0000)]
Fix problems noticed by Allan Steel, <allan@maths.su.oz.au>,
when debugging a program with 100 shared libraries.

* solib.c (solib_map_sections):  Always close the BFD we open.
Free all malloc'd storage we allocate, too, including error cases.
(struct so_list):  Remove unused so_bfd member.
(clear_solib):  Don't bother closing so_bfd.

* symfile.c (symfile_bfd_open):  Mark newly opened BFD as
cacheable.  `So many symbol files, so little file descriptors.'

32 years ago* m68k-stub.c: Remove ansidecl.h and the few uses of it.
John Gilmore [Fri, 6 Nov 1992 09:21:13 +0000 (09:21 +0000)]
* m68k-stub.c:  Remove ansidecl.h and the few uses of it.
Stubs should stand alone as much as possible.

* source.c (show_directories):  Avoid printf_filtered length prob
pointed out by Jonathan Stone.

* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper limit properly to
avoid accesses beyond end of table.  Fix by Lee W. Cooprider,
<Lee_Cooprider@vos.stratus.com>.

32 years ago* i960-pinsn.c (MEM_MAX, MEM_SIZ): Set upper bound properly.
John Gilmore [Fri, 6 Nov 1992 08:14:14 +0000 (08:14 +0000)]
* i960-pinsn.c (MEM_MAX, MEM_SIZ):  Set upper bound properly.

32 years agomissing backslash after C++_FOR_BUILD in FLAGS_TO_PASS (latest/make dies,
Mark Eichin [Fri, 6 Nov 1992 04:27:29 +0000 (04:27 +0000)]
missing backslash after C++_FOR_BUILD in FLAGS_TO_PASS (latest/make dies,
/bin/make ignores it...)

32 years agoFlag error if absolute constant is too large for an immediate field.
Jim Wilson [Fri, 6 Nov 1992 01:59:36 +0000 (01:59 +0000)]
Flag error if absolute constant is too large for an immediate field.

32 years ago * {ser-bsd.c, ser-termios.c} (serial_close): Pass address of
Fred Fish [Fri, 6 Nov 1992 01:35:57 +0000 (01:35 +0000)]
* {ser-bsd.c, ser-termios.c} (serial_close):  Pass address of
struct, not struct itself.
* serial.h (serial_restore):  Fix prototype, takes pointer not
struct.

32 years ago* Makefile.in (depend): Add nm.h to the list of things to fixup.
Stu Grossman [Fri, 6 Nov 1992 01:13:34 +0000 (01:13 +0000)]
* Makefile.in (depend):  Add nm.h to the list of things to fixup.
* depend:  Redo, to fixup nm.h problems with *-tab.c files.

32 years agoThu Nov 5 15:41:55 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 6 Nov 1992 00:39:51 +0000 (00:39 +0000)]
Thu Nov  5 15:41:55 1992  Ian Lance Taylor  (ian@cygnus.com)

* ldlang.c (lang_size_sections): don't change size and address for
SEC_SHARED_LIBRARY sections rather than for SEC_NEVER_LOAD
sections.

32 years agoThu Nov 5 16:35:44 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 6 Nov 1992 00:39:31 +0000 (00:39 +0000)]
Thu Nov  5 16:35:44 1992  Ian Lance Taylor  (ian@cygnus.com)

* bfd.h: Update to bring in SEC_SHARED_LIBRARY.

32 years agoThu Nov 5 15:34:19 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 6 Nov 1992 00:38:59 +0000 (00:38 +0000)]
Thu Nov  5 15:34:19 1992  Ian Lance Taylor  (ian@cygnus.com)

* section.c: New section bit SEC_SHARED_LIBRARY.
coffcode.h (styp_to_sec_flags): if STYP_NOLOAD && (STYP_TEXT ||
STYP_DATA), set SEC_SHARED_LIBRARY.  This seems to be correct for
i386-sysv.

32 years agoAdd 29k-UDI stuff back in...
Stu Grossman [Fri, 6 Nov 1992 00:20:50 +0000 (00:20 +0000)]
Add 29k-UDI stuff back in...

32 years agoRe-install UDI comments.
Stu Grossman [Thu, 5 Nov 1992 23:40:02 +0000 (23:40 +0000)]
Re-install UDI comments.

32 years agoAdd 29k-UDI stuff back in...
Stu Grossman [Thu, 5 Nov 1992 23:33:51 +0000 (23:33 +0000)]
Add 29k-UDI stuff back in...

32 years agomerge in some p3 Makefile changes
David D. Zuhn [Thu, 5 Nov 1992 23:04:38 +0000 (23:04 +0000)]
merge in some p3 Makefile changes

32 years ago * relax.c (build_it): re-enable the processing of data_statements
Steve Chamberlain [Thu, 5 Nov 1992 19:35:38 +0000 (19:35 +0000)]
* relax.c (build_it): re-enable the processing of data_statements
in scripts, makes counted contructor lists work again.

32 years agochecked in new changelog
Mike Werner [Thu, 5 Nov 1992 18:46:35 +0000 (18:46 +0000)]
checked in new changelog

32 years ago* target.c (struct bfd_target): Eliminate the SDEF and SDEF_FMT
John Gilmore [Thu, 5 Nov 1992 13:50:25 +0000 (13:50 +0000)]
* target.c (struct bfd_target):  Eliminate the SDEF and SDEF_FMT
macros; use PARAMS to declare the function pointers involved.

32 years agoUpdate to match EXFUN, bfd_seclet_struct, and SDEF cleanups in bfd.
John Gilmore [Thu, 5 Nov 1992 13:46:35 +0000 (13:46 +0000)]
Update to match EXFUN, bfd_seclet_struct, and SDEF cleanups in bfd.

32 years agoRemove uses of SDEF and PROTO macros (use PARAMS).
John Gilmore [Thu, 5 Nov 1992 13:44:51 +0000 (13:44 +0000)]
Remove uses of SDEF and PROTO macros (use PARAMS).

32 years agoUpdate after bfd_seclet_struct => bfd_seclet change.
John Gilmore [Thu, 5 Nov 1992 13:19:06 +0000 (13:19 +0000)]
Update after bfd_seclet_struct => bfd_seclet change.

32 years ago* bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c,
John Gilmore [Thu, 5 Nov 1992 13:17:38 +0000 (13:17 +0000)]
* bfd-in.h, bfd.c, libbfd.h, reloc.c, seclet.h, section.c,
targets.c: Rename struct bfd_seclet_struct to struct bfd_seclet.

32 years agoMissed one use of PROTO.
John Gilmore [Thu, 5 Nov 1992 12:08:17 +0000 (12:08 +0000)]
Missed one use of PROTO.

32 years agoClean up some old BFD ansification macros.
John Gilmore [Thu, 5 Nov 1992 12:01:44 +0000 (12:01 +0000)]
Clean up some old BFD ansification macros.

* arsup.h, bucomm.h, objdump.h:  Remove EXFUN from binutils.
It still remains as a local macro in gmalloc.c, which is derived
from some other copy of GNU Malloc somewhere (FIXME).

* ar.c, objdump.c, size.c:  Replace EXFUN with PROTO.  Make static
fns really static.
* arsup.h:  Declare extract_files.

32 years agoUpdate to match PARAMS changes in bfd.
John Gilmore [Thu, 5 Nov 1992 11:22:12 +0000 (11:22 +0000)]
Update to match PARAMS changes in bfd.

32 years agoCleanup: Replace all uses of EXFUN in the BFD sources, with PARAMS.
John Gilmore [Thu, 5 Nov 1992 11:13:01 +0000 (11:13 +0000)]
Cleanup:  Replace all uses of EXFUN in the BFD sources, with PARAMS.

* archures.c, reloc.c, section.c, tekhex.c:  Use PARAMS in
declaring pointers to functions.
* cache.c, elf.c:  Move static function decls to top, use PARAMS.
* seclet.h:  Declare external function with PARAMS.

* libbfd.h:  Update, based on changes in source code and chew.

32 years ago* i386-stub.c: Remove ansidecl.h and the few uses of it.
John Gilmore [Thu, 5 Nov 1992 08:40:38 +0000 (08:40 +0000)]
* i386-stub.c:  Remove ansidecl.h and the few uses of it.
Stubs should stand alone as much as possible.

32 years ago* README: Add remote-es1800.c and remote-st2000.c to table.
John Gilmore [Thu, 5 Nov 1992 08:26:15 +0000 (08:26 +0000)]
* README:  Add remote-es1800.c and remote-st2000.c to table.
* go32-nat.c:  Remove, there is no native go32 support.
* go32-xdep.c:  Remove unused fork, fvork, wait, execlp, kill_inferior.
* infcmd.c (run_command):  Avoid long calls to printf_filtered.
Bug fix courtesy of Alexander Klaiber.

32 years ago* bfd-in.h: Improve comments to make it clear that bfd.h is
John Gilmore [Thu, 5 Nov 1992 08:17:56 +0000 (08:17 +0000)]
* bfd-in.h:  Improve comments to make it clear that bfd.h is
the wrong place to edit this file.
* Makefile.in (install):  Install ansidecl.h and obstack.h in the
same places where we install bfd.h.
* libieee.h:  Add FIXME about removing limit on number of sections.

32 years ago* inflow.c (pass_signal, set_sigint_trap, clear_sigint_trap): Add
Stu Grossman [Thu, 5 Nov 1992 03:54:01 +0000 (03:54 +0000)]
* inflow.c (pass_signal, set_sigint_trap, clear_sigint_trap):  Add
new routines to deal with sending SIGINTs to attached processes
when the user interrupts the controlling GDB.
* inftarg.c (child_wait), procfs.c (procfs_wait):  Add calls to
the aforementioned routines when waiting for the attached process.

32 years agochanged changelog
Mike Werner [Thu, 5 Nov 1992 02:42:35 +0000 (02:42 +0000)]
changed changelog

32 years ago* Makefile.in: Added stuff for building deja-gnu.
Mike Werner [Thu, 5 Nov 1992 02:23:34 +0000 (02:23 +0000)]
* Makefile.in: Added stuff for building deja-gnu.

32 years agoUndo last change. Read diffs backwards!
Stu Grossman [Thu, 5 Nov 1992 00:55:55 +0000 (00:55 +0000)]
Undo last change.  Read diffs backwards!

32 years ago* readline.c: Cast many uses of alloca to (char *) to make brain-
Stu Grossman [Wed, 4 Nov 1992 23:34:54 +0000 (23:34 +0000)]
* readline.c:  Cast many uses of alloca to (char *) to make brain-
damaged compilers happy.
* sysdep-norm.h:  Remove some crud, install dire warning.

32 years ago* elfread.c, mipsread.c: Include <string.h>.
Stu Grossman [Wed, 4 Nov 1992 23:31:52 +0000 (23:31 +0000)]
* elfread.c, mipsread.c:  Include <string.h>.
* i386-stub.c:  Include "ansidecl.h" to deal with prototypes.
* serial.h:  Add prototype for serial_restore().

32 years ago(Duplicate change from p3.)
Sean Eric Fagan [Wed, 4 Nov 1992 21:57:47 +0000 (21:57 +0000)]
(Duplicate change from p3.)
Only change coff auxent header fields when the circumstances require it.  or
at least warrant.

32 years agoWed Nov 4 11:13:25 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 4 Nov 1992 19:45:42 +0000 (19:45 +0000)]
Wed Nov  4 11:13:25 1992  Ian Lance Taylor  (ian@cygnus.com)

* minsyms.c (lookup_minimal_symbol_by_pc): subtract 1, not 2, from
minimal_symbol_count, because the NULL symbol is not included in
the count.  This prevented this function from finding the last
symbol in the table.

32 years agodelete unused BFD_EMIT_TABLE macro def
Ken Raeburn [Wed, 4 Nov 1992 16:08:39 +0000 (16:08 +0000)]
delete unused BFD_EMIT_TABLE macro def

32 years agothis morning's check-ins...
Ken Raeburn [Wed, 4 Nov 1992 16:01:54 +0000 (16:01 +0000)]
this morning's check-ins...

32 years agobout.h (N_CALLNAME, N_BALNAME): Define as char-type values, so widening works
Ken Raeburn [Wed, 4 Nov 1992 15:31:02 +0000 (15:31 +0000)]
bout.h (N_CALLNAME, N_BALNAME): Define as char-type values, so widening works
consistently.

32 years agoaoutx.h (some_aout_object_p): Section list should be set up properly already;
Ken Raeburn [Wed, 4 Nov 1992 14:35:20 +0000 (14:35 +0000)]
aoutx.h (some_aout_object_p): Section list should be set up properly already;
don't need to tweak "next" pointers.

32 years agoTue Nov 3 11:29:17 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 3 Nov 1992 19:52:43 +0000 (19:52 +0000)]
Tue Nov  3 11:29:17 1992  Ian Lance Taylor  (ian@cygnus.com)

* dbxread.c (process_one_symbol): if not defined
(BLOCK_ADDRESS_FUNCTION_RELATIVE), set function_start_offset at
the start of the function, not just after N_FUN.

32 years agoAvoid character '+' in nodenames, gives formatters indigestion.
Roland Pesch [Tue, 3 Nov 1992 00:58:46 +0000 (00:58 +0000)]
Avoid character '+' in nodenames, gives formatters indigestion.

32 years agoChanges to work with new config.sub file from merge with FSF.
Jim Wilson [Tue, 3 Nov 1992 00:18:02 +0000 (00:18 +0000)]
Changes to work with new config.sub file from merge with FSF.

32 years agoMon Nov 2 12:36:14 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 2 Nov 1992 20:43:55 +0000 (20:43 +0000)]
Mon Nov  2 12:36:14 1992  Ian Lance Taylor  (ian@cygnus.com)

* config/delta88.mh, config/hp300.mh, config/hppahpux.mh,
config/i386v.mh: removed -DUSG from HDEFINES.
hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h:
defined USE_UTIME.
hosts/i386v.h: don't define POSIX_UTIME.

32 years agoI'm eliminating the use of USG from binutils/ar.c, and nothing else in
Ian Lance Taylor [Mon, 2 Nov 1992 20:41:14 +0000 (20:41 +0000)]
I'm eliminating the use of USG from binutils/ar.c, and nothing else in
binutils, bfd or opcodes uses it.

Mon Nov  2 12:36:14 1992  Ian Lance Taylor  (ian@cygnus.com)

* config/delta88.mh, config/hp300.mh, config/hppahpux.mh,
config/i386v.mh: removed -DUSG from HDEFINES.
hosts/delta88.h, hosts/hp300.h, hosts/hppahpux.h, hosts/i386v.h:
defined USE_UTIME.
hosts/i386v.h: don't define POSIX_UTIME.

32 years ago * Makefile.in (c-exp.tab.c, m2-exp.tab.c): Add sed patterns to
Fred Fish [Sat, 31 Oct 1992 00:35:08 +0000 (00:35 +0000)]
* Makefile.in (c-exp.tab.c, m2-exp.tab.c):  Add sed patterns to
  remap all malloc's to xmalloc's and all realloc's to xrealloc's.
* c-exp.y, m2-exp.y:  Add comment about how malloc/realloc are
  remapped to xmalloc/xrealloc, use only malloc/realloc in grammer
  file.  Remove preprocessor defines that previously did remapping.

32 years ago * ieee.c (ieee_slurp_sections): make a private copy of the
Steve Chamberlain [Sat, 31 Oct 1992 00:15:10 +0000 (00:15 +0000)]
* ieee.c (ieee_slurp_sections): make a private copy of the
section's name before truncating it.

32 years agoAdd deja-gnu to configdirs.
Fred Fish [Fri, 30 Oct 1992 19:38:52 +0000 (19:38 +0000)]
Add deja-gnu to configdirs.

32 years agoDelete some obsolete LIFE stuff.
Jim Wilson [Thu, 29 Oct 1992 22:41:01 +0000 (22:41 +0000)]
Delete some obsolete LIFE stuff.

32 years ago * hppa.c: add symbol_leading_char entry in transfer vec
Steve Chamberlain [Thu, 29 Oct 1992 16:32:36 +0000 (16:32 +0000)]
* hppa.c: add symbol_leading_char entry in transfer vec

32 years ago * mri.c, ldlang.c, ldlex.l, ldgram.y: add new keywords
Steve Chamberlain [Thu, 29 Oct 1992 00:21:36 +0000 (00:21 +0000)]
* mri.c, ldlang.c, ldlex.l, ldgram.y: add new keywords
ALIGN, ALIGNMOD, and TRUNCATE.
* ldsym.c: (hash_string, search, process_keepsyms): support
truncation of symbols.

32 years ago,Wed Oct 28 16:11:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Thu, 29 Oct 1992 00:17:07 +0000 (00:17 +0000)]
,Wed Oct 28 16:11:57 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* ieee.c (get_symbol): can now cope when two symbols of a
different class, but the same index number occur consecutively.
(get_section_entry): nicer name for sections being forward
referenced. (ieee_archive_p): don't free the filename string,
since it was never malloced.

32 years ago(coff_write_object_contents): Zero timestamp field.
John Gilmore [Wed, 28 Oct 1992 21:44:39 +0000 (21:44 +0000)]
(coff_write_object_contents):  Zero timestamp field.

32 years agoPut conditional "const" before version_string, not before dummy function
Ken Raeburn [Wed, 28 Oct 1992 13:55:27 +0000 (13:55 +0000)]
Put conditional "const" before version_string, not before dummy function
for VMS.  Now version 1.91.03.  (Save 1.91.02 for Cygnus P4.)

32 years agohp300 native support
K. Richard Pixley [Wed, 28 Oct 1992 07:08:52 +0000 (07:08 +0000)]
hp300 native support

32 years agovax native support
K. Richard Pixley [Wed, 28 Oct 1992 05:31:14 +0000 (05:31 +0000)]
vax native support

32 years agoadd new nm files to HFILES
K. Richard Pixley [Wed, 28 Oct 1992 03:05:29 +0000 (03:05 +0000)]
add new nm files to HFILES

32 years agoapollo native support
K. Richard Pixley [Wed, 28 Oct 1992 02:58:11 +0000 (02:58 +0000)]
apollo native support

32 years agoinclude nm.h in defs.h
K. Richard Pixley [Wed, 28 Oct 1992 02:32:59 +0000 (02:32 +0000)]
include nm.h in defs.h

32 years agoMoved in from p3:
Ian Lance Taylor [Tue, 27 Oct 1992 20:34:40 +0000 (20:34 +0000)]
Moved in from p3:

Tue Oct 27 12:24:34 1992  Ian Lance Taylor  (ian@cygnus.com)

* coffcode.h (coff_swap_aux_out): set the fcnary info before
optionally setting the dimen info, since they are in the same
memory locations.  Also zero out external auxent.
(coff_write_symbol): don't zero external auxent; now done in
coff_swap_aux_out.

32 years agoFix typo, reported by Karl Berry.
John Gilmore [Mon, 26 Oct 1992 19:10:23 +0000 (19:10 +0000)]
Fix typo, reported by Karl Berry.

32 years agoAdded \n to error message.
Ian Lance Taylor [Mon, 26 Oct 1992 17:02:45 +0000 (17:02 +0000)]
Added \n to error message.

32 years agoFri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 23 Oct 1992 21:42:04 +0000 (21:42 +0000)]
Fri Oct 23 14:40:38 1992  Ian Lance Taylor  (ian@cygnus.com)

* obj-coffbfd.c (write_object_file): check return value of
bfd_close_all_done.

32 years agoIf fclose fails, set bfd_error to system_call_error.
Ian Lance Taylor [Fri, 23 Oct 1992 21:25:38 +0000 (21:25 +0000)]
If fclose fails, set bfd_error to system_call_error.

32 years agoFri Oct 23 13:55:35 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 23 Oct 1992 21:01:29 +0000 (21:01 +0000)]
Fri Oct 23 13:55:35 1992  Ian Lance Taylor  (ian@cygnus.com)

* Check fclose return value for errors.
libbfd.h: bfd_cache_close now returns a boolean.
cache.c (bfd_cache_delete): return fclose success value.
(bfd_cache_close): return bfd_cache_delete return value.
opncls.c (bfd_close, bfd_close_all_done): return result of
bfd_cache_close.

32 years agoFri Oct 23 10:32:36 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Fri, 23 Oct 1992 17:34:37 +0000 (17:34 +0000)]
Fri Oct 23 10:32:36 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* seclet.c (rel): don't load sections without the SEC_LOAD bit.

Thu Oct 15 10:16:35 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* coff-m68k.c (m68k_howto2type, SELECT_RELOC): new function to
work out a coff relocation type from a howto's attributes rather
than using the input r_type field. This fixes PR1677 and allows
conversion of a.out relocs to coff relocs.

* coffcode.h (coff_write_relocs): if supplied a relocation
relative to an absolute symbol, use the right symbol index.

* reloc.c (bfd_perform_relocation): do a partial link for coff
relocs right.

32 years agoFri Oct 23 08:15:56 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 23 Oct 1992 15:28:15 +0000 (15:28 +0000)]
Fri Oct 23 08:15:56 1992  Ian Lance Taylor  (ian@cygnus.com)

* changes to support i386-sysv with shared libraries:
* coffcode.h (sec_to_styp_flags): if TWO_DATA_SECS is defined,
check for .data2; if _LIB is defined, check for it; map
SEC_NEVER_LOAD to STYP_NOLOAD.
(styp_to_sec_flags): map STYP_NOLOAD to SEC_NEVER_LOAD.
(make_a_section_from_file): if TWO_DATA_SECS, accept .data2.
(coff_write_object_contents): force vaddr of .lib to 0; set scnptr
if section has contents, not just if it is loadable; if
TWO_DATA_SECS, check for .data2
(coff_set_section_contents): set vma of .lib section to number of
.lib sections.
* coff-i386.c: define TWO_DATA_SECS; use a special CALC_ADDEND;
don't define coff_write_armap to bsd_write_armap.
* hosts/i386v.h: don't include <utime.h>, since it is not provided
by SVR3.2.

32 years ago* Makefile.in (VERSION): 4.7.1 post release!
Stu Grossman [Fri, 23 Oct 1992 13:17:47 +0000 (13:17 +0000)]
* Makefile.in (VERSION):  4.7.1 post release!

32 years ago* config/hppahpux.mh (NATDEPFILES): Add hppah-nat.o.
Stu Grossman [Fri, 23 Oct 1992 11:50:37 +0000 (11:50 +0000)]
* config/hppahpux.mh (NATDEPFILES):  Add hppah-nat.o.

32 years agoUpdate the dates in the manual.
John Gilmore [Fri, 23 Oct 1992 10:54:39 +0000 (10:54 +0000)]
Update the dates in the manual.

32 years agoThese two files are copyrighted by Sun Microsystems.
John Gilmore [Fri, 23 Oct 1992 10:51:07 +0000 (10:51 +0000)]
These two files are copyrighted by Sun Microsystems.
Wind River stole them from the Sun Unix distributions.

We can't distribute them in an FSF GDB release.
We should even rewrite them for our own releases, though that is not
as urgent.

Until these two files are rewritten, VxWorks support in GDB will not compile.
The i960 support can be gained by just rewriting the ptrace.h file.
Only small amounts of the reg.h file need to be rebuilt -- compile
remote-vx.c to see what is needed.

John

32 years agoMore news...
John Gilmore [Fri, 23 Oct 1992 10:38:16 +0000 (10:38 +0000)]
More news...

32 years agoChange copyright to FSF.
Stu Grossman [Fri, 23 Oct 1992 10:16:34 +0000 (10:16 +0000)]
Change copyright to FSF.

32 years agoAdd copyrights, change to FSF.
Stu Grossman [Fri, 23 Oct 1992 10:15:18 +0000 (10:15 +0000)]
Add copyrights, change to FSF.

32 years agoUpdate and correct copyright notices.
Stu Grossman [Fri, 23 Oct 1992 10:12:16 +0000 (10:12 +0000)]
Update and correct copyright notices.

32 years agoRemove refs to UDI for now.
Stu Grossman [Fri, 23 Oct 1992 08:50:19 +0000 (08:50 +0000)]
Remove refs to UDI for now.

32 years agoUpdate NEWS, remove refs to UDI and Energize/Cadillac from ChangeLog.
Stu Grossman [Fri, 23 Oct 1992 08:49:17 +0000 (08:49 +0000)]
Update NEWS, remove refs to UDI and Energize/Cadillac from ChangeLog.

32 years ago* solaris2.h: Get the definition of alloca from alloca.h if we
Stu Grossman [Fri, 23 Oct 1992 08:47:28 +0000 (08:47 +0000)]
* solaris2.h: Get the definition of alloca from alloca.h if we
aren't using gcc.

32 years ago* Makefile.in (VERSION): gdb-4.7 release.
John Gilmore [Fri, 23 Oct 1992 07:53:03 +0000 (07:53 +0000)]
* Makefile.in (VERSION):  gdb-4.7 release.
* README:  Update for gdb-4.7.

32 years agoAdd opcodes dir to GDB distribution description.
John Gilmore [Fri, 23 Oct 1992 07:44:56 +0000 (07:44 +0000)]
Add opcodes dir to GDB distribution description.

32 years ago* sparc-tdep.c: include nm.h (for now) so that we get USE_PROC_FS
Stu Grossman [Fri, 23 Oct 1992 03:54:11 +0000 (03:54 +0000)]
* sparc-tdep.c:  include nm.h (for now) so that we get USE_PROC_FS
when necessary.

32 years agoOops!
Stu Grossman [Thu, 22 Oct 1992 19:32:06 +0000 (19:32 +0000)]
Oops!

32 years ago * alldeps.mak, depend: Update.
Stu Grossman [Thu, 22 Oct 1992 18:25:32 +0000 (18:25 +0000)]
* alldeps.mak, depend:  Update.

32 years ago* config/rs6000.mh (NATDEPFILES): Add corelow.o.
John Gilmore [Thu, 22 Oct 1992 11:24:25 +0000 (11:24 +0000)]
* config/rs6000.mh (NATDEPFILES):  Add corelow.o.

32 years ago* partial-stab.h ('f', 'F'): Don't reference pst->textlow if pst
John Gilmore [Thu, 22 Oct 1992 11:23:54 +0000 (11:23 +0000)]
* partial-stab.h ('f', 'F'):  Don't reference pst->textlow if pst
is null.
* tm-sun4sol2.h (PROLOGUE_FIRSTLINE_OVERLAP):  Remove -- it
causes problems in setting breakpoint in the right place in
functions with `float' args which are passed as doubles.
* xm-vaxbsd.h (MEM_FNS_DECLARED):  Avoid erroneous redecl's.
* config/rs6000.mh (NATDEPFILES):  Add corelow.o.

32 years ago* configure.in (i960-*-{aout,bout}): Support these.
John Gilmore [Thu, 22 Oct 1992 10:08:11 +0000 (10:08 +0000)]
* configure.in (i960-*-{aout,bout}):  Support these.

32 years agoFirst cut at news for 4.7. Just an outline, and an indicator of where we
Stu Grossman [Thu, 22 Oct 1992 08:12:16 +0000 (08:12 +0000)]
First cut at news for 4.7.  Just an outline, and an indicator of where we
stopped in ChangeLog.

32 years agoAdd nm-i386sco.h.
Stu Grossman [Thu, 22 Oct 1992 08:11:21 +0000 (08:11 +0000)]
Add nm-i386sco.h.

32 years ago* configure.in: Make SCO work again...
Stu Grossman [Thu, 22 Oct 1992 08:09:00 +0000 (08:09 +0000)]
* configure.in:  Make SCO work again...

32 years ago* Makefile.in (HFILES): Add nm-i386sco.h.
Stu Grossman [Thu, 22 Oct 1992 08:07:12 +0000 (08:07 +0000)]
* Makefile.in (HFILES):  Add nm-i386sco.h.
* dwarfread.c:  include <sys/types.h> for SCO.
* infptrace.c:  Don't include ptrace.h under SCO.
* config/i386sco.mh:  Use -D_POSIX_SOURCE instead of -posix for
gcc.
* config/i386v.mt:  Add exec.o to TDEPFILES.

32 years ago * i386v-nat.c: Remove space from front of #endif.
Stu Grossman [Thu, 22 Oct 1992 02:26:04 +0000 (02:26 +0000)]
* i386v-nat.c:  Remove space from front of #endif.
* irix4-nat.c:  Remove externs of registers[], include inferior.h
instead.
* mips-nat.c:  Explicitly initialize zerobuf to 0!
* mips-tdep.c (init_extra_frame_info):  Undo John's last change.
Always setup fci->frame, even if it's non-zero.  Too many places
depend upon this behavior (and I have to get a release out the
door)!
* mipsread.c (parse_partial_symbols, psymtab_to_symtab_1):  Set
processing_gcc_compilation if we find the embedded stabs marker.
This fixes several bugs with finding the location of short or char
function parameters passed on the stack.

32 years agosun4sol2 native stuff
K. Richard Pixley [Thu, 22 Oct 1992 02:00:07 +0000 (02:00 +0000)]
sun4sol2 native stuff

32 years ago* coredep.c: Include "nm.h" to get REGISTER_U_ADDR.
John Gilmore [Wed, 21 Oct 1992 21:11:39 +0000 (21:11 +0000)]
* coredep.c:  Include "nm.h" to get REGISTER_U_ADDR.

32 years ago* Makefile.in (VERSION): Tick to 4.6.9.
John Gilmore [Wed, 21 Oct 1992 10:52:09 +0000 (10:52 +0000)]
* Makefile.in (VERSION):  Tick to 4.6.9.
* mipsread.c (UNSAFE_DATA_ADDR):  Remove MIPS-host-specific
definition, replace with portable one.
* remote-nindy.c:  Lint.
(nindy_wait):  Return type is int, result is inferior_pid.
* symmisc.c (dump_psymtab):  Only print section_offsets if set.
(initialize_symmisc):  Remove empty function.
* tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS):
Remove obsolete, misspelled macro.
* doc/gdbint.texinfo:  Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.
* doc/gdbint.texinfo:  Document host/native/target split.

32 years ago* config/a29k-aout.mt (DEFAULT_TARGET): Set to one that exists.
John Gilmore [Wed, 21 Oct 1992 10:47:13 +0000 (10:47 +0000)]
* config/a29k-aout.mt (DEFAULT_TARGET):  Set to one that exists.

32 years agoDocument host/native/target split.
John Gilmore [Wed, 21 Oct 1992 10:45:11 +0000 (10:45 +0000)]
Document host/native/target split.

32 years ago* mipsread.c (UNSAFE_DATA_ADDR): Remove MIPS-host-specific
John Gilmore [Wed, 21 Oct 1992 10:34:07 +0000 (10:34 +0000)]
* mipsread.c (UNSAFE_DATA_ADDR):  Remove MIPS-host-specific
definition, replace with portable one.
* remote-nindy.c:  Lint.
(nindy_wait):  Return type is int, result is inferior_pid.
* symmisc.c (dump_psymtab):  Only print section_offsets if set.
(initialize_symmisc):  Remove empty function.
* tm-spc-noun.h, tm-sun4os4.h, tm-sun4sol2.h (STACK_END_ADDRESS):
Remove obsolete, misspelled macro.
* doc/gdbint.texinfo:  Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.
* doc/gdbint.texinfo:  Document host/native/target split.

32 years ago* doc/gdbint.texinfo: Document obsolete STACK_END_ADDR.
John Gilmore [Wed, 21 Oct 1992 08:11:38 +0000 (08:11 +0000)]
* doc/gdbint.texinfo:  Document obsolete STACK_END_ADDR.
(all @node commands):  Use new form to avoid nitpicking errors.

32 years ago* mips-nat.c (zerobuf): Get rid of const to avoid gcc warnings.
Stu Grossman [Wed, 21 Oct 1992 07:50:26 +0000 (07:50 +0000)]
* mips-nat.c (zerobuf):  Get rid of const to avoid gcc warnings.