external/binutils.git
31 years agoz8kgen: temp file to generate z8k-opc.h from
Steve Chamberlain [Thu, 24 Sep 1992 20:28:14 +0000 (20:28 +0000)]
z8kgen: temp file to generate z8k-opc.h from

z8k-dis.c: fixed various bugs

31 years ago* listing.c (debugging_pseudo): Add stabs and stabn as things to ignore.
Brendan Kehoe [Thu, 24 Sep 1992 19:43:45 +0000 (19:43 +0000)]
* listing.c (debugging_pseudo): Add stabs and stabn as things to ignore.

31 years ago* m68k-tdep.c (m68k_saved_pc_after_call): Use 'GDB_TARGET_IS_SUN3'
Stu Grossman [Wed, 23 Sep 1992 18:19:19 +0000 (18:19 +0000)]
* m68k-tdep.c (m68k_saved_pc_after_call):  Use 'GDB_TARGET_IS_SUN3'
instead of 'sun' predefined symbol so that trap analysis code is
enabled only when the TARGET is a sun3.

31 years agofix repeated ext_format_i960 local decls so sun4 cc accepts it
Ken Raeburn [Tue, 22 Sep 1992 22:02:54 +0000 (22:02 +0000)]
fix repeated ext_format_i960 local decls so sun4 cc accepts it

31 years agofix repeated ext_format_i960 local decls so sun4 cc accepts it
Ken Raeburn [Tue, 22 Sep 1992 21:55:21 +0000 (21:55 +0000)]
fix repeated ext_format_i960 local decls so sun4 cc accepts it

31 years agoTue Sep 22 13:02:07 1992 Sean Eric Fagan (sef@cygnus.com)
Sean Eric Fagan [Tue, 22 Sep 1992 20:07:55 +0000 (20:07 +0000)]
Tue Sep 22 13:02:07 1992  Sean Eric Fagan  (sef@cygnus.com)

* obj-coffbfd.c (do_relocs_for,fill_section): now allocate all
sections starting from zero, rather than making them consecutive.
This makes subsequent reloc calculations easier, esp if the
object format doesn't understand addends. (obj_coff_lcomm): (maybe
temporarily) allocate lcomm in .data rather than in .bss.  It
seems that some tools can't cope with a non-zero sized bss
before linkage.

31 years agocpu32 and -mno-688?1 support from p3
Ken Raeburn [Tue, 22 Sep 1992 19:24:33 +0000 (19:24 +0000)]
cpu32 and -mno-688?1 support from p3

31 years agocpu32 and -mno-688?1 support from p3
Ken Raeburn [Tue, 22 Sep 1992 19:19:02 +0000 (19:19 +0000)]
cpu32 and -mno-688?1 support from p3

31 years agoRoll bask the WRS change, since it had already been applied, and the
Ian Lance Taylor [Tue, 22 Sep 1992 15:32:03 +0000 (15:32 +0000)]
Roll bask the WRS change, since it had already been applied, and the
reversed patch they sent blew my mind.

31 years ago* mips-pinsn.c (print_insn_arg, case 'B'): Disassemble `break'
John Gilmore [Tue, 22 Sep 1992 07:46:14 +0000 (07:46 +0000)]
* mips-pinsn.c (print_insn_arg, case 'B'):  Disassemble `break'
instruction's argument.  Patch from jonathan@cs.stanford.edu
(Jonathan Stone).

31 years agoDescribe coding style of GDB.
John Gilmore [Tue, 22 Sep 1992 07:34:45 +0000 (07:34 +0000)]
Describe coding style of GDB.

31 years agoBreak the thread of control that implies that a unix child
John Gilmore [Tue, 22 Sep 1992 07:23:35 +0000 (07:23 +0000)]
Break the thread of control that implies that a unix child
process will be the default target.

* target.c (find_default_run_target, find_default_attach,
find_default_create_inferior, return_zero):  new functions.
(cleanup_target):  Make return_zero the default for to_can_run.

* exec.c (exec_ops), core.c (core_ops):  Replace child_attach and
child_create_inferior references with find_default_XXX instead.

* target.h (struct target_ops): new field, to_can_run.
(find_default_attach, find_default_create_inferior):  new prototypes.
(target_can_run): new macro.

* Also added a zero (default) to_can_run element to all static
struct target_ops initializations throughout GDB, except:
* inftarg.c (child_ops): Use new child_can_run() to enable child runs.

* infrun.c (child_create_inferior):  Clean up error handling when
no exec file is specified.
(child_attach):  Don't require exec file.

31 years agoRemove kill_inferior_fast, in favor of target_kill, which goes
John Gilmore [Tue, 22 Sep 1992 05:23:57 +0000 (05:23 +0000)]
Remove kill_inferior_fast, in favor of target_kill, which goes
through the target vector.

* inferior.h (kill_inferior_fast): remove declaration.

* main.c (disconnect): call quit_cover using catch_errors rather
than calling kill_inferior_fast directly.  New way goes through
the target vector, handles attached processes, and writes
command history if appropriate.
(quit_cover): new function, wrapper for quit_command.

* convex-xdep.c, go32-xdep.c, hppabsd-xdep.c, hppahpux-xdep.c,
infptrace.c, procfs.c:  Removed all instances of kill_inferior_fast,
inlining them into the local kill_inferior when needed.

31 years ago* infrun.c (_initialize_infrun): Alias `i handle' == `i signals'.
John Gilmore [Tue, 22 Sep 1992 02:33:11 +0000 (02:33 +0000)]
* infrun.c (_initialize_infrun):  Alias `i handle' == `i signals'.
* stabsread.c (read_struct_type): Simplify complicated expression
for dumb DECstation compiler.

31 years agoMinor wording changes.
John Gilmore [Tue, 22 Sep 1992 02:32:39 +0000 (02:32 +0000)]
Minor wording changes.

31 years agoMinor wording changes.
John Gilmore [Tue, 22 Sep 1992 02:26:50 +0000 (02:26 +0000)]
Minor wording changes.

31 years agoPatches from WRS:
Ian Lance Taylor [Mon, 21 Sep 1992 22:36:04 +0000 (22:36 +0000)]
Patches from WRS:

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

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

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

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

* tc-m68k.c (m68k_ip): fixed move16 operand handling, from WRS.

31 years agoPatches from WRS:
Ian Lance Taylor [Mon, 21 Sep 1992 22:30:36 +0000 (22:30 +0000)]
Patches from WRS:

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

* mh-irix4: put in patches from WRS.

31 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.

31 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.

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

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

31 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.

31 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.

31 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.

31 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.

31 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.

31 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.

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

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

31 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.

31 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.

31 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.

31 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.

31 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.

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

31 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.

31 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

31 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.

31 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.

31 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.

31 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!

31 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.

31 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.

31 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.

31 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.

31 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.

31 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

31 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.

31 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.)

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

31 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.

31 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.

31 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...

31 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.

31 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.

31 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.

31 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.

31 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.

31 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.

31 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.

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

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

31 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...

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

31 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.

31 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.

31 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.

31 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!

31 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().

31 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.

31 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).

31 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.

31 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.

31 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.

31 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.

31 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.

31 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

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

31 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.

31 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.

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

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

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

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

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

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

31 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.

31 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.

31 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.

31 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.

31 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.

31 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.

31 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

31 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

31 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__.

31 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.

31 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.

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