binutils-gdb.git
31 years ago* mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.
Jim Kingdon [Fri, 20 Aug 1993 19:26:21 +0000 (19:26 +0000)]
* mips-tdep.c (is_delayed): Use INSN*BRANCH* not ANY_DELAY.

31 years ago * config.bfd (mips-*-elfl*, mips-*-elf*): New targets, using
Ian Lance Taylor [Fri, 20 Aug 1993 19:19:51 +0000 (19:19 +0000)]
* config.bfd (mips-*-elfl*, mips-*-elf*): New targets, using
mipslelf and mipsbelf respectively.
* config/mipslelf.mt, config/mipsbelf.mt: New files.
* elf32-mips.c: Added some reloc information.
* configure.in: Fixed error message.

31 years agominor doc tweaks
Ken Raeburn [Fri, 20 Aug 1993 19:10:58 +0000 (19:10 +0000)]
minor doc tweaks

31 years ago* printcmd.c (MAKEVA_END): Update this version to use "aligner".
Jim Kingdon [Fri, 20 Aug 1993 19:09:12 +0000 (19:09 +0000)]
* printcmd.c (MAKEVA_END): Update this version to use "aligner".

31 years ago * ecoff.c (ECOFF_LONG_SIZE): Removed. Just use constants.
Ian Lance Taylor [Fri, 20 Aug 1993 16:21:45 +0000 (16:21 +0000)]
* ecoff.c (ECOFF_LONG_SIZE): Removed.  Just use constants.

31 years ago * config/tc-mips.c (mips_isa): New static variable.
Ian Lance Taylor [Fri, 20 Aug 1993 15:45:50 +0000 (15:45 +0000)]
* config/tc-mips.c (mips_isa): New static variable.
(md_begin): Initialize mips_isa based on TARGET_CPU.  Don't sanity
check macros.  Set text alignment and GP size here.
(md_assemble): Don't set text alignment and GP size here.
(append_insn): Don't insert NOPs for load delays if mips_isa >= 2.
Use the right mask and shift for WRITE_FPR_T and WRITE_FPR_S.  Add
a NOP after a branch likely.
(mips_emit_delays): Don't insert NOPS for load delays if mips_isa
>= 2.
(macro): Support r6000 and r4000 macros.
(mips_ip): Check insn ISA level against mips_isa before using it.
Added 'x' case for ignored register.
(md_parse_option): Handle -mipsN and -mcpu=XX.

31 years ago * mips-opc.c: Added r6000 and r4000 instructions and macros.
Ian Lance Taylor [Fri, 20 Aug 1993 15:40:51 +0000 (15:40 +0000)]
* mips-opc.c: Added r6000 and r4000 instructions and macros.
Changed hazard information to distinguish between memory load
delays and coprocessor load delays.

31 years ago * mips.h (INSN_*): Changed values. Removed unused definitions.
Ian Lance Taylor [Fri, 20 Aug 1993 15:40:00 +0000 (15:40 +0000)]
* mips.h (INSN_*): Changed values.  Removed unused definitions.
Added INSN_COND_BRANCH_LIKELY, INSN_ISA2 and INSN_ISA3.  Split
INSN_LOAD_DELAY into INSN_LOAD_MEMORY_DELAY and
INSN_LOAD_COPROC_DELAY.  Split INSN_COPROC_DELAY into
INSN_COPROC_MOVE_DELAY and INSN_COPROC_MEMORY_DELAY.
(M_*): Added new values for r6000 and r4000 macros.
(ANY_DELAY): Removed.

31 years agotc-i386, tc-sparc, obj-elf, tc.h changes
Ken Raeburn [Fri, 20 Aug 1993 05:29:56 +0000 (05:29 +0000)]
tc-i386, tc-sparc, obj-elf, tc.h changes

31 years ago* tc-sparc.c (s_local): Function moved and renamed...
Ken Raeburn [Fri, 20 Aug 1993 05:29:24 +0000 (05:29 +0000)]
* tc-sparc.c (s_local): Function moved and renamed...
* obj-elf.c (obj_elf_local): ...to here.
* tc-sparc.c (md_pseudo_table), obj-elf.c (obj_pseudo_table): Move handling of ".local".

