binutils-gdb.git
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.

32 years ago* xm-mips.h (offsetof): Don't define this if __STDC__.
Stu Grossman [Wed, 21 Oct 1992 07:15:39 +0000 (07:15 +0000)]
* xm-mips.h (offsetof):  Don't define this if __STDC__.

32 years agoumax native support
K. Richard Pixley [Wed, 21 Oct 1992 05:12:16 +0000 (05:12 +0000)]
umax native support

32 years agohppa native support
K. Richard Pixley [Wed, 21 Oct 1992 04:57:35 +0000 (04:57 +0000)]
hppa native support

32 years agoTue Oct 20 13:02:25 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 20 Oct 1992 20:10:34 +0000 (20:10 +0000)]
Tue Oct 20 13:02:25 1992  Ian Lance Taylor  (ian@cygnus.com)

* Support for i386-sysv.
obj-coffbfd.c (do_relocs_for, write_object_file): set segment
addresses to reasonable sizes.  New define ZERO_BASED_SEGMENTS can
be used to set them all to zero as was done before.
(fill_section): segment addresses now set in write_object_file.
(fill_section): Don't set STYP_NOLOAD for .bss section.
(fixup_segment): 386 uses strange common symbol format.
tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for
compatibility with SVR3.2 linker.

32 years agoTue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 20 Oct 1992 20:09:45 +0000 (20:09 +0000)]
Tue Oct 20 12:18:08 1992  Ian Lance Taylor  (ian@cygnus.com)

* configure.in: i386-sysv and i386-sco use coffbfd.

32 years agoTue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 20 Oct 1992 19:20:58 +0000 (19:20 +0000)]
Tue Oct 20 12:18:08 1992  Ian Lance Taylor  (ian@cygnus.com)

* app.c (do_scrub_next_char): discard whitespace after a label.

32 years agoTue Oct 20 10:56:06 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 20 Oct 1992 17:57:28 +0000 (17:57 +0000)]
Tue Oct 20 10:56:06 1992  Ian Lance Taylor  (ian@cygnus.com)

* m68kcoff.sc-sh: don't use initial underscores for etext, edata
and end.

32 years ago * mips-nat.c: Straighten out include files. Work around
Stu Grossman [Tue, 20 Oct 1992 07:03:38 +0000 (07:03 +0000)]
* mips-nat.c:  Straighten out include files.  Work around
conflicting defs of JB_xxx syms in <setjmp.h> and <machine/pcb.h>
for Ultrix-4.2.

32 years ago * mips-nat.c (fetch_core_registers, register_addr): Copy from
Stu Grossman [Tue, 20 Oct 1992 05:47:47 +0000 (05:47 +0000)]
* mips-nat.c (fetch_core_registers, register_addr):  Copy from
coredep.c, but zero out FP_REGNUM & ZERO_REGNUM so that stack
backtraces from core files work.
* config/decstation.mh, config/irix3.mh:  Remove coredep.o.
Functions are now defined in mips-nat.c.

32 years ago* remote-hms.c: Disable all uses of serial_nextbaudrate and
Stu Grossman [Tue, 20 Oct 1992 00:16:37 +0000 (00:16 +0000)]
* remote-hms.c:  Disable all uses of serial_nextbaudrate and
serial_default_name().

32 years ago* remote-hms.c, ser-go32.c, serial.h: Change from
Stu Grossman [Mon, 19 Oct 1992 23:40:36 +0000 (23:40 +0000)]
* remote-hms.c, ser-go32.c, serial.h:  Change from
serial_timedreadchar() to new serial_readchar().

32 years ago* Makefile.in (HFILES): Fixup list of nm-*.h files. Add missing ones.
Stu Grossman [Mon, 19 Oct 1992 22:12:50 +0000 (22:12 +0000)]
* Makefile.in (HFILES):  Fixup list of nm-*.h files.  Add missing ones.

32 years ago * c-exp.y: Moved handling of 'const' and 'volatile' from
Per Bothner [Mon, 19 Oct 1992 19:46:05 +0000 (19:46 +0000)]
* c-exp.y:  Moved handling of 'const' and 'volatile' from
<type> to <typebase>.  This removes 2 conflicts.

32 years agoMon Oct 19 09:45:38 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 19 Oct 1992 16:53:41 +0000 (16:53 +0000)]
Mon Oct 19 09:45:38 1992  Ian Lance Taylor  (ian@cygnus.com)

* Support for i386-sysv.
configure.in: check for i386-*-sysv* and i386-*-sco*.
i386coff.sc-sh: rewrote to support SVR3 by default.
ldctor.c (find_constructors): preserve stat_ptr.
ldlang.c (wild_doit): initialize vma and size of new output
section to corresponding input section.  This is required for
shared library support.
(lang_size_sections): don't modify vma and size of sections which
are never loaded (for shared libraries).
ldwrite.c (copy_and_relocate): copy the contents of any section
which has contents, not just sections which are loaded (for shared
libraries).

