binutils-gdb.git
32 years agoPatches from WRS:
Ian Lance Taylor [Mon, 21 Sep 1992 22:29:51 +0000 (22:29 +0000)]
Patches from WRS:

Mon Sep 21 14:39:56 1992  Ian Lance Taylor  (ian@cygnus.com)

* m68k-pinsn (print_insn_arg, fetch_arg): added support for
operands to memory management instructions, from WRS.

32 years agoPatches from WRS:
Ian Lance Taylor [Mon, 21 Sep 1992 22:28:42 +0000 (22:28 +0000)]
Patches from WRS:

Mon Sep 21 14:33:58 1992  Ian Lance Taylor  (ian@cygnus.com)

* hosts/hp9000.h, hosts/irix3.h: changes from WRS.

32 years agotense test typo
K. Richard Pixley [Mon, 21 Sep 1992 20:01:00 +0000 (20:01 +0000)]
tense test typo

32 years agofix typo
K. Richard Pixley [Mon, 21 Sep 1992 19:47:39 +0000 (19:47 +0000)]
fix typo

32 years agoMore conditional markup so HMS (Hitachi) can have the configuration
Roland Pesch [Mon, 21 Sep 1992 17:27:34 +0000 (17:27 +0000)]
More conditional markup so HMS (Hitachi) can have the configuration
of their dreams.

32 years ago * configure.in: Use i386-elf for all i386/i486 sysv4 hosts, not
Fred Fish [Sun, 20 Sep 1992 15:50:12 +0000 (15:50 +0000)]
* configure.in:  Use i386-elf for all i386/i486 sysv4 hosts, not
just ncr.

32 years ago * main.c (main): Back out previous language setting changes.
Fred Fish [Sun, 20 Sep 1992 15:45:52 +0000 (15:45 +0000)]
* main.c (main):  Back out previous language setting changes.
Replace with simple default to C before processing any init
files.  There MUST be a language set, even in the absence of
init files or executables, or expression parsing fails.

32 years ago * main.c (main): Move code that sets initial language to
Fred Fish [Sat, 19 Sep 1992 16:55:34 +0000 (16:55 +0000)]
* main.c (main):  Move code that sets initial language to
symfile.c.  Fixup places where command files are processed to
be consistent in setting a default language if none has been
previously set.
* symfile.c (set_initial_language):  Add code moved from
main() that sets an initial default language when a new
symbol file is read.
* symfile.c (symbol_file_command):  Call set_initial_language.
* symtab.c (find_main_psymtab):  Add FIXME comment.

32 years ago* rs6000-tdep.c (push_dummy_frame, pop_dummy_frame): replace
John Gilmore [Sat, 19 Sep 1992 12:08:23 +0000 (12:08 +0000)]
* rs6000-tdep.c (push_dummy_frame, pop_dummy_frame): replace
calls to {fetch|store}_inferior_registers with calls to
target_{fetch|store}_registers, for remote-target independence.

32 years ago* configure.in: removed target_dependent line.
John Gilmore [Sat, 19 Sep 1992 11:55:20 +0000 (11:55 +0000)]
* configure.in: removed target_dependent line.
* remote-mm.c (mm_attach): change printf to error to prevent
fallthrough bug.
* remote-udi.c (udi_attach): change printf to error to prevent
fallthrough bug.

32 years agocomment changes
John Gilmore [Sat, 19 Sep 1992 11:47:19 +0000 (11:47 +0000)]
comment changes

32 years agoLeft out ChangeLog, oops
John Gilmore [Sat, 19 Sep 1992 11:45:20 +0000 (11:45 +0000)]
Left out ChangeLog, oops

32 years ago* Makefile.in: Fix bug I introduced in merging Rich's change.
John Gilmore [Sat, 19 Sep 1992 11:25:52 +0000 (11:25 +0000)]
* Makefile.in:  Fix bug I introduced in merging Rich's change.
* infrun.c (child_create_inferior):  Use proceed() rather than
doing all the same stuff by hand.

32 years ago* Makefile.in, configure.in: add support for files used only when
John Gilmore [Sat, 19 Sep 1992 11:09:01 +0000 (11:09 +0000)]
* Makefile.in, configure.in: add support for files used only when
configured native, that is, when host == target.

