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

32 years agoMove "@c @smallbook" and "@c @cropmarks" out of titlepage, so if someone
Roland Pesch [Tue, 13 Oct 1992 23:19:05 +0000 (23:19 +0000)]
Move "@c @smallbook" and "@c @cropmarks" out of titlepage, so if someone
uncomments them they affect the whole document...

32 years ago* config/news1000.mt: No longer needed, same as news.mt.
John Gilmore [Tue, 13 Oct 1992 08:30:26 +0000 (08:30 +0000)]
* config/news1000.mt:  No longer needed, same as news.mt.

32 years agoConvert m68k entries to m68* entries to handle
John Gilmore [Tue, 13 Oct 1992 08:28:45 +0000 (08:28 +0000)]
Convert m68k entries to m68* entries to handle
all the various m68xxx hosts and targets.

32 years ago* configure.in (host): Use ${srcdir}/../bfd/configure.host rather
John Gilmore [Tue, 13 Oct 1992 08:25:08 +0000 (08:25 +0000)]
* configure.in (host):  Use ${srcdir}/../bfd/configure.host rather
than repeating a copy of it here.

32 years agoReplace m68kmote with plain old m68k.
John Gilmore [Tue, 13 Oct 1992 08:23:16 +0000 (08:23 +0000)]
Replace m68kmote with plain old m68k.

32 years agoMon Oct 12 15:04:07 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 12 Oct 1992 22:05:57 +0000 (22:05 +0000)]
Mon Oct 12 15:04:07 1992  Ian Lance Taylor  (ian@cygnus.com)

* readline.c (init_terminal_io): if tgetent returns 0, the
terminal type is unknown.

32 years agoThu Oct 8 09:05:25 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Mon, 12 Oct 1992 17:25:00 +0000 (17:25 +0000)]
Thu Oct  8 09:05:25 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* ldmisc.c (demangle,vfinfo): use the new underscore info in bfd to
to demangle symbols better

32 years agouse sysv config for solaris2 hosting
David D. Zuhn [Mon, 12 Oct 1992 02:10:51 +0000 (02:10 +0000)]
use sysv config for solaris2 hosting

32 years agofix typo, added @table
David D. Zuhn [Sun, 11 Oct 1992 01:06:17 +0000 (01:06 +0000)]
fix typo, added @table

32 years agoremove duplicate inftarg.o
K. Richard Pixley [Sat, 10 Oct 1992 01:58:10 +0000 (01:58 +0000)]
remove duplicate inftarg.o

32 years ago* Makefile.in (HFILES): Add all nm-irix3.h, nm-irix4.h,
Stu Grossman [Sat, 10 Oct 1992 00:32:07 +0000 (00:32 +0000)]
* Makefile.in (HFILES):  Add all nm-irix3.h, nm-irix4.h,
nm-sun2.h, nm-mips.h.

32 years ago* config/irix3.mh (NATDEPFILES): nat-mips.o => mips-nat.o.
Stu Grossman [Fri, 9 Oct 1992 23:11:25 +0000 (23:11 +0000)]
* config/irix3.mh (NATDEPFILES):  nat-mips.o => mips-nat.o.

32 years ago* Makefile.in (alldeps.mak): Add = sign after NATDEPFILES.
Stu Grossman [Fri, 9 Oct 1992 23:01:11 +0000 (23:01 +0000)]
* Makefile.in (alldeps.mak):  Add = sign after NATDEPFILES.

32 years ago* config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o.
Stu Grossman [Fri, 9 Oct 1992 21:36:35 +0000 (21:36 +0000)]
* config/bigmips.mh config/littlemips.mh:  Remove mips-xdep.o.

32 years ago* config/bigmips.mh config/littlemips.mh: Remove mips-xdep.o.
Stu Grossman [Fri, 9 Oct 1992 21:23:43 +0000 (21:23 +0000)]
* config/bigmips.mh config/littlemips.mh:  Remove mips-xdep.o.

Also add nm-irix3.h to .Sanitize, and remove references to .Sanitize from
ChangeLog.

32 years agoEckhard Rueggeberg throught gprof didn't work because the man page was wrong.
Mark Eichin [Fri, 9 Oct 1992 18:34:33 +0000 (18:34 +0000)]
Eckhard Rueggeberg throught gprof didn't work because the man page was wrong.
The SYNOPSIS now matches the rest of the man page.