32 years agoRemove news1000.mt (same as news.mt) from .Sanitize.
John Gilmore [Mon, 19 Oct 1992 07:56:42 +0000 (07:56 +0000)]
Remove news1000.mt (same as news.mt) from .Sanitize.

32 years ago * breakpoint.c (breakpoint_re_set_one): Don't delete watchpoints
Fred Fish [Sun, 18 Oct 1992 07:38:59 +0000 (07:38 +0000)]
* breakpoint.c (breakpoint_re_set_one):  Don't delete watchpoints
from breakpoint table when reseting breakpoints.

32 years ago Native support cleanup and corefile fixes for i386 SVR4 systems.
Fred Fish [Sat, 17 Oct 1992 08:07:14 +0000 (08:07 +0000)]
Native support cleanup and corefile fixes for i386 SVR4 systems.

* i386-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
  fill_fpregset): Moved to i386v4-nat.c
* i386v4-nat.c, nm-i386v4.h, :  New files.
* i386sol2.mh, i386v4.mh, ncr3000.mh (NAT_FILE):  Use nm-i386v4.h.
* i386sol2.mh, i386v4.mh, ncr3000.mh (NATDEPFILES):  Add corelow.o,
  change i386v-nat.o to i386v4-nat.o.

32 years agomisc 386 configs updated
K. Richard Pixley [Sat, 17 Oct 1992 00:07:04 +0000 (00:07 +0000)]
misc 386 configs updated

32 years agoi386bsd cleanup
K. Richard Pixley [Fri, 16 Oct 1992 23:49:43 +0000 (23:49 +0000)]
i386bsd cleanup

32 years agoi386v host/target/native separation
K. Richard Pixley [Fri, 16 Oct 1992 23:39:34 +0000 (23:39 +0000)]
i386v host/target/native separation

32 years agolinux host/target/native separation
K. Richard Pixley [Fri, 16 Oct 1992 23:11:13 +0000 (23:11 +0000)]
linux host/target/native separation

32 years agosun386 host/target/native separation
K. Richard Pixley [Fri, 16 Oct 1992 23:03:27 +0000 (23:03 +0000)]
sun386 host/target/native separation

32 years agoi386mach host/target/native separation
K. Richard Pixley [Fri, 16 Oct 1992 22:57:36 +0000 (22:57 +0000)]
i386mach host/target/native separation

32 years agogo32 host/target/native separation
K. Richard Pixley [Fri, 16 Oct 1992 22:49:35 +0000 (22:49 +0000)]
go32 host/target/native separation

32 years agoadded nm-m88k.h to HFILES
K. Richard Pixley [Fri, 16 Oct 1992 20:56:05 +0000 (20:56 +0000)]
added nm-m88k.h to HFILES

32 years agom88k native support
K. Richard Pixley [Fri, 16 Oct 1992 20:53:46 +0000 (20:53 +0000)]
m88k native support

32 years ago* nm-i386bsd.h, xm-i386bsd.h: Split native dependent pieces out
John Gilmore [Fri, 16 Oct 1992 11:38:38 +0000 (11:38 +0000)]
* nm-i386bsd.h, xm-i386bsd.h:  Split native dependent pieces out
into new nm-file.
* config/i386bsd.mh (NAT_FILE):  Point to new nm-file.

32 years ago* i386b-nat.c: Comment changes.
John Gilmore [Fri, 16 Oct 1992 11:37:58 +0000 (11:37 +0000)]
* i386b-nat.c:  Comment changes.
* nm-i386bsd.h, xm-i386bsd.h:  Split native dependent pieces out
into new nm-file.
* config/i386bsd.mh (NAT_FILE):  Point to new nm-file.

32 years agoSplit native dependent pieces out into new nm-file.
John Gilmore [Fri, 16 Oct 1992 11:35:02 +0000 (11:35 +0000)]
Split native dependent pieces out into new nm-file.

32 years agoAvoid longjmp()-catching compilation errors in cross-ports.
John Gilmore [Fri, 16 Oct 1992 10:47:34 +0000 (10:47 +0000)]
Avoid longjmp()-catching compilation errors in cross-ports.

* doc/gdbint.texinfo:  Update GET_LONGJMP_TARGET, L_SET doc.
* irix4-nat.c, mips-nat.c (JB_ELEMENT_SIZE, get_longjmp_target):
Move from mips-tdep.c and tm-{irix3,mips}.h.
* mips-nat.c:  Remove a bunch of code that was ifdef'd out of
native MIPS ports.
* nm-irix3.h, nm-mips.h (GET_LONGJMP_TARGET):  Move from tm-irix3.h
and tm-mips.h.