32 years ago* tm-sparc.h, xm-sparc.h: externs and macros relating to deferred
John Gilmore [Sat, 19 Sep 1992 10:56:01 +0000 (10:56 +0000)]
* tm-sparc.h, xm-sparc.h: externs and macros relating to deferred
stores are target dependent and were moved from xm to tm.

32 years ago* Makefile.in (gdb-all.texi): Build in objdir, not $srcdir.
John Gilmore [Sat, 19 Sep 1992 10:47:09 +0000 (10:47 +0000)]
* Makefile.in (gdb-all.texi):  Build in objdir, not $srcdir.

32 years ago* config/decstation.mh: Add MMALLOC_LIB and MMALLOC_DISABLE
John Gilmore [Sat, 19 Sep 1992 10:21:04 +0000 (10:21 +0000)]
* config/decstation.mh:  Add MMALLOC_LIB and MMALLOC_DISABLE
overrides, to avoid problem in xdr_bytes with malloc(0) => 0.

32 years agofix typo in install rule
Ken Raeburn [Fri, 18 Sep 1992 21:02:18 +0000 (21:02 +0000)]
fix typo in install rule

32 years agoPatched a couple of minor bugs in UDI support. These have been sent
Ian Lance Taylor [Fri, 18 Sep 1992 19:37:55 +0000 (19:37 +0000)]
Patched a couple of minor bugs in UDI support.  These have been sent
to AMD.

32 years agofix uninitialized pointer when reading relocs
Ken Raeburn [Fri, 18 Sep 1992 16:33:16 +0000 (16:33 +0000)]
fix uninitialized pointer when reading relocs

32 years ago * tc-m68k.c (m68k_ip): An(disp) is not pc relative.
Steve Chamberlain [Fri, 18 Sep 1992 15:03:59 +0000 (15:03 +0000)]
* tc-m68k.c (m68k_ip): An(disp) is not pc relative.

32 years agoRemove convert_{to,from}_virtual members from target structs.
John Gilmore [Fri, 18 Sep 1992 09:56:28 +0000 (09:56 +0000)]
Remove convert_{to,from}_virtual members from target structs.

32 years ago* target.h (struct target_ops): removed to_convert_to_virtual and
John Gilmore [Fri, 18 Sep 1992 09:53:47 +0000 (09:53 +0000)]
* target.h (struct target_ops):  removed to_convert_to_virtual and
to_convert_from_virtual elements.  Initializations removed from
all static initializations.
(target_convert_to_virtual, target_convert_from_virtual):
removed.
(host_convert_to_virtual, host_convert_from_virtual):  Removed
forward declarations.
* target.c (cleanup_target): removed default assignments for
to_convert_to_virtual and to_convert_from_virtual.
* inftarg.c (host_convert_to_virtual, host_convert_from_virtual):
removed.
* findvar.c (value_of_register, value_from_register):
target_convert_to_virtual inlined.
* infcmd.c (do_registers_info):  target_convert_to_virtual inlined.
* valops.c (value_assign):  target_convert_from_virtual inlined.

32 years ago* main.c (gdb_readline): Avoid printf_filtered, which sets char
John Gilmore [Fri, 18 Sep 1992 09:21:44 +0000 (09:21 +0000)]
* main.c (gdb_readline):  Avoid printf_filtered, which sets char
position wrong if used for the prompt.
* utils.c (puts_filtered):  Comment:  NOT a puts() replacement!

32 years agoSupport for accessing arbitrary MIPS stack frames in memory.
John Gilmore [Fri, 18 Sep 1992 09:20:15 +0000 (09:20 +0000)]
Support for accessing arbitrary MIPS stack frames in memory.

* blockframe.c (get_prev_frame_info):  If INIT_FRAME_PC_FIRST is
set, run it before INIT_EXTRA_FRAME_INFO.
* stack.c (frame_info):  If PRINT_EXTRA_FRAME_INFO defined, call it.