32 years agoFri Oct 9 08:41:11 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 9 Oct 1992 15:49:16 +0000 (15:49 +0000)]
Fri Oct  9 08:41:11 1992  Ian Lance Taylor  (ian@cygnus.com)

* xm-hppah.h: if __STDC__ is not defined, define
HPPA_COMPILER_BUG.
symtab.c (decode_line_1): avoid a bug in the HP9000/700 native
compiler; see the comment in the file.

Here's the comment from the file:
  /* FIXME: The native HP 9000/700 compiler has a bug which appears
     when optimizing this file with target i960-vxworks.  I haven't
     been able to construct a simple test case.  The problem is that
     in the second call to SKIP_PROLOGUE below, the compiler somehow
     does not realize that the statement val = find_pc_line (...) will
     change the values of the fields of val.  It extracts the elements
     into registers at the top of the block, and does not update the
     registers after the call to find_pc_line.  You can check this by
     inserting a printf at the end of find_pc_line to show what values
     it is returning for val.pc and val.end and another printf after
     the call to see what values the function actually got (remember,
     this is compiling with cc -O, with this patch removed).  You can
     also examine the assembly listing: search for the second call to
     skip_prologue; the LDO statement before the next call to
     find_pc_line loads the address of the structure which
     find_pc_line will return; if there is a LDW just before the LDO,
     which fetches an element of the structure, then the compiler
     still has the bug.  */

32 years agoFirst cut at support for all BSD variants on 386.
John Gilmore [Fri, 9 Oct 1992 11:55:05 +0000 (11:55 +0000)]
First cut at support for all BSD variants on 386.

32 years agoFirst cut at support for all BSD variants on 386.
John Gilmore [Fri, 9 Oct 1992 11:48:37 +0000 (11:48 +0000)]
First cut at support for all BSD variants on 386.

32 years agoFirst cut at support for all BSD variants on 386.
John Gilmore [Fri, 9 Oct 1992 11:48:24 +0000 (11:48 +0000)]
First cut at support for all BSD variants on 386.

* tm-i386bsd.h, xm-i386bsd.h:  New config files.
* i386b-nat.c:  New native support file.
* configure.in:  Add host and target for i[34]86-*-bsd*.
* config/i386bsd.mh, config/i386bsd.mt:  New config files.

32 years ago* configure.host: New file, contains mapping of host configs
John Gilmore [Fri, 9 Oct 1992 11:38:30 +0000 (11:38 +0000)]
* configure.host:  New file, contains mapping of host configs
to host support file names for bfd, binutils, opcodes.
* configure.in:  Use it.
* i386aout.c:  Cleanup, dump TARGET_IS_LITTLE_ENDIAN_P.
* i386bsd.c:  Cleanup, reformat.
* config/i386-bsd.mt:  Comment changes.
* config/i386bsd.mh:  New file for core file support.
* hosts/i386bsd.h:  Merge changes from Peter Schauer.
* bout.c (ALIGN):  Rename to ALIGNER, since system header files
on BSD 4.4 define ALIGN (sigh!).

32 years ago* bout.c (ALIGN): Rename to ALIGNER, since system header files
John Gilmore [Fri, 9 Oct 1992 10:47:32 +0000 (10:47 +0000)]
* bout.c (ALIGN):  Rename to ALIGNER, since system header files
on BSD 4.4 define ALIGN (sigh!).

32 years agoRemove space from blank line, avoid Make complaints.
John Gilmore [Fri, 9 Oct 1992 10:15:05 +0000 (10:15 +0000)]
Remove space from blank line, avoid Make complaints.

32 years agoSun2 native support (untested).
K. Richard Pixley [Fri, 9 Oct 1992 08:20:47 +0000 (08:20 +0000)]
Sun2 native support (untested).

* xm-sun2.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS,
  REGISTER_U_ADDR): removed to nm-sun2.h.
* nm-sun2.h: new file.
* config/sun2os[34].mh (XDEPFILES): infptrace.o inftarg.o
  fork-child.o sun3-xdep.o removed.
  (NAT_FILE, NATDEPFILES): new macros.

32 years agoMips native support. Decstation and iris4 have been tested.
K. Richard Pixley [Fri, 9 Oct 1992 07:59:37 +0000 (07:59 +0000)]
Mips native support.  Decstation and iris4 have been tested.
Iris3 has not.