* ultra3-nat.c (register_addr):  Move from ultra3-xdep.c.
(fetch_core_registers):  Fix bfd_seek arguments.

32 years agoUpdate GET_LONGJMP_TARGET, L_SET doc.
John Gilmore [Fri, 16 Oct 1992 10:45:20 +0000 (10:45 +0000)]
Update GET_LONGJMP_TARGET, L_SET doc.

32 years ago* getopt.h (struct option): RMS decided we should do it the other way.
John Gilmore [Fri, 16 Oct 1992 10:20:52 +0000 (10:20 +0000)]
* getopt.h (struct option):  RMS decided we should do it the other way.

32 years agoMake core files work again on most hosts, by adding corelow.o.
John Gilmore [Fri, 16 Oct 1992 10:15:32 +0000 (10:15 +0000)]
Make core files work again on most hosts, by adding corelow.o.

32 years agoMake core files work again on most hosts.
John Gilmore [Fri, 16 Oct 1992 10:14:47 +0000 (10:14 +0000)]
Make core files work again on most hosts.

32 years ago* config/decstation.mh, news.mh (NATDEPFILES): Add corelow.o.
John Gilmore [Fri, 16 Oct 1992 10:04:46 +0000 (10:04 +0000)]
* config/decstation.mh, news.mh (NATDEPFILES):  Add corelow.o.
* config/delta88.mt, m88k.mt (TDEPFILES):  Remove coredep.o, it's
native dependent.

32 years agoultra3 split
K. Richard Pixley [Fri, 16 Oct 1992 06:05:36 +0000 (06:05 +0000)]
ultra3 split

32 years agouse the provided enum for has_arg
K. Richard Pixley [Fri, 16 Oct 1992 05:49:54 +0000 (05:49 +0000)]
use the provided enum for has_arg

32 years agoadd MEM_FNS_DECLARED
K. Richard Pixley [Fri, 16 Oct 1992 04:55:14 +0000 (04:55 +0000)]
add MEM_FNS_DECLARED

32 years agocasts for ultrix compiler
K. Richard Pixley [Fri, 16 Oct 1992 04:44:36 +0000 (04:44 +0000)]
casts for ultrix compiler

32 years ago * ldlang.c (size_input_section): count the sizes of all sections
Steve Chamberlain [Thu, 15 Oct 1992 22:22:08 +0000 (22:22 +0000)]
* ldlang.c (size_input_section): count the sizes of all sections
        we allocate.

32 years agoDocument changes to hosts directory.
Per Bothner [Thu, 15 Oct 1992 22:16:07 +0000 (22:16 +0000)]
Document changes to hosts directory.

32 years ago * apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
Per Bothner [Thu, 15 Oct 1992 22:15:14 +0000 (22:15 +0000)]
* apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
no-longer-used definitions of L_SET and L_INCR.
* i386linux.h:  Tweaks to smooth Linux build.

32 years ago * binutils.tex: Document yesterday's changes to strip and copy.
Per Bothner [Thu, 15 Oct 1992 20:59:17 +0000 (20:59 +0000)]
* binutils.tex:  Document yesterday's changes to strip and copy.

32 years ago* Makefile.in (VERSION): Roll to 4.6.8.
John Gilmore [Thu, 15 Oct 1992 13:42:10 +0000 (13:42 +0000)]
* Makefile.in (VERSION):  Roll to 4.6.8.
(OBS):  Put version.o first, so Makefile rebuild happens early.

* command.h:  Publicize prototype for not_just_help_class_command.
* command.c:  Remove proto.
* maint.c:  Mark "mt" as an abbrev, to avoid duplicated help
output.  Move "maint info" from class info to class maintenance,
and improve text.
* infrun.c:  Move "stop" to class_obscure, and give it a
function so it will not be seen as a global help topic.  FIXME,
it should be possible to set these attributes independently.

* core.c (core_command):  Make nicer error message for no core support.

32 years agoLint around file_ptr's (bfd's off_t's) and bfd_seek.
John Gilmore [Thu, 15 Oct 1992 13:40:40 +0000 (13:40 +0000)]
Lint around file_ptr's (bfd's off_t's) and bfd_seek.