* mips-tdep.c (init_extra_frame_info): Only clobber the `frame'
(FP) value in the frame_info struct if it is zero (as from top of
execution stack).
(setup_arbitrary_frame):  Implement FRAME_SPECIFICATION_DYADIC.

* mips-xdep.c (fetch_inferior_registers):  ZERO_REGNUM always
comes back as zero.  So does FP_REGNUM, as a trigger for
init_extra_frame_info.

* tm-mips.h (INIT_FRAME_PC_FIRST):  Kludge, FIXME, defined to get
the program counter set before INIT_EXTRA_FRAME_INFO is run.
(INIT_FRAME_PC):  Defined to null.
(PRINT_EXTRA_FRAME_INFO): print frame pointer location via symtab.
(FRAME_SPECIFICATION_DYADIC):  Ask for two args in frame command.
Briefly explain MIPS stacks in GDB.

32 years ago* Makefile.in (make): Remove obsolete crud.
John Gilmore [Fri, 18 Sep 1992 09:05:54 +0000 (09:05 +0000)]
* Makefile.in (make):  Remove obsolete crud.
(sparc-opc.o):  Avoid Sun Make VPATH bug.

32 years ago* tm-rs6000.h (AIX_BUGGY_PTRACE_CALL): Zap, we think we fixed it.
John Gilmore [Fri, 18 Sep 1992 08:09:25 +0000 (08:09 +0000)]
* tm-rs6000.h (AIX_BUGGY_PTRACE_CALL): Zap, we think we fixed it.
Rich and I believe the "real problem" was that both single_step
and target_resume were issuing PT_CONTINUE calls.  This would
cause the second PT_CONTINUE to sometimes fail because the process
was already running.
* infptrace.c (child_resume):  Remove AIX_BUGGY_PTRACE_CALL kludge.

32 years agoPreliminary cleanup for splitting host/native/target.
John Gilmore [Fri, 18 Sep 1992 07:40:15 +0000 (07:40 +0000)]
Preliminary cleanup for splitting host/native/target.
* infptrace.c (child_resume):  Don't deal with NO_SINGLE_STEP
here; it is dealt with at a gdb-target-independent level.
* rs6000-tdep.c (single_step):  Don't call ptrace, we are a
high toned routine.  Fix return type to void.

32 years agoonly set PWD if it is already set (and likely wrong). from p3.
Mark Eichin [Fri, 18 Sep 1992 07:37:38 +0000 (07:37 +0000)]
only set PWD if it is already set (and likely wrong). from p3.

32 years ago* Makefile.in (update-depend, update-alldeps): Split out of
John Gilmore [Fri, 18 Sep 1992 07:06:38 +0000 (07:06 +0000)]
* Makefile.in (update-depend, update-alldeps): Split out of
setup-to-dist, for convenience in rebuilding the depend and
alldeps.mak files.
(assorted):  Update to catch straggler files when building gdb.tar.Z

32 years agoChanges to make the gdb.tar.Z rule work better.
John Gilmore [Fri, 18 Sep 1992 06:59:58 +0000 (06:59 +0000)]
Changes to make the gdb.tar.Z rule work better.
* Makefile.in (GDB_SUPPORT_DIRS):  Add opcodes.
(DEVO_SUPPORT):  Add configure.texi.
(bfd-ilrt.tar.Z):  Remove ancient rule.

32 years agofrom p3. Some shells leave PWD in the environment (old tcsh, ksh at least)
Mark Eichin [Fri, 18 Sep 1992 06:16:37 +0000 (06:16 +0000)]
from p3. Some shells leave PWD in the environment (old tcsh, ksh at least)
screws nested configures. "unset PWD" is the right answer, except that
Decstation sh doesn't *have* unset.
Note also that the send-pr build will fail if you have PWD in your
environment, because emacs also (foolishly) trusts it.

* configure: just set PWD=`pwd` at the top, since Ultrix sh
doesn't have unset and all success paths (and most error paths)
out set it anyway. (Note: should change all uses of ${PWD=`pwd`}
to just ${PWD} to avoid confusion.)

32 years agoImprove release doc slightly.
John Gilmore [Thu, 17 Sep 1992 11:22:54 +0000 (11:22 +0000)]
Improve release doc slightly.

32 years ago* copying.awk, copying.c (show_copying_command,
John Gilmore [Thu, 17 Sep 1992 11:02:44 +0000 (11:02 +0000)]
* copying.awk, copying.c (show_copying_command,
show_warranty_command):  Rename from copying_info, warranty_info,
to match command function conventions.

32 years ago* utils.c (prompt_for_continue): Reinitialize more-counts
John Gilmore [Thu, 17 Sep 1992 10:58:53 +0000 (10:58 +0000)]
* utils.c (prompt_for_continue):  Reinitialize more-counts
before printing anything, and again afterward.  Fix comments.
(vfprintf_filtered):  Eliminate static buffer; use auto buffer,
or alloca() if needed.

* rs6000-xdep.c:  Use correct conditional (IBM6000_TARGET) to
detect native versus cross-host.

32 years ago* m68k-tdep.c (sun3_saved_pc_after_call): Only do trap check for
Stu Grossman [Thu, 17 Sep 1992 05:01:51 +0000 (05:01 +0000)]
* m68k-tdep.c (sun3_saved_pc_after_call):  Only do trap check for
Suns.  Rename to m68k_saved_pc_after_call.
* tm-68k-noun.h, tm-sun3.h (SAVED_PC_AFTER_CALL):  Use
m68k_saved... instead of sun3_saved...

32 years agoMake as.new depend on LIBS not the never set LIBDEPS, so that we get an
Jim Wilson [Wed, 16 Sep 1992 00:26:24 +0000 (00:26 +0000)]
Make as.new depend on LIBS not the never set LIBDEPS, so that we get an
opcodes directory dependence.

32 years agoUpdate to SPARC V9 draft 1.1. Put brfcx before brfc to avoid superfluous
Jim Wilson [Wed, 16 Sep 1992 00:23:52 +0000 (00:23 +0000)]
Update to SPARC V9 draft 1.1.  Put brfcx before brfc to avoid superfluous
symbol table entries.  Document unimplemented synthetic instructions.

32 years agoTue Sep 15 15:35:38 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Tue, 15 Sep 1992 23:30:30 +0000 (23:30 +0000)]
Tue Sep 15 15:35:38 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (install): if $(tooldir) exists, install ld in
$(tooldir)/bin.

32 years agoChanges to make an installed cross-compiler find everything correctly.
Ian Lance Taylor [Tue, 15 Sep 1992 23:27:10 +0000 (23:27 +0000)]
Changes to make an installed cross-compiler find everything correctly.

Tue Sep 15 15:32:02 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (install): if $(tooldir) exists, install as in
$(tooldir)/bin.

32 years agoChanges to make an installed cross-compiler find everything correctly.
Ian Lance Taylor [Tue, 15 Sep 1992 23:26:41 +0000 (23:26 +0000)]
Changes to make an installed cross-compiler find everything correctly.

Tue Sep 15 15:26:38 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in (install): if $(tooldir) exists, install nm and
strip in $(tooldir)/bin.

32 years agoChanges to make an installed cross-compiler find everything correctly.
Ian Lance Taylor [Tue, 15 Sep 1992 23:26:16 +0000 (23:26 +0000)]
Changes to make an installed cross-compiler find everything correctly.

Tue Sep 15 16:00:54 1992  Ian Lance Taylor  (ian@cygnus.com)

* configure: always set $(tooldir) to $(libdir)/$(target_alias),
even for a native compilation.

32 years agoIn brx macro, check for XCC bit set in xcc insns, and not set in icc insns.
Jim Wilson [Tue, 15 Sep 1992 19:55:26 +0000 (19:55 +0000)]
In brx macro, check for XCC bit set in xcc insns, and not set in icc insns.
In cond macro, do brx before br, to avoid getting extra symbol table entries
due to failed pattern matches.

32 years agoKeep h8.m4 now.
Roland Pesch [Tue, 15 Sep 1992 17:51:14 +0000 (17:51 +0000)]
Keep h8.m4 now.

32 years agoAdd missing utils.c patches.
Stu Grossman [Tue, 15 Sep 1992 09:19:53 +0000 (09:19 +0000)]
Add missing utils.c patches.

32 years agoDon't use prototypes for vfprintf_filtered(). Someday we'll get prototypes of
Stu Grossman [Tue, 15 Sep 1992 08:22:29 +0000 (08:22 +0000)]
Don't use prototypes for vfprintf_filtered().  Someday we'll get prototypes of
varargs routines working...

32 years agoAll new patches for Energize!
Stu Grossman [Tue, 15 Sep 1992 07:28:05 +0000 (07:28 +0000)]
All new patches for Energize!

32 years ago* energize.c (pty_to_kernel): Must check for EAGAIN as
Stu Grossman [Tue, 15 Sep 1992 07:12:52 +0000 (07:12 +0000)]
* energize.c (pty_to_kernel):  Must check for EAGAIN as
termination condition.
(full_filename):  Don't prepend dirname if filename begins with /.
(breakpoint_notify, kernel_dispatch):  Deal with DynamicLoad
messages properly!!
(getpty (NCR)):  Lotsa bug fixes...
(kernel_dispatch (case StopRType)):  Use kill() instead of
killpg() so we can deal with losing systems...
(wait_for_events):  Work around NCR select() lossage.  It doesn't
zero out readfds when select() returns zero.
(energize_initialize):  Use I_SETSIG to get SIGIO interrupts.  Use
getcwd() instead of getwd() (NCR getwd() seg faults).
(energize_wait):  Use sigaction() for NCR.  Their version of signal()
is unreliable by default.

32 years ago* procfs.c (proc_wait): Call print_sys_errmsg() if we get an
Stu Grossman [Tue, 15 Sep 1992 06:42:19 +0000 (06:42 +0000)]
* procfs.c (proc_wait):  Call print_sys_errmsg() if we get an
error from PIOCSWSTOP.

32 years ago* breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c,
Stu Grossman [Tue, 15 Sep 1992 06:27:18 +0000 (06:27 +0000)]
* breakpoint.c, core.c, exec.c, language.c, main.c, printcmd.c,
symfile.c, target.c, valprint.c:  Use _filtered form of *printf.
defs.h, utils.c:  Make vfprintf_filtered global.

32 years agoOops! Retract last change. Didn't mean to pollute things with energize just
Stu Grossman [Tue, 15 Sep 1992 05:11:52 +0000 (05:11 +0000)]
Oops!  Retract last change.  Didn't mean to pollute things with energize just
yet!

32 years ago* utils.c (query): Remove test for energize from top. Now
Stu Grossman [Tue, 15 Sep 1992 05:04:08 +0000 (05:04 +0000)]
* utils.c (query):  Remove test for energize from top.  Now
handled in input_from_terminal_p().

32 years ago* energize.c (send_location): New routine to consolidate all
Stu Grossman [Tue, 15 Sep 1992 04:50:46 +0000 (04:50 +0000)]
* energize.c (send_location):  New routine to consolidate all
places where we must notify kernel of where the given pc is.
(cplus_demangle):  Put single-quotes around demangled names.
(energize_call_command):  Call send_location() after doing up,
down, and frame commands.

32 years agoFix typos and thinkos reported by Sun Ming (and one reported by John).
Roland Pesch [Mon, 14 Sep 1992 18:53:57 +0000 (18:53 +0000)]
Fix typos and thinkos reported by Sun Ming (and one reported by John).

32 years agoSun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 14 Sep 1992 05:25:56 +0000 (05:25 +0000)]
Sun Sep 13 20:29:39 1992  Ian Lance Taylor  (ian@cygnus.com)

* obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD.
obj-coffbfd.c (fixup_segment): check for signed .word overflow if
WARN_SIGNED_OVERFLOW_WORD.

32 years agoSun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 14 Sep 1992 05:25:24 +0000 (05:25 +0000)]
Sun Sep 13 20:30:10 1992  Ian Lance Taylor  (ian@cygnus.com)

* Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
.word is < -32768 or > 32767.  The -J flag causes the error to be
ignored.  This is to catch over-sized switches generated by gcc on
systems which don't support the broken .word hack.
as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
write.c (fixup_segment): check for signed .word overflow if
WARN_SIGNED_OVERFLOW_WORD.

32 years agoSun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 14 Sep 1992 03:34:44 +0000 (03:34 +0000)]
Sun Sep 13 20:29:39 1992  Ian Lance Taylor  (ian@cygnus.com)

* obj-coffbfd.c (fixup_segment): fixed missing parens in
expression checking for byte or word overflow.

32 years agoSun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Mon, 14 Sep 1992 03:34:19 +0000 (03:34 +0000)]
Sun Sep 13 20:30:10 1992  Ian Lance Taylor  (ian@cygnus.com)

* write.c (fixup_segment): fixed missing parens in expression
checking for byte or word overflow.

32 years ago...plus c'est la meme chose.
Roland Pesch [Sat, 12 Sep 1992 05:28:20 +0000 (05:28 +0000)]
...plus c'est la meme chose.

32 years ago * doc/gdb.texinfo, doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: first
Roland Pesch [Sat, 12 Sep 1992 05:27:40 +0000 (05:27 +0000)]
* doc/gdb.texinfo, doc/gdbinv-m.m4.in, doc/gdbinv-s.m4.in: first
pass at doc for two new remote targets---29K using UDI, and Tandem
ST2000 using STDBUG.

* doc/all.m4, doc/none.m4: new m4 switch, _ST2000__

* doc/all.m4: turn on H8/300 stuff for generic manual

32 years ago*** empty log message ***
Roland Pesch [Sat, 12 Sep 1992 01:29:46 +0000 (01:29 +0000)]
*** empty log message ***

32 years agodoc/gdbinv-s.m4.in: remove text on special procedures to continue after
Roland Pesch [Sat, 12 Sep 1992 01:14:57 +0000 (01:14 +0000)]
doc/gdbinv-s.m4.in: remove text on special procedures to continue after
                    explicit call to breakpoint() in serial stubs.

32 years agoFri Sep 11 15:37:06 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Fri, 11 Sep 1992 22:43:53 +0000 (22:43 +0000)]
Fri Sep 11 15:37:06 1992  Ian Lance Taylor  (ian@cygnus.com)

* coffcode.h (coff_renumber_symbols): set the last renumbered
symbol pointer to NULL, as expected by coff_write_linenumbers.
(coff_write_relocs): apparently a non-zero addend is OK for reloc
type R_IHCONST used on the 29k.

32 years agoWhoops, forgot this one
Steve Chamberlain [Fri, 11 Sep 1992 22:02:52 +0000 (22:02 +0000)]
Whoops, forgot this one

32 years agoSanitize slip
Steve Chamberlain [Fri, 11 Sep 1992 20:43:33 +0000 (20:43 +0000)]
Sanitize slip

32 years agoAdd i386coff.sh
Steve Chamberlain [Fri, 11 Sep 1992 17:47:22 +0000 (17:47 +0000)]
Add i386coff.sh

32 years agoNew files
Steve Chamberlain [Fri, 11 Sep 1992 17:47:01 +0000 (17:47 +0000)]
New files

32 years agoSupport for i386-coff
Steve Chamberlain [Fri, 11 Sep 1992 17:25:43 +0000 (17:25 +0000)]
Support for i386-coff

32 years agoSupport for 386 coff
Steve Chamberlain [Fri, 11 Sep 1992 17:23:31 +0000 (17:23 +0000)]
Support for 386 coff

32 years ago* mipsread.c: Clean up some white space.
John Gilmore [Fri, 11 Sep 1992 11:18:30 +0000 (11:18 +0000)]
* mipsread.c:  Clean up some white space.
(parse_symbol):  Handle stEnd of stFile.
(parse_partial_symbols):  Remove old #if 0'd code.  Handle stLocal.

32 years agoImprove doc of GDB config macros.
John Gilmore [Fri, 11 Sep 1992 09:31:19 +0000 (09:31 +0000)]
Improve doc of GDB config macros.

32 years ago* xm-mips.h (KERNEL_U_ADDR): Get from <machine/param.h>.
John Gilmore [Fri, 11 Sep 1992 09:11:11 +0000 (09:11 +0000)]
* xm-mips.h (KERNEL_U_ADDR):  Get from <machine/param.h>.
(REGISTER_U_ADDR):  Fix up for Ultrix 4.2.
* tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR):  Move macro to xm-tahoe.h.
* stack.c (_initialize_stack):  "dow" should be a valid abbreviation
for "down".  Suggested by Richard Stallman.

32 years ago* mips-xdep.c (REGISTER_PTRACE_ADDR, fetch_inferior_registers,
John Gilmore [Fri, 11 Sep 1992 09:08:28 +0000 (09:08 +0000)]
* mips-xdep.c (REGISTER_PTRACE_ADDR, fetch_inferior_registers,
store_inferior_registers):  Replace unexplained numbers
with manifest constants from a DECstation header file.
* xm-mips.h (KERNEL_U_ADDR):  Get from <machine/param.h>.
(REGISTER_U_ADDR):  Fix up for Ultrix 4.2.

* tm-tahoe.h, xm-tahoe.h (KERNEL_U_ADDR):  Move macro to xm-tahoe.h.

* stack.c (_initialize_stack):  "dow" should be a valid abbreviation
for "down".  Suggested by Richard Stallman.

32 years agoThu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 10 Sep 1992 22:45:45 +0000 (22:45 +0000)]
Thu Sep 10 10:43:19 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: added -I for newlib/targ-include to XTRAFLAGS, to
pick up the machine and system specific header files.

32 years ago* opncls.c (bfd_fdopenr): Determine whether to fdopen for
John Gilmore [Thu, 10 Sep 1992 20:31:10 +0000 (20:31 +0000)]
* opncls.c (bfd_fdopenr):  Determine whether to fdopen for
update, based on how the underlying file was opened.  Obsoletes
FASCIST_FDOPEN.
* hosts/rs6000.h, hosts/tahoe.h, hosts/vaxbsd.h:  Remove
all FASCIST_FDOPEN config defines.

32 years agofrom p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h
Ken Raeburn [Thu, 10 Sep 1992 19:56:45 +0000 (19:56 +0000)]
from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h

32 years agofrom p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h
Ken Raeburn [Thu, 10 Sep 1992 19:48:53 +0000 (19:48 +0000)]
from p3: remote-vx.c: hide name realloc for inclusion of rpc/rpc.h

32 years ago* i386-stub.c, sparc-stub.c (getpacket): Actually check checksums.
John Gilmore [Thu, 10 Sep 1992 19:18:05 +0000 (19:18 +0000)]
* i386-stub.c, sparc-stub.c (getpacket):  Actually check checksums.
* m68k-stub.c:  Remove a few extraneous ANSI-isms.
* remote-nindy.c (nindy_prepare_to_store):  Only fetch regs if
they aren't already there.
* remote-vx.c (vx_prepare_to_store):  Ditto.
* xcoffread.c:  Surround forward struct defns with #ifdef __STDC__.

32 years agoThu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 10 Sep 1992 18:04:50 +0000 (18:04 +0000)]
Thu Sep 10 10:43:19 1992  Ian Lance Taylor  (ian@cygnus.com)

* configure.in, config.sub: added new target m68010-adobe-scout,
with alias of adobe68k.  Changed configure.in to check for
-scout before -sco* to avoid a false match.

32 years agoThu Sep 10 10:43:19 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 10 Sep 1992 17:45:18 +0000 (17:45 +0000)]
Thu Sep 10 10:43:19 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: added AS_FOR_TARGET, passed down in
TARGET_FLAGS_TO_PASS.  Added CC_FOR_BUILD, which is intended to be
the C compiler to use to create programs which are run in the
build environment, set it to default to $(CC), and passed it down
in FLAGS_TO_PASS and TARGET_FLAGS_TO_PASS.

32 years agoRemove typo
Steve Chamberlain [Thu, 10 Sep 1992 17:23:25 +0000 (17:23 +0000)]
Remove typo

32 years agoRemove sparc-opc.c
Steve Chamberlain [Thu, 10 Sep 1992 17:22:33 +0000 (17:22 +0000)]
Remove sparc-opc.c

32 years agoSpecial stuff to strip v9 out of sparc-opc.c
Steve Chamberlain [Thu, 10 Sep 1992 17:20:10 +0000 (17:20 +0000)]
Special stuff to strip v9 out of sparc-opc.c

32 years agoAdd sparc-opc.c
Steve Chamberlain [Thu, 10 Sep 1992 16:34:29 +0000 (16:34 +0000)]
Add sparc-opc.c

32 years agoThu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Thu, 10 Sep 1992 16:25:31 +0000 (16:25 +0000)]
Thu Sep 10 09:23:15 1992  Ian Lance Taylor  (ian@cygnus.com)

* input-scrub.c (input_scrub_push): call input_file_begin, not
input_scrub_begin.
messages.c (as_perror): print ": " between the passed in error and
the strerror, like perror does.

32 years agoRemoved a large number of changes inserted by Per Bothner
John Gilmore [Thu, 10 Sep 1992 00:17:23 +0000 (00:17 +0000)]
Removed a large number of changes inserted by Per Bothner
for C++ support.  These will go back in when they've been
examined.

32 years agoRemoved a large number of changes inserted by Per Bothner
John Gilmore [Thu, 10 Sep 1992 00:07:06 +0000 (00:07 +0000)]
Removed a large number of changes inserted by Per Bothner
for C++ support.  These will go back in when they've been
examined.

32 years agoWed Sep 9 12:21:42 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 9 Sep 1992 19:24:23 +0000 (19:24 +0000)]
Wed Sep  9 12:21:42 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: added TARGET_FLAGS_TO_PASS, CC_FOR_TARGET,
AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET.  Pass
TARGET_FLAGS_TO_PASS, which defines CC, AR, RANLIB and NM as the
FOR_TARGET variants, to newlib and libg++.

32 years agoBrought in from p3. If anybody knows good numbers for m68k COFF,
Ian Lance Taylor [Wed, 9 Sep 1992 18:59:30 +0000 (18:59 +0000)]
Brought in from p3.  If anybody knows good numbers for m68k COFF,
please let me know, or plug them in yourself.

Wed Sep  9 11:52:58 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
added m68k-coff emulation mode, stolen from a29k emulation.
Almost certainly wrong, but perhaps better than sun3.

32 years agoBrought in from p3. If anybody knows good numbers for m68k COFF,
Ian Lance Taylor [Wed, 9 Sep 1992 18:59:11 +0000 (18:59 +0000)]
Brought in from p3.  If anybody knows good numbers for m68k COFF,
please let me know, or plug them in yourself.

Wed Sep  9 11:52:58 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in, m68kcoff.sh, m68kcoff.sc-sh, config/m68k-coff.mt:
added m68k-coff emulation mode, stolen from a29k emulation.
Almost certainly wrong, but perhaps better than sun3.

Also fixed an error message in configure.in so that it started with
'***' like the other error messages do.

32 years agoWed Sep 9 11:25:28 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 9 Sep 1992 18:38:50 +0000 (18:38 +0000)]
Wed Sep  9 11:25:28 1992  Ian Lance Taylor  (ian@cygnus.com)

* m68k.h: merged Motorola and MIT syntax.

32 years agoWed Sep 9 11:10:24 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 9 Sep 1992 18:38:16 +0000 (18:38 +0000)]
Wed Sep  9 11:10:24 1992  Ian Lance Taylor  (ian@cygnus.com)

* tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
 Motorola and MIT syntax; gas can now assemble either type of
 file.
tc-m68kmote.c, tc-m68kmote.h: removed now superfluous files.
From Steve Chamberlain:
m68kcoff.mt: for m68k COFF.
obj-coffbfd.c: (fixup_mdeps) added
 (size_section) removed bad sanity check
 (fill_section) added rs_machine_dependent case
 (write_object_file) call fixup_mdeps
 (fixup_segment) set fx_subsy to 0.
obj-coffbfd.h: define WORKING_DOT_WORD (too hard to support) and
 handle m68k.
tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala
 pseudo ops.

32 years agoWed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
Ian Lance Taylor [Wed, 9 Sep 1992 18:37:27 +0000 (18:37 +0000)]
Wed Sep  9 11:06:25 1992  Ian Lance Taylor  (ian@cygnus.com)

* Makefile.in: use gas_target instead of modifying target_cpu.
From Steve Chamberlain:
Makefile.in: Handle m68*-*-coff*.
read.c, read.h: add mult argument to s_space

32 years ago* serial.h: Fix prototye for serial_raw().
Stu Grossman [Wed, 9 Sep 1992 04:09:56 +0000 (04:09 +0000)]
* serial.h:  Fix prototye for serial_raw().
* ser-bsd.c, ser-termios.c:  Fix args for serial_open() &
serial_write() to match prototypes.
* remote-st2000.c (get_reg_name):  Make *p be const.

32 years agobuild opcodes before gas or gdb
Ken Raeburn [Wed, 9 Sep 1992 03:15:37 +0000 (03:15 +0000)]
build opcodes before gas or gdb

32 years agomove out sparc-opc.c
Ken Raeburn [Wed, 9 Sep 1992 01:48:41 +0000 (01:48 +0000)]
move out sparc-opc.c

32 years agoinclude opcode library
Ken Raeburn [Wed, 9 Sep 1992 01:27:27 +0000 (01:27 +0000)]
include opcode library

32 years agoaccidentally used out-of-date version
Ken Raeburn [Wed, 9 Sep 1992 01:18:47 +0000 (01:18 +0000)]
accidentally used out-of-date version

32 years agoremove subdir_do and references
K. Richard Pixley [Wed, 9 Sep 1992 00:30:25 +0000 (00:30 +0000)]
remove subdir_do and references

32 years agoSwitch to ser-bsd.c.
Stu Grossman [Tue, 8 Sep 1992 23:06:06 +0000 (23:06 +0000)]
Switch to ser-bsd.c.