31 years ago * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
Peter Schauer [Fri, 20 Aug 1993 05:13:13 +0000 (05:13 +0000)]
* gdb.t15/funcargs.exp:  Allow arguments for main in backtraces
as vax gdb will display them.

31 years ago * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
Peter Schauer [Fri, 20 Aug 1993 05:12:14 +0000 (05:12 +0000)]
* config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION):  Define.
* mipsread.c (parse_symbol, parse_type, cross_ref):  Handle corrupt
file indirect entries with complaints instead of core dumps. Remove
complaint for stTypedef within aggregates.

31 years ago * config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION): Define.
Peter Schauer [Fri, 20 Aug 1993 05:10:48 +0000 (05:10 +0000)]
* config/vax/tm-vax.h (BELIEVE_PCC_PROMOTION):  Define.

31 years ago * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
Jim Kingdon [Fri, 20 Aug 1993 01:10:51 +0000 (01:10 +0000)]
* gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
optimizers.

31 years ago * scope.exp: Change "bad value for localval" messages so each one
Jim Kingdon [Fri, 20 Aug 1993 00:42:19 +0000 (00:42 +0000)]
* scope.exp: Change "bad value for localval" messages so each one
is unique.

31 years agofix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio
David D. Zuhn [Fri, 20 Aug 1993 00:37:33 +0000 (00:37 +0000)]
fix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio

31 years ago * config/unix-gdb.exp (gdb_exit): Move info on this vs.
Jim Kingdon [Thu, 19 Aug 1993 23:57:21 +0000 (23:57 +0000)]
* config/unix-gdb.exp (gdb_exit): Move info on this vs.
lib/gdb.exp (gdb_exit) from ChangeLog to comments.

31 years ago * coffread.c (process_coff_symbol): Ignore tagnames like .0fake.
Jim Kingdon [Thu, 19 Aug 1993 23:33:59 +0000 (23:33 +0000)]
* coffread.c (process_coff_symbol): Ignore tagnames like .0fake.

* coffread.c (coff_read_enum_type): #if 0 out code which changes
enum {FALSE, TRUE} into boolean.

31 years ago* gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
Jim Kingdon [Thu, 19 Aug 1993 23:22:12 +0000 (23:22 +0000)]
* gdb.t06/signals.exp: Skip the whole file with xfail for delta68.

31 years ago * config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
Jim Kingdon [Thu, 19 Aug 1993 23:18:03 +0000 (23:18 +0000)]
* config/m68k/delta68.m{t,h}: Use nm-delta68.h, etc. not
non-existent files nm-delta.h, etc.
* config/m68k/tm-delta68.h: Define CANNOT_STORE_REGISTER.
* delta68-nat.c: Add "[0]" in offsetof argument.
* delta68-nat.c (_initialize_kernel_u_addr): Don't try to set up
nl with initializer, just assign to it.  Check n_scnum field on
return.