* mips-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
  fill_fpregset): removed to irix4-nat.c
* mips-xdep.c: removed.
* irix4-nat.c, mips-nat.c, nm-irix3.h, nm-irix4.h, nm-mips.h: new
  files.
* procfs.c: include nm.h.
* xm-irix3.h (U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS): removed.
* xm-irix4.h: bump copyright.
(U_REGS_OFFSET, FETCH_INFERIOR_REGISTERS, USE_PROC_FS,
PROC_NAME_FMT): removed.
* xm-mips.h (FETCH_INFERIOR_REGISTERS): removed.
* config/irix4.mh (XDEPFILES): removed procfs.o fork-child.o.
(NAT_FILE, NATDEPFILES): new macros for native support.
(CC): supply default compiler switches.
* config/irix3.mh (XDEPFILES): removed infptrace.o inftarg.o fork-child.o coredep.o.
(NAT_FILE, NATDEPFILES): new macros for native support.  Note that
irix3 is untested.
* config/decstation.mh (XDEPFILES): removed infptrace.o inftarg.o
  fork-child.o mips-xdep.o coredep.o.
  (NAT_FILE, NATDEPFILES): new macros for native support.

32 years ago* config/rs6000.mh (XDEPFILES): removed fork-child.o.
K. Richard Pixley [Fri, 9 Oct 1992 07:22:15 +0000 (07:22 +0000)]
* config/rs6000.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
* config/sun3os3.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o
* config/sun3os4.mh (XDEPFILES): removed fork-child.o.
(NATDEPFILES): added fork-child.o

32 years ago* infcmd.c (path_info): Avoid 250-char limit on printf_filtered,
John Gilmore [Fri, 9 Oct 1992 06:20:26 +0000 (06:20 +0000)]
* infcmd.c (path_info):  Avoid 250-char limit on printf_filtered,
by using puts_filtered instead.

32 years ago* remote-nindy.c (nindy_load): Replacement version from Steve
Ken Raeburn [Fri, 9 Oct 1992 04:51:32 +0000 (04:51 +0000)]
* remote-nindy.c (nindy_load): Replacement version from Steve
Chamberlain, doesn't require forking to run "strip" or "sx".

32 years ago* configure.in: Reformat the target section, test many configs.
John Gilmore [Fri, 9 Oct 1992 02:42:29 +0000 (02:42 +0000)]
* configure.in:  Reformat the target section, test many configs.

32 years agoLinker now works for go32; other changes keep it from breaking the other
Mark Eichin [Fri, 9 Oct 1992 02:41:30 +0000 (02:41 +0000)]
Linker now works for go32; other changes keep it from breaking the other
platforms (new backend_data "exec_header_not_counted") (from p3.)

32 years ago* config.sub: Complain if no argument is given. Added support for 386bsd as OS
Ken Raeburn [Fri, 9 Oct 1992 01:44:03 +0000 (01:44 +0000)]
* config.sub: Complain if no argument is given.  Added support for 386bsd as OS
and target alias.

32 years ago* aout-target.h (callback): Don't define this function if it won't be used.
Ken Raeburn [Fri, 9 Oct 1992 01:39:06 +0000 (01:39 +0000)]
* aout-target.h (callback): Don't define this function if it won't be used.

* aoutx.h (some_aout_object_p): Restore old aout_data value if this type
doesn't match.  Don't lose if file sections have already been created.
(set_arch_mach): Set reloc_entry_size.
(slurp_symbol_table): Use bfd_h_get_{16,8} for reaeding symbol data.

* hosts/i386bsd.h: New file.
* configure.in: Recognize i[34]86-*-bsd host.

* aout-target.h (callback, write_object_contents): Delete unused variables.

* aoutx.h (reloc_type_lookup): New function.
* aout-target.h (MY_reloc_howto_type_lookup): Use it as default.
* aoutf1.h (sunos4_reloc_type_lookup): Deleted.
(MY_reloc_howto_type_lookup): Don't define it.

* aoutx.h (adjust_sizes_and_vmas): Don't bother with padding for OMAGIC files.
(slurp_symbol_table): Use header byte order, not target byte order, for reading
symbol data.