* dbxread.c (read_dbx_symtab):  Use L_SET as bfd_seek arg.
(elfstab_build_psymtabs):  staboffset and stabstroffset args are
file_ptr's.
* dwarfread.c (struct dwfinfo):  Convert dbfoff, lnfoff to file_ptr.
(scan_compilation_units):  Punt unused filename arg.  dbfoff,
lnoffset, and curlnoffset are file_ptr's now.
(dwarf_build_psymtabs):  Drop desc and filename args; use
objfile.  dbfoff and lnoffset are file_ptr's now.
(read_ofile_symtab):  foffset is now file_ptr.  Use L_SET in bfd_seek.
* elfread.c (struct elfinfo):  dboffset and lnoffset are file_ptr's.
(elf_symfile_read):  Skip desc and filename args to
dwarf_build_psymtabs.  Pass file_ptr's to elfstab_build_psymtabs.
* gdb-stabs.h:  Use file_ptr rather than off_t.
* mipsread.c (fixup_symtab): f_ptr is a file_ptr.  Re-enable
compile-time debug check that someone turned off as "unused".
(read_the_mips_symtab):  st_filptr is a file_ptr.  Fix bfd_seek call.
* symfile.h:  Update dwarf_build_psymtabs and
elfstab_build_psymtabs prototypes.
* xcoffread.c (init_stringtab, init_lineno, xcoff_symfile_read):
Use file_ptr offsets.  bfd_seeks use L_SET.

32 years agoNow update it in the *right* place...
John Gilmore [Thu, 15 Oct 1992 11:39:56 +0000 (11:39 +0000)]
Now update it in the *right* place...

32 years agoUpdate after comment changes.
John Gilmore [Thu, 15 Oct 1992 11:36:46 +0000 (11:36 +0000)]
Update after comment changes.

32 years agoInsert copyright notices in all BFD files that need them.
John Gilmore [Thu, 15 Oct 1992 10:59:13 +0000 (10:59 +0000)]
Insert copyright notices in all BFD files that need them.
Update copyrights on recently changed files to 1992.
Regularize first-line comments somewhat.

32 years ago* bfd-in.h (file_ptr): Update comments, make FIXME re off_t.
John Gilmore [Thu, 15 Oct 1992 10:34:13 +0000 (10:34 +0000)]
* bfd-in.h (file_ptr):  Update comments, make FIXME re off_t.

32 years ago* aout-adobe.c, aoutf1.h, aoutx.h, bout.c coff-m68k.c, coff-z8k.c,
John Gilmore [Thu, 15 Oct 1992 09:44:59 +0000 (09:44 +0000)]
* aout-adobe.c, aoutf1.h, aoutx.h, bout.c coff-m68k.c, coff-z8k.c,
coffcode.h, elf.c, libaout.h, libbfd.h, srec.c:  Lint.

32 years ago* aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c,
John Gilmore [Thu, 15 Oct 1992 09:00:09 +0000 (09:00 +0000)]
* aout-adobe.c, aoutf1.h, archive.c, bout.c, coff-rs6000.c,
coffcode.h, elf.c, ieee.c, libaout.h, libbfd.c, oasys.c,
sco-core.c:  Lint:  Second argument of bfd_seek is always file_ptr.
Third argument is SEEK_SET or SEEK_CUR.  Result is always 0 or -1.

32 years ago* mips-tdep.c, mipsread.c, tm-mips.h: Get rid of ".gdbinfo."
Stu Grossman [Thu, 15 Oct 1992 08:36:30 +0000 (08:36 +0000)]
* mips-tdep.c, mipsread.c, tm-mips.h:  Get rid of ".gdbinfo."
symbol.  #define MIPS_EFI_SYMBOL_NAME instead.  Use different
value so that demangler won't be invoked.  This greatly speeds up
stepping.
* mips-tdep.c (mips_pop_frame):  Rewrite handling of
linked_proc_info so that it properly deallocates the appropriate
item after it is done with it instead of before.
* Don't pass bogus frame pointer to create_new_frame().  Just
leave it as zero so that lower level code will figure out the
correct value.

32 years agosony news native support
K. Richard Pixley [Thu, 15 Oct 1992 06:47:31 +0000 (06:47 +0000)]
sony news native support

32 years agoremove redundant include of sys/time.h.
K. Richard Pixley [Thu, 15 Oct 1992 06:38:03 +0000 (06:38 +0000)]
remove redundant include of sys/time.h.

32 years agoinclude ctype.h
K. Richard Pixley [Thu, 15 Oct 1992 01:57:45 +0000 (01:57 +0000)]
include ctype.h

32 years ago * copy.c: Re-do command-line parsing to use getopt_long().
Per Bothner [Wed, 14 Oct 1992 20:35:29 +0000 (20:35 +0000)]
* copy.c:  Re-do command-line parsing to use getopt_long().
Add long option names.  Re-think option letters to be more
consistent.
* copy.c:  New function filter_symbols() for stripping only
debug-symbols and/or local symbols.  Use these to support
the previously-missing options of the old FSF strip.

32 years agoAdded #include <ctype.h> to several files. It's often more efficient,
Ian Lance Taylor [Wed, 14 Oct 1992 20:20:03 +0000 (20:20 +0000)]
Added #include <ctype.h> to several files.  It's often more efficient,
and on some systems it's required.