31 years ago * Makefile.in (BFD_LIBS, ALL_MACHINES, BFD32_BACKENDS, BFD64_BACKENDS,
David MacKenzie [Thu, 19 Aug 1993 21:07:50 +0000 (21:07 +0000)]
* Makefile.in (BFD_LIBS, ALL_MACHINES, BFD32_BACKENDS, BFD64_BACKENDS,
OPTIONAL_BACKENDS): Alphabetize entries and add a few missing ones.
* archures.c: Alphabetize decls.

31 years agoadd more missing vectors
David MacKenzie [Thu, 19 Aug 1993 19:45:23 +0000 (19:45 +0000)]
add more missing vectors

31 years agotargets.c (target_vector): Remove hp300bsd_vec due to clash with sunos_big_vec.
David MacKenzie [Thu, 19 Aug 1993 19:11:30 +0000 (19:11 +0000)]
targets.c (target_vector): Remove hp300bsd_vec due to clash with sunos_big_vec.

31 years agoThu Aug 19 09:45:51 1993 David J. Mackenzie (djm@thepub.cygnus.com)
David MacKenzie [Thu, 19 Aug 1993 18:21:58 +0000 (18:21 +0000)]
Thu Aug 19 09:45:51 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

* configure.in, targets.c: Add missing vectors to the tables.
* targets.c (target_vector) [!SELECT_VECS]: Add DEFAULT_VECTOR.

31 years ago* tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as BFD_RELOC_NONE.
Ken Raeburn [Thu, 19 Aug 1993 17:45:03 +0000 (17:45 +0000)]
* tc-i386.h (NO_RELOC) [BFD_ASSEMBLER]: Define as BFD_RELOC_NONE.
(md_parse_option): New macro, converted from function.

* tc-i386.c (md_parse_option): Function deleted.
(comment_chars) [OBJ_ELF]: Include "/".
(line_comment_chars) [OBJ_ELF || TE_I386AIX]: Don't include "/".
(md_assemble): Cast 0xe9 to char explicitly, to avoid compiler warning.
(md_assemble, md_estimate_size_before_relax, md_create_long_jump): Call reloc
for fix_new type, or use correct enumerator, instead of always using NO_RELOC.
(i386_operand): Change "ifndef I386COFF" to "ifdef OBJ_AOUT" for
tests for valid section.
(md_convert_frag) [BFD_ASSEMBLER]: Compensate for frag start address.
(md_apply_fix_1) [BFD_ASSEMBLER]: For pc-relative reloc with
symbol, compensate for location of reloc.
(reloc, BFD_RELOC_32, BFD_RELOC_32_PCREL) [!BFD_ASSEMBLER]: Define to return
zero.

31 years agoreflect new changes in matrix
David D. Zuhn [Thu, 19 Aug 1993 02:46:32 +0000 (02:46 +0000)]
reflect new changes in matrix

31 years agokeep i386-linux.h
David D. Zuhn [Wed, 18 Aug 1993 22:54:11 +0000 (22:54 +0000)]
keep i386-linux.h

31 years agoremove rcs cruft
David D. Zuhn [Wed, 18 Aug 1993 22:50:08 +0000 (22:50 +0000)]
remove rcs cruft

31 years ago* defs.h: Try to clarify comment about ADDR_BITS_REMOVE.
Jim Kingdon [Wed, 18 Aug 1993 22:23:45 +0000 (22:23 +0000)]
* defs.h: Try to clarify comment about ADDR_BITS_REMOVE.

31 years agoadd libio
David D. Zuhn [Wed, 18 Aug 1993 21:26:16 +0000 (21:26 +0000)]
add libio

31 years agoobj-elf, write, symbols, read changes
Ken Raeburn [Wed, 18 Aug 1993 21:21:23 +0000 (21:21 +0000)]
obj-elf, write, symbols, read changes

31 years agoUndef NO_RELOC before including aout/aout64.h.
Ken Raeburn [Wed, 18 Aug 1993 21:09:23 +0000 (21:09 +0000)]
Undef NO_RELOC before including aout/aout64.h.
(obj_elf_weak): New function.
(obj_pseudo_table): Handle ".weak".
(obj_elf_section): If section directive includes a string, ignore
it for now.  Accept "progbits" flag.
(obj_elf_type): Accept `@' before flag name.

31 years ago(potable): Treat "string" like "asciz".
Ken Raeburn [Wed, 18 Aug 1993 20:53:03 +0000 (20:53 +0000)]
(potable): Treat "string" like "asciz".

31 years agoupdated to-do list
Ken Raeburn [Wed, 18 Aug 1993 20:45:18 +0000 (20:45 +0000)]
updated to-do list

31 years ago * printcmd.c (print_address), values.c (value_as_pointer): Don't
Jim Kingdon [Wed, 18 Aug 1993 20:31:12 +0000 (20:31 +0000)]
* printcmd.c (print_address), values.c (value_as_pointer): Don't
use ADDR_BITS_REMOVE.

31 years ago * config/tc-mips.c (append_insn): Don't swap branch instructions
Ian Lance Taylor [Wed, 18 Aug 1993 19:45:17 +0000 (19:45 +0000)]
* config/tc-mips.c (append_insn): Don't swap branch instructions
if .set nobopt or .set volatile.
(gp_reference): .lit8 and .lit4 are accessed via the GP register.
(macro): Added cases M_LI_S, M_LI_SS.  Fixed M_LI_D and M_LI_DD.
(mips_ip): Added cases 'F', 'L', 'f', 'l' for floating point.
* config/obj-ecoff.c: Renamed some variables to avoid shadow
warnings.

31 years ago * mips-opc.c: li.d uses "T,L", not "S,F". Added li.s.
Ian Lance Taylor [Wed, 18 Aug 1993 19:40:37 +0000 (19:40 +0000)]
* mips-opc.c: li.d uses "T,L", not "S,F".  Added li.s.

31 years ago * mips.h: Added M_LI_S and M_LI_SS.
Ian Lance Taylor [Wed, 18 Aug 1993 19:39:33 +0000 (19:39 +0000)]
* mips.h: Added M_LI_S and M_LI_SS.

31 years ago * blockframe.c (block_innermost_frame): Uncomment.
Jim Kingdon [Wed, 18 Aug 1993 19:33:39 +0000 (19:33 +0000)]
* blockframe.c (block_innermost_frame): Uncomment.
Return NULL if passed NULL.
* frame.h: Declare it.
* expression.h (union exp_element): Add field block.
* parse.c (write_exp_elt_block): New function.
* expression.h (OP_VAR_VALUE): Now takes additional struct block *.
* *-exp.y: Write block for OP_VAR_VALUE.
* eval.c, expprint.c, parse.c: Deal with block for OP_VAR_VALUE.
* valops.c, value.h (value_of_variable), callers:
Add second argument, for block.

31 years ago * main.c (gdb_readline): If we read some characters followed by EOF,
Jim Kingdon [Wed, 18 Aug 1993 17:10:55 +0000 (17:10 +0000)]
* main.c (gdb_readline): If we read some characters followed by EOF,
return them rather than returning NULL.

31 years ago * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
Jim Kingdon [Wed, 18 Aug 1993 05:10:45 +0000 (05:10 +0000)]
* hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
* hosts/i386mach.h: removed, replaced by i386osf1mk.h.
* config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format.
* Makefile.in, configure.host, config.bfd: Corresponding changes.
* hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.

31 years ago * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as
Jim Kingdon [Wed, 18 Aug 1993 02:33:00 +0000 (02:33 +0000)]
* hppab-nat.c hppah-nat.c infptrace.c (child_resume):  Pass in pid as
argument, instead of using inferior_pid.

31 years ago * Makefile.in: Add support for new libio.
Per Bothner [Wed, 18 Aug 1993 02:04:05 +0000 (02:04 +0000)]
* Makefile.in:  Add support for new libio.

31 years agoNew directory
Per Bothner [Wed, 18 Aug 1993 01:24:15 +0000 (01:24 +0000)]
New directory

31 years ago * hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
Jim Kingdon [Wed, 18 Aug 1993 00:54:48 +0000 (00:54 +0000)]
* hosts/i386{mach3,osf1mk}.h: New files, for Mach hosting.
* hosts/i386mach.h: removed, replaced by i386osf1mk.h.
* config/i386mach3.mt, i386mach3.c: New files, for Mach a.out format.
* Makefile.in, configure.host, config.bfd: Corresponding changes.
* hosts/decstation.h: Include <sys/param.h> not <machine/param.h>.

31 years agoreplaced by i386mach3.h
Jim Kingdon [Tue, 17 Aug 1993 23:11:08 +0000 (23:11 +0000)]
replaced by i386mach3.h

31 years agonew for mach
Jim Kingdon [Tue, 17 Aug 1993 22:50:20 +0000 (22:50 +0000)]
new for mach

31 years ago* mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.
Jim Kingdon [Tue, 17 Aug 1993 22:37:25 +0000 (22:37 +0000)]
* mips-tdep.c: Remove unused #ifndef NUMERIC_REG_NAMES and add comment.

31 years ago * coffgen.c (coff_section_symbol): If section's output_section is
Ian Lance Taylor [Tue, 17 Aug 1993 22:30:24 +0000 (22:30 +0000)]
* coffgen.c (coff_section_symbol): If section's output_section is
not yet set, point to itself.  This is needed because this is
called on the output file, not the input file.

31 years ago * config/m88k/tm-m88k.h: Fix typo in comment.
K. Richard Pixley [Tue, 17 Aug 1993 22:21:50 +0000 (22:21 +0000)]
* config/m88k/tm-m88k.h: Fix typo in comment.
  (FP_REGNUM): define in terms of SP_REGNUM
  rather than by absolute number.  Also clearly comment that this
  is a convenient lie in order to decrease future confusion.
  (ACTUAL_FP_REGNUM): new macro for FP.
  (FRAME_CHAIN_VALID): removed.  Standard default works fine.
* m88k-tdep.c (frame_chain_valid): redundant, so removed.
  (NEXT_PROLOGUE_INSN): removed unused fourth arg, fixed all
  callers.
  (read_next_frame_reg): declare static.
  (examine_prologue): removed unused variabel insn2, rename insn1
  to insn, rewrote comment about finding fp, sp, etc. set frame_fp
  based on ACTUAL_FP_REGNUM rather than FP_REGNUM which is
  actually a scammed alias for SP_REGNUM on m88k.

31 years agofixed typo in comment
K. Richard Pixley [Tue, 17 Aug 1993 22:11:32 +0000 (22:11 +0000)]
fixed typo in comment

31 years ago* stabs.texinfo (Stack Variables): Re-write.
Jim Kingdon [Tue, 17 Aug 1993 21:28:42 +0000 (21:28 +0000)]
* stabs.texinfo (Stack Variables): Re-write.

31 years ago * coff-rs6000.c (dummy_reloc, RTYPE2HOWTO): Set howto field to a
Ian Lance Taylor [Tue, 17 Aug 1993 20:11:39 +0000 (20:11 +0000)]
* coff-rs6000.c (dummy_reloc, RTYPE2HOWTO): Set howto field to a
dummy value, rather than leaving it NULL.

31 years ago * ldlang.c (open_output, lang_check): Check return value of
Ian Lance Taylor [Tue, 17 Aug 1993 19:25:18 +0000 (19:25 +0000)]
* ldlang.c (open_output, lang_check): Check return value of
bfd_set_arch_mach.

31 years ago * archures.c (bfd_default_set_arch_mach): Set bfd_error on
Ian Lance Taylor [Tue, 17 Aug 1993 19:24:21 +0000 (19:24 +0000)]
* archures.c (bfd_default_set_arch_mach): Set bfd_error on
failure.
* aoutx.h (NAME(aout,set_arch_mach)): Check return value of
bfd_default_set_arch_mach.

31 years ago * main.c (cd_command): If current_directory on entry is "/", then
Jim Kingdon [Tue, 17 Aug 1993 18:03:15 +0000 (18:03 +0000)]
* main.c (cd_command): If current_directory on entry is "/", then
don't append an extra slash.
Don't assume that /../.. means /.

31 years ago* 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.
Jim Kingdon [Tue, 17 Aug 1993 17:33:28 +0000 (17:33 +0000)]
* 29k-share/udi/udiphcfg.h: Always include udiphunix.h not udiphdos.h.

31 years ago* complaints.c (complain): fflush (stdout) after output.
Jim Kingdon [Tue, 17 Aug 1993 16:49:11 +0000 (16:49 +0000)]
* complaints.c (complain): fflush (stdout) after output.

31 years agodon't pass cpu to config.bfd
David MacKenzie [Tue, 17 Aug 1993 16:45:41 +0000 (16:45 +0000)]
don't pass cpu to config.bfd

31 years agoTue Aug 17 09:42:16 1993 David J. Mackenzie (djm@thepub.cygnus.com)
David MacKenzie [Tue, 17 Aug 1993 16:43:52 +0000 (16:43 +0000)]
Tue Aug 17 09:42:16 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

* config.bfd (cpu): Extract from canonical name with sed.
* configure.in: Don't pass it.

31 years ago * m88k-dis.c (m88kdis): Make class unsigned.
Ian Lance Taylor [Tue, 17 Aug 1993 16:24:38 +0000 (16:24 +0000)]
* m88k-dis.c (m88kdis): Make class unsigned.

31 years ago * scripttempl/h8500.sc: Start all sections in a different segment.
Steve Chamberlain [Tue, 17 Aug 1993 14:04:24 +0000 (14:04 +0000)]
* scripttempl/h8500.sc: Start all sections in a different segment.
* scripttempl/z8ksim.sc: Handle constructors

31 years ago * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
Peter Schauer [Tue, 17 Aug 1993 08:49:07 +0000 (08:49 +0000)]
* config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
Define to make backtracing through sigtramp work.
* config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):  Ditto.

31 years ago * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
Peter Schauer [Tue, 17 Aug 1993 08:47:25 +0000 (08:47 +0000)]
* blockframe.c, frame.h (sigtramp_saved_pc):  New routine to fetch
the saved pc from sigcontext on the stack for BSD signal handling.
* config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
Define to make backtracing through sigtramp work.
* config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):  Ditto.

31 years ago * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
Jim Kingdon [Tue, 17 Aug 1993 05:07:15 +0000 (05:07 +0000)]
* gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
doesn't exist (due to optimization).

31 years ago * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
Jim Kingdon [Tue, 17 Aug 1993 04:21:55 +0000 (04:21 +0000)]
* gdb.stabs/wierd.exp: Deal with it if echo of "file" command
contains \r because the filename is long.

31 years ago * stabs.texinfo (Stabs-in-elf): Talk about getting the start
Jim Kingdon [Tue, 17 Aug 1993 03:23:50 +0000 (03:23 +0000)]
* stabs.texinfo (Stabs-in-elf): Talk about getting the start
addresses of a source file.  Also revise formatting.
Change "object module" or "object file" to "source file".
Various: Miscellaneous cleanups.

31 years ago * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
Jim Kingdon [Tue, 17 Aug 1993 02:11:23 +0000 (02:11 +0000)]
* gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
'continue'" bug, and change xfail back to i*86-univel-sysv4*.

31 years agouse coffbfd for z8k
David D. Zuhn [Mon, 16 Aug 1993 21:17:04 +0000 (21:17 +0000)]
use coffbfd for z8k

31 years ago * stack.c (frame_info, print_frame_info): Add comment about using
Jim Kingdon [Mon, 16 Aug 1993 18:57:30 +0000 (18:57 +0000)]
* stack.c (frame_info, print_frame_info): Add comment about using
the starting source line number on a line boundary if backtracing
through sigtramp.

31 years ago * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Peter Schauer [Mon, 16 Aug 1993 10:13:22 +0000 (10:13 +0000)]
* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.

31 years ago * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
Peter Schauer [Mon, 16 Aug 1993 10:06:20 +0000 (10:06 +0000)]
* gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
Ultrix.
* gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
int tests.
* gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.

31 years ago * blockframe.c (create_new_frame, get_prev_frame_info):
Peter Schauer [Mon, 16 Aug 1993 10:03:57 +0000 (10:03 +0000)]
* blockframe.c (create_new_frame, get_prev_frame_info):
Use the function name when calling IN_SIGTRAMP.
* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.
* m68k-tdep.c (m68k_find_saved_regs):  Adjust saved sp for fake
sigtramp frames.
* mipsread.c (parse_type):  Handle corrupt TIR info with complaint
instead of core dump.
* mipsread.c (parse_partial_symbols):  Put static symbols into the
mimimal symbol table, use proper mst_types for all minimal symbols.
* stack.c (frame_info, print_frame_info):  Use the starting source
line number on a line boundary if backtracing through sigtramp.

31 years ago * blockframe.c (create_new_frame, get_prev_frame_info):
Peter Schauer [Mon, 16 Aug 1993 09:58:26 +0000 (09:58 +0000)]
* blockframe.c (create_new_frame, get_prev_frame_info):
Use the function name when calling IN_SIGTRAMP.
* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.
* m68k-tdep.c (m68k_find_saved_regs):  Adjust saved sp for fake
sigtramp frames.
* mipsread.c (parse_type):  Handle corrupt TIR info with complaint
instead of core dump.
* mipsread.c (parse_partial_symbols):  Put static symbols into the
mimimal symbol table, use proper mst_types for all minimal symbols.
* stack.c (frame_info, print_frame_info):  Use the starting source
line number on a line boundary if backtracing through sigtramp.

31 years ago * install.sh: If one command fails, don't try the rest. Don't try
Jim Kingdon [Mon, 16 Aug 1993 02:49:53 +0000 (02:49 +0000)]
* install.sh: If one command fails, don't try the rest.  Don't try
to remove $dsttmp (via trap) unless we have already created it.
If $src doesn't exist, detect it and exit with an error.

31 years ago* configure.host: Make sure all OS fields end in *.
Jim Kingdon [Mon, 16 Aug 1993 02:09:54 +0000 (02:09 +0000)]
* configure.host: Make sure all OS fields end in *.

31 years ago* config.guess: Recognize BSD on hp300.
Jim Kingdon [Mon, 16 Aug 1993 01:50:58 +0000 (01:50 +0000)]
* config.guess: Recognize BSD on hp300.

31 years agoupdate targets
David D. Zuhn [Sat, 14 Aug 1993 20:49:12 +0000 (20:49 +0000)]
update targets

31 years agohacking, whacking, and bug fixing.
K. Richard Pixley [Fri, 13 Aug 1993 23:04:45 +0000 (23:04 +0000)]
hacking, whacking, and bug fixing.

31 years ago * Makefile.in (remote-bug.o): new rule.
K. Richard Pixley [Fri, 13 Aug 1993 21:52:10 +0000 (21:52 +0000)]
* Makefile.in (remote-bug.o): new rule.
  (ALLDEPFILES): added remote-bug.c

31 years ago * remote-hms.c (hms_wait): use -1 for timeout's which means block
K. Richard Pixley [Fri, 13 Aug 1993 21:49:51 +0000 (21:49 +0000)]
* remote-hms.c (hms_wait): use -1 for timeout's which means block
  forever rather than 99999.

31 years ago * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
K. Richard Pixley [Fri, 13 Aug 1993 21:48:39 +0000 (21:48 +0000)]
* ser-unix.c (get_tty_state): if a descriptor is not a tty, then
  simply save encode this fact as the process group and return
  success rather than an error.
  (set_tty_state): if process group is -1, do not reset the
  process group.
  (hardwire_reachar): comment change.

31 years agocomment change
K. Richard Pixley [Fri, 13 Aug 1993 21:47:01 +0000 (21:47 +0000)]
comment change

31 years ago * config/m88k/tm-m88k.h: comment change to remove embedded
K. Richard Pixley [Fri, 13 Aug 1993 21:45:31 +0000 (21:45 +0000)]
* config/m88k/tm-m88k.h: comment change to remove embedded
  comment.
  (SKIP_PROLOGUE): skip_prologue returns a value which is expected
  to reset the pc argument.  So reset it.

31 years agoUse BFD to determine what a symbol prefix is, be better about determining
Sean Eric Fagan [Fri, 13 Aug 1993 21:38:41 +0000 (21:38 +0000)]
Use BFD to determine what a symbol prefix is, be better about determining
which symbols to study, and divide by the correct amount.

31 years ago * nlmcode.h (nlm_write_object_contents): procedure offsets are
Ian Lance Taylor [Fri, 13 Aug 1993 20:38:02 +0000 (20:38 +0000)]
* nlmcode.h (nlm_write_object_contents): procedure offsets are
from start of code segment, not start of file.
* config/i386-nlm.mt (DEFAULT_VECTOR): It's nlm32_i386_vec, not
bfd_nlm32_i386_vec.
* configure.in (SELECT_VECS switch): Likewise.

31 years ago * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
Fred Fish [Fri, 13 Aug 1993 17:17:16 +0000 (17:17 +0000)]
* Makefile.in (VERSION):  Bump to 4.10.1 after release and cvs
tagging.

31 years ago * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
Jim Kingdon [Fri, 13 Aug 1993 02:05:47 +0000 (02:05 +0000)]
* gdbserver/Makefile.in: Use GDBSERVER_LIBS and
GDBSERVER_DEPFILES.  Also remove much (but not all that could be
removed) crud inherited from gdb Makefile.in.
* config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
* gdbserver/README: Say it works on Sun and change configuration
instructions slightly.

31 years ago * format.c (bfd_check_format): If the target matches the default
David MacKenzie [Fri, 13 Aug 1993 00:34:19 +0000 (00:34 +0000)]
* format.c (bfd_check_format): If the target matches the default
target, set match_count to 1, to ignore any previous matches.

31 years agoremove mention of nm
David MacKenzie [Fri, 13 Aug 1993 00:11:22 +0000 (00:11 +0000)]
remove mention of nm

31 years ago * Makefile.in ($(NM_PROG)): Depend on demangle.o.
David MacKenzie [Fri, 13 Aug 1993 00:02:25 +0000 (00:02 +0000)]
* Makefile.in ($(NM_PROG)): Depend on demangle.o.
(demangle.o): New target.
(cplus-dem.o): Depend on it, to force compilation order when doing
parallel compiles.

* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
(struct output_fns print_symbol_info): Ditto.
(long_options, usage, main): Add -C --demangle option.
(print_symname): New function, demangling if requested.
(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.

31 years agoadded support for the original "make chech-cdtest"
Jeffrey Wheat [Thu, 12 Aug 1993 23:20:25 +0000 (23:20 +0000)]
added support for the original "make chech-cdtest"

31 years agocleaned up tests to work like they did originally in the makefile
Jeffrey Wheat [Thu, 12 Aug 1993 23:19:09 +0000 (23:19 +0000)]
cleaned up tests to work like they did originally in the makefile

31 years ago * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
Fred Fish [Thu, 12 Aug 1993 22:27:40 +0000 (22:27 +0000)]
* gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
to match does not match the passing case but still matches the
failing case.

31 years agoTipo.
Ian Lance Taylor [Thu, 12 Aug 1993 22:16:07 +0000 (22:16 +0000)]
Tipo.

31 years ago * coff-aplha.alpha.c (alpha_howto_table, alpha_finish_reloc,
Ian Lance Taylor [Thu, 12 Aug 1993 22:15:25 +0000 (22:15 +0000)]
* coff-aplha.alpha.c (alpha_howto_table, alpha_finish_reloc,
alpha_ecoff_swap_reloc_{in,out}, alpha_bfd_reloc_type_lookup):
Read and write Alpha relocs.  Can't process them yet.
* ecoff.c (ecoff_slurp_reloc_table): Recognize new reloc sections.
If the section does not already exist, create it.

31 years ago * alpha.h (struct external_reloc): Add r_symndx field.
Ian Lance Taylor [Thu, 12 Aug 1993 22:14:35 +0000 (22:14 +0000)]
* alpha.h (struct external_reloc): Add r_symndx field.
(RELSZ): Correct.
(RELOC_BITS*): Correct.
(ALPHA_R_*): Define.
* ecoff.h (RELOC_SECTION_{XDATA,PDATA,FINI,LITA,ABS}): Define.
(r_extern): Undefine.
* internal.h (struct internal_reloc): Make r_vaddr bfd_vma rather
than long.  Add r_extern field.

31 years ago* Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
Jim Kingdon [Thu, 12 Aug 1993 22:05:06 +0000 (22:05 +0000)]
* Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.

31 years agokeep config.bfd
David MacKenzie [Thu, 12 Aug 1993 20:30:39 +0000 (20:30 +0000)]
keep config.bfd

31 years ago* stabs.texinfo: Point to mangling info in gcc's gpcompare.texi.
Jim Kingdon [Thu, 12 Aug 1993 20:17:33 +0000 (20:17 +0000)]
* stabs.texinfo: Point to mangling info in gcc's gpcompare.texi.