32 years ago * configure.in: Undo some brain damage in the host section.
John Gilmore [Fri, 9 Oct 1992 01:34:32 +0000 (01:34 +0000)]
* configure.in:  Undo some brain damage in the host section.
* Makefile.in (make):  Remove obsolete `make make'.
* aoutx.h (some_aout_object_p):  Make defines line up.

32 years ago* Makefile.in (HFILES): Add nm-*.h files.
Stu Grossman [Fri, 9 Oct 1992 01:29:17 +0000 (01:29 +0000)]
* Makefile.in (HFILES):  Add nm-*.h files.

32 years agoRemove stratus.mt and stratus.mh until we can get copyright assignment from the
Stu Grossman [Fri, 9 Oct 1992 00:53:44 +0000 (00:53 +0000)]
Remove stratus.mt and stratus.mh until we can get copyright assignment from the
real author of the i860 stuff.

32 years agoRemove duplicate core.c entry from SFILES_MAINDIR.
Stu Grossman [Fri, 9 Oct 1992 00:49:57 +0000 (00:49 +0000)]
Remove duplicate core.c entry from SFILES_MAINDIR.

32 years agoRemove a29k-udi.c till we straighten out AMD copyright stuff.
Stu Grossman [Fri, 9 Oct 1992 00:48:59 +0000 (00:48 +0000)]
Remove a29k-udi.c till we straighten out AMD copyright stuff.

32 years agoFix up HPPA file names.
John Gilmore [Fri, 9 Oct 1992 00:45:31 +0000 (00:45 +0000)]
Fix up HPPA file names.

32 years ago* config/sun4os4.mh (XDEPFILES): fork-child.o removed.
K. Richard Pixley [Fri, 9 Oct 1992 00:06:15 +0000 (00:06 +0000)]
* config/sun4os4.mh (XDEPFILES): fork-child.o removed.
  (NATDEPFILES): added fork-child.o.

32 years ago* doc/gdbint.texinfo: document a few more macros, create new
K. Richard Pixley [Thu, 8 Oct 1992 23:29:35 +0000 (23:29 +0000)]
* doc/gdbint.texinfo: document a few more macros, create new
  section for native macros.

32 years agoThu Oct 8 15:07:22 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 8 Oct 1992 22:09:32 +0000 (22:09 +0000)]
Thu Oct  8 15:07:22 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (XTRAFLAGS): include newlib directories if
newlib/Makefile exists, rather than if host != target.

32 years ago* Makefile.in alldeps.mak depend: Rip out 29k/udi pending
Stu Grossman [Thu, 8 Oct 1992 20:54:37 +0000 (20:54 +0000)]
* Makefile.in alldeps.mak depend:  Rip out 29k/udi pending
resolution of copyright issues.

32 years agokeep sun3-nat.c, rs6000-nat.c, nm-sun3.h, nm-rs6000.h. Forget
K. Richard Pixley [Thu, 8 Oct 1992 17:47:04 +0000 (17:47 +0000)]
keep sun3-nat.c, rs6000-nat.c, nm-sun3.h, nm-rs6000.h.  Forget
sun3-xdep.c, sparc-xdep.c, rs6000-xdep.c

32 years agoSave i386bsd.c since it is now required to build bfd.
Fred Fish [Thu, 8 Oct 1992 17:43:08 +0000 (17:43 +0000)]
Save i386bsd.c since it is now required to build bfd.
(Am I the *only* one that regularly builds sanitized trees and thus
 gets to clean up these things?)

32 years ago Now a bfd knows whether underscores are normally prepended
Steve Chamberlain [Thu, 8 Oct 1992 16:03:58 +0000 (16:03 +0000)]
 Now a bfd knows whether underscores are normally prepended
 to symbols in its file format.

32 years agoSome of these are guesses, if you know different, just yell.
Steve Chamberlain [Thu, 8 Oct 1992 16:02:09 +0000 (16:02 +0000)]
Some of these are guesses, if you know different, just yell.

Thu Oct  8 08:52:48 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

 Now a bfd knows whether underscores are normally prepended
 to symbols in its file format. Helps with error messages.

* aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-h8300.c,
coff-z8k.c: targets set so they have leading underscore
* coff-i386.c, coff-i960.c, coff-m68k.c, coff-mips.c, coff-m88k.c,
coff-rs6000.c, coff-we32k.c, elf.c, ieee.c, srec.c: targets set
without leading underscore flag
* targets.c: add symbol leading char to xvec description
* bfd-in.h (bfd_get_symbol_leading_char): new macro.

32 years ago* Makefile.in (setup-to-dist): Remove -norecursion so that doc
Stu Grossman [Thu, 8 Oct 1992 03:11:46 +0000 (03:11 +0000)]
* Makefile.in (setup-to-dist):  Remove -norecursion so that doc
subdir gets configured.

Bad John, bad...

32 years agoGoing back to old remote method for now.
Sean Eric Fagan [Thu, 8 Oct 1992 02:58:25 +0000 (02:58 +0000)]
Going back to old remote method for now.

32 years ago* Makefile.in (nindy.o): Define "STRIP" as pathname of strip program.
Ken Raeburn [Thu, 8 Oct 1992 02:09:28 +0000 (02:09 +0000)]
* Makefile.in (nindy.o): Define "STRIP" as pathname of strip program.
* nindy-share/nindy.c (coffstrip): Use that pathname, instead of searching for
a "bfd_strip" program.  Also, fixed up arguments passed to that program.

* tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r", which is now
used for something else.  Rewrite description of associated parameters to match
how gdb does it now.
(ADDITIONAL_OPTION_HELP): Fix message accordingly.

* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.

32 years agorenamed hp9000 to hp300
David D. Zuhn [Thu, 8 Oct 1992 01:29:00 +0000 (01:29 +0000)]
renamed hp9000 to hp300

32 years ago* copy.c (main): Even if is_strip, accept -d argument indicating alternate
Ken Raeburn [Thu, 8 Oct 1992 01:13:12 +0000 (01:13 +0000)]
* copy.c (main): Even if is_strip, accept -d argument indicating alternate
output format.  Needed by gdb for Nindy.

* m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.

32 years agoadded copy documentation per Roland
Jeffrey Osier [Tue, 6 Oct 1992 23:36:54 +0000 (23:36 +0000)]
added copy documentation per Roland

32 years agoSet REMOTE to remote-ser.o.
Sean Eric Fagan [Tue, 6 Oct 1992 23:04:08 +0000 (23:04 +0000)]
Set REMOTE to remote-ser.o.

32 years agoAdded remote-ser.c, which is a version of remote.c that uses the routines
Sean Eric Fagan [Tue, 6 Oct 1992 23:03:51 +0000 (23:03 +0000)]
Added remote-ser.c, which is a version of remote.c that uses the routines
in the ser-*.c files.  Needed for some systems, such as GO32, which don't
have stuff like <termios.h>.  Makefile.in now uses $(REMOTE), which defaults
to remote.o, instead of remote.o.

32 years agoNOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector as
K. Richard Pixley [Tue, 6 Oct 1992 22:54:57 +0000 (22:54 +0000)]
NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector as
to_notice_signals.

* inferior.h (proc_signal_handling_change): prototype removed.
* infrun.c (NOTICE_SIGNAL_HANDLING_CHANGE): default removed.
(handle_command): now calls target_notice_signals.
* procfs.c (proc_signal_handling_change): renamed to
  procfs_notice_signals.  Now static.  Add prototype.  All callers
  changed.
* target.h (struct target_ops): new field, to_notice_signals.
(target_notice_signals): new macro to cover new field.
* target.c (cleanup_target): default to_notice_signals to ignore.
* corelow.c (core_ops),
exec.c (exec_ops),
inftarg.c (child_ops),
procfs.c (procfs_ops),
remote-adapt.c (adapt-ops),
remote-eb.c (eb_ops),
remote-es1800.c (es1800_ops, es1800_child_ops),
remote-hms.c (hms_ops),
remote-mm.c (mm_ops),
remote-nindy.c (nindy_ops),
remote-st2000.c (st2000_ops),
remote-udi.c (udi_ops),
remote-vx.c (vx_ops, vx_run_ops),
remote.c (remote_ops),
target.c (dummy_target),
xcoffexec.c (exec_ops): added static initializer for
to_notice_signals.
* xm-irix4.h, xm-sysv4.h (NOTICE_SIGNAL_HANDLING_CHANGE): removed.

32 years ago * Makefile.in (*clean rules): Some cleaning up.
Per Bothner [Tue, 6 Oct 1992 21:25:08 +0000 (21:25 +0000)]
* Makefile.in (*clean rules): Some cleaning up.
* Makefile.in (dist): Make diststuff in gprof for a dist.
* ar.c (do_show_version):  New function.
* ar.c (main):  Fix so "ar -V" works.

32 years agoTue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 6 Oct 1992 20:10:27 +0000 (20:10 +0000)]
Tue Oct  6 13:08:54 1992  Ian Lance Taylor  (ian@cygnus.com)

* ldlang.c (lang_finish): don't warn if -e start symbol does not
exist when linking with -r.

32 years ago* main.c (define_command): Add forgotten initializer.
John Gilmore [Tue, 6 Oct 1992 19:14:18 +0000 (19:14 +0000)]
* main.c (define_command):  Add forgotten initializer.

32 years ago* language.c, language.h: Move saved_language out to global
John Gilmore [Tue, 6 Oct 1992 09:33:15 +0000 (09:33 +0000)]
* language.c, language.h:  Move saved_language out to global
expected_language.  Set expected_language when user expectation
changes.
* language.c (language_info):  Don't print type/range checking gub.
* main.c (main):  Set expected language.
(execute_command):  Check against expected language.
* symfile.c (set_initial_language):  Set expected language.

32 years agoSolaris-x86 early trial
John Gilmore [Tue, 6 Oct 1992 09:29:24 +0000 (09:29 +0000)]
Solaris-x86 early trial

32 years ago* configure.in, config/i386sol2.{mh,mt}: Preliminary Solaris-x86 conf.
John Gilmore [Tue, 6 Oct 1992 09:27:57 +0000 (09:27 +0000)]
* configure.in, config/i386sol2.{mh,mt}:  Preliminary Solaris-x86 conf.

32 years ago A bunch of changes mostly to improve debugging of C++ programs.
John Gilmore [Tue, 6 Oct 1992 09:22:43 +0000 (09:22 +0000)]
A bunch of changes mostly to improve debugging of C++ programs.
Specifically, the calling of inferiors methods is improved.

* value.h:  New macros METHOD_PTR_IS_VIRTUAL,
METHOD_PTR_FROM_VOFFSET, METHOD_PTR_TO_VOFFSET to partially
hide the implementation details of pointer-to-method objects.
How to tell if the pointer points to a virtual method is
still very dependent on the particular compiler, but this
should make it easier to find the places to change.
* eval.c (evaluate_subexp [case OP_FUNCALL]), valprint.c
(val_print [case TYPE_CODE_PTR]):  Use the new METHOD_PTR_*
macros, instead of a hard-wired-in code that incorrectly
assumed a no-longerused representation of pointer-to-method
values.  And otherwise fix the relevant bit-rotted code.

* valprint.c (type_print_base [case TYPE_CODE_STRUCT]):
If there are both fields and methods, put a space between.

* stabsread.c (read_struct_type):  Fix bug in handling of
GNU C++ anonymous type (indicated by CPLUS_MARKER followed
by '_').  (It used to prematurely exit the loop reading in
the fields, so it would think it should start reading
methods while still in the fields.  This could crash gdb
given a gcc that can emit nested type information.)

* valops.c (search_struct_method):  Pass 'this' value by
reference instead of by value.  This provides a more
consistent interface through a recursive search where the
"bottom" functions may need to adjust offsets (due to multiple
inheritance).
* valops.c, value.h, values.c:  Pass extra parameters to
value_fn_field and value_virtual_fn_field so we can
correctly adjust offset for multiple inheritance.
* eval.c (evaluate_subexp [case OP_FUNCALL]):  Simplify
virtual function calls by using value_virtual_fn_field().
* values.c: New function baseclass_offset, derived from
baseclass_addr (which perhaps can be made obsolete?).
It returns an offset rather than an address.  This is a
cleaner interface since it doesn't mess around allocating
new values.
* valops.c (search_struct_method):  Use baseclass_offset
rather than baseclass_addr.

32 years ago * gen-c-prog.awk: New awk script, lightly changed from
Per Bothner [Tue, 6 Oct 1992 00:57:18 +0000 (00:57 +0000)]
* gen-c-prog.awk:  New awk script, lightly changed from
previously deleted make-c-prog.awk.  Converts a text file
to a c function that prints that text.
* flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m:  New files.
Inputs to gen-c-prog.awk, containing text describing
gprof output.
* blurbs.c:  Removed.  Use *_bl.c instead.
* Makefile.in: Use gen-cprog.awk to generate *_bl.c files
from *_bl.m files.  Also, improve *clean rules.
* printgprof.c (printgprof):  Usw new function names from *_bl.c.

32 years ago fix i960+non-bfd coff bit rot.
Steve Chamberlain [Tue, 6 Oct 1992 00:03:20 +0000 (00:03 +0000)]
 fix i960+non-bfd coff bit rot.
* obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line):
support for C source listings. (obj_coff_endef): look in the right
part of the symbol for the symbol name

32 years ago* Makefile.in: Re-install 29K/UDI stuff.
Stu Grossman [Mon, 5 Oct 1992 23:19:59 +0000 (23:19 +0000)]
* Makefile.in:  Re-install 29K/UDI stuff.
* remote-udi.c (udi_resume):  Clean up.
* (udi_wait):  Rewrite, leave out bugs.
* Add debugging code to print out all register fetches and stores.
* Straighten out target_ops.
* tm-29k.h (DUMMY_FRAME_RSIZE):  Pad out to doubleword.

32 years agoTweak previous change (only assume malformed_archive if errno == 0).
Per Bothner [Mon, 5 Oct 1992 22:03:13 +0000 (22:03 +0000)]
Tweak previous change (only assume malformed_archive if errno == 0).

32 years ago * archive.c (_bfd_write_archive_contents): If read fails,
Per Bothner [Mon, 5 Oct 1992 21:36:56 +0000 (21:36 +0000)]
* archive.c (_bfd_write_archive_contents):  If read fails,
set bfd_error to malformed_archive (since this probably
indicates a truncated archive), rather than system_call_error.
(Handles PRMS 1624.)

32 years agoMon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 5 Oct 1992 21:08:41 +0000 (21:08 +0000)]
Mon Oct  5 14:07:37 1992  Ian Lance Taylor  (ian@cygnus.com)

* aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
.bss segment.

32 years agoMon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 5 Oct 1992 21:03:18 +0000 (21:03 +0000)]
Mon Oct  5 09:46:44 1992  Ian Lance Taylor  (ian@cygnus.com)

* remote-udi.c (udi_create_inferior): run with no arguments should
not pass the program name as an argument, since the UDI code
already handles that.
(udi_load): get the symbols from prog_name, not arg_string (the
load command should really use arg_string as the program name, not
prog_name, but at least the run command works now).

32 years agoMon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 5 Oct 1992 20:57:33 +0000 (20:57 +0000)]
Mon Oct  5 09:46:44 1992  Ian Lance Taylor  (ian@cygnus.com)

* munch: HP9000/300 nm puts an etra space between T and symbol
name.

32 years agoMon Oct 5 09:46:44 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 5 Oct 1992 16:49:13 +0000 (16:49 +0000)]
Mon Oct  5 09:46:44 1992  Ian Lance Taylor  (ian@cygnus.com)

* config/irix4.mh: added -lsun to XM_CLIBS to get RPC functions
needed for vxworks targets.

32 years agoMon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Mon, 5 Oct 1992 16:30:05 +0000 (16:30 +0000)]
Mon Oct  5 09:28:57 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* tc-m68k.c (get_num): make it work for all segments, not just the
first three.

32 years agoMon Oct 5 08:55:14 1992 Steve Chamberlain (sac@thepub.cygnus.com)
Steve Chamberlain [Mon, 5 Oct 1992 16:15:11 +0000 (16:15 +0000)]
Mon Oct  5 08:55:14 1992  Steve Chamberlain  (sac@thepub.cygnus.com)

* ldmain.c (linear_library): don't even think about processing
an object file if it's already been done

32 years agosupport 386bsd target, from p3
Mark Eichin [Mon, 5 Oct 1992 08:33:10 +0000 (08:33 +0000)]
support 386bsd target, from p3

32 years agoadded i386-*-bsd, from p3
Mark Eichin [Mon, 5 Oct 1992 08:20:22 +0000 (08:20 +0000)]
added i386-*-bsd, from p3

32 years agosupport for 386bsd a.out files
Mark Eichin [Mon, 5 Oct 1992 08:04:49 +0000 (08:04 +0000)]
support for 386bsd a.out files

32 years agochanges from p3. (new sparclite-wrs-vxworks triple, xiberty rules)
Mark Eichin [Mon, 5 Oct 1992 07:58:54 +0000 (07:58 +0000)]
changes from p3. (new sparclite-wrs-vxworks triple, xiberty rules)

32 years agoChanges to make 29k function calls work better at Adobe.
John Gilmore [Sat, 3 Oct 1992 05:28:42 +0000 (05:28 +0000)]
Changes to make 29k function calls work better at Adobe.

* am29k-tdep.c (_initialize_29k):  Make it possible for the
user to set and query the address where function calls into the
inferior write a small scratch routine.  `set call_scratch_address'
* inferior.h (PC_IN_CALL_DUMMY):  Fix fencepost error.
* remote.c (remote_prepare_to_store): Only fetch regs if they are
not already cached validly.

32 years agoUse target i386-aout for i386-*-aout. This just provides a default
Ian Lance Taylor [Fri, 2 Oct 1992 18:48:41 +0000 (18:48 +0000)]
Use target i386-aout for i386-*-aout.  This just provides a default
emulation mode (of 1386aout).

32 years agorenamed hp9000.h to hp300.h
David D. Zuhn [Fri, 2 Oct 1992 07:26:50 +0000 (07:26 +0000)]
renamed hp9000.h to hp300.h

32 years agouse canonical triple
David D. Zuhn [Fri, 2 Oct 1992 07:13:29 +0000 (07:13 +0000)]
use canonical triple

32 years agoregularize formatting
David D. Zuhn [Fri, 2 Oct 1992 06:55:20 +0000 (06:55 +0000)]
regularize formatting

32 years agoRs6000 native support.
K. Richard Pixley [Fri, 2 Oct 1992 05:50:17 +0000 (05:50 +0000)]
Rs6000 native support.

* infptrace.c: remove #ifdef USG from around include ptrace.h.
  machines without this header should not be compiling this file.
* nm-rs6000.h, rs6000-nat.c: new files for native support.
* rs6000-tdep.c: do not include sys/ptrace.h or sys/reg.h.
* rs6000-xdep.c: removed.  all code now in rs6000-nat.c.
* xm-rs6000.h: do not include ptrace.h.
  (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to nm-rs6000.h.
* config/rs6000.mh (XDEPFILES): removed rs6000-xdep.o.
  infptrace.o and inftarg.o move to NATDEPFIES.
  (NAT_FILE, NATDEPFILES): new macro for native support.

32 years agouse *-*-* instead nested cases
David D. Zuhn [Fri, 2 Oct 1992 01:00:21 +0000 (01:00 +0000)]
use *-*-* instead nested cases

32 years agoavoid compiler warnings
David D. Zuhn [Fri, 2 Oct 1992 00:52:49 +0000 (00:52 +0000)]
avoid compiler warnings

32 years agoSun3 native support.
K. Richard Pixley [Thu, 1 Oct 1992 22:44:25 +0000 (22:44 +0000)]
Sun3 native support.

* config/sun3os3.mh, config/sun3os4.mh (NAT_FILE, NATDEPFILES):
  new macros for native support.
  (XDEPFILES): moved infptrace.o and inftarg.o to NATDEPFILES,
  removed sun3-xdep.o.
* xm-sun3.h (ATTACH_DETACH, FETCH_INFERIOR_REGISTERS): moved to
  nm-sun3.h.
* sun3-xdep.c: removed.  All code is now in sun3-nat.c.
* sun3-nat.c, nm-sun3.h: new files for native support.

32 years ago * dwarfread.c (dbsize): New variable to hold size of dwarf info.
Fred Fish [Thu, 1 Oct 1992 17:33:21 +0000 (17:33 +0000)]
* dwarfread.c (dbsize):  New variable to hold size of dwarf info.
* dwarfread.c (dwarf_build_psymtabs):  Rename dbsize parameter to
dbfsize and use it to initialize new local file scope dbsize.
* dwarfread.c (read_ofile_symtab):  Initialize dbsize and use it.
* dwarfread.c (basicdieinfo):  Use dbsize to check for oversize
DIEs as well as the current check for undersize DIEs.  This helps
to gracefully detect and reject corrupted DIE information.

32 years agoAdd `command hooks' and a hook for inferior program stopping.
John Gilmore [Thu, 1 Oct 1992 10:00:47 +0000 (10:00 +0000)]
Add `command hooks' and a hook for inferior program stopping.