external/binutils.git
31 years ago fix for pr 3571
Steve Chamberlain [Mon, 11 Oct 1993 23:48:55 +0000 (23:48 +0000)]
fix for pr 3571
* config/tc-h8300.c (get_specific): Special action if 8 bit
address seen. (check_operand): Don't complain if truncating top
bits of an 8 bit address.  (build_bytes): Allow an immediate and
an absolute in the same insn.

31 years ago * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
Jim Kingdon [Mon, 11 Oct 1993 22:39:54 +0000 (22:39 +0000)]
* m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
various things to try to get this to work.

31 years ago * write.c (write_contents): Don't crash if seginfo is NULL.
Ian Lance Taylor [Mon, 11 Oct 1993 21:40:10 +0000 (21:40 +0000)]
* write.c (write_contents): Don't crash if seginfo is NULL.

* config/obj-ecoff.c (ecoff_frob_file): Write out register masks
by modifying .reginfo section, not by directly modifying BFD
backend data.

31 years ago * ecoff.c (ecoff_mkobject): Check bfd_make_section return value.
Ian Lance Taylor [Mon, 11 Oct 1993 21:38:38 +0000 (21:38 +0000)]
* ecoff.c (ecoff_mkobject): Check bfd_make_section return value.
(ecoff_mkobject_hook): New function.
(ecoff_new_section_hook, ecoff_sizeof_headers,
ecoff_compute_section_file_positions, ecoff_set_section_contents,
ecoff_write_object_contents): Handle dummy REGINFO section.
(ecoff_get_section_contents): New function to handle reading
REGINFO section.
* libecoff.h (ecoff_get_section_contents): Change from macro
definition to function prototype.
(ecoff_mkobject_hook): New prototype.
* coff-alpha.c (alpha_ecoff_mkobject_hook): Removed.
(alpha_ecoff_backend_data): Use ecoff_mkobject_hook.
* coff-mips.c (mips_ecoff_mkobject_hook): Removed.
(mips_ecoff_backend_data): Use ecoff_mkobject_hook.

31 years agoRevert last change. Dumb idea...
Fred Fish [Mon, 11 Oct 1993 21:20:44 +0000 (21:20 +0000)]
Revert last change.  Dumb idea...

31 years agoAdd release-info to Things-to-lose list.
Fred Fish [Mon, 11 Oct 1993 21:19:15 +0000 (21:19 +0000)]
Add release-info to Things-to-lose list.

31 years ago * ecoff.h (REGINFO, struct ecoff_reginfo): Define.
Ian Lance Taylor [Mon, 11 Oct 1993 21:17:50 +0000 (21:17 +0000)]
* ecoff.h (REGINFO, struct ecoff_reginfo): Define.

31 years agoremove extern time() decl
David D. Zuhn [Mon, 11 Oct 1993 21:12:37 +0000 (21:12 +0000)]
remove extern time() decl

31 years ago * messages.c (as_fatal): Do mention that it's the assembler that
Ken Raeburn [Mon, 11 Oct 1993 20:17:28 +0000 (20:17 +0000)]
* messages.c (as_fatal): Do mention that it's the assembler that
got the fatal error.

31 years ago* symtab.h: Fix comments re headers, sharing blockvectors, etc.
Jim Kingdon [Mon, 11 Oct 1993 19:33:57 +0000 (19:33 +0000)]
* symtab.h: Fix comments re headers, sharing blockvectors, etc.

31 years agoupdate REMOTE_O for i960-vxworks to make it compile again
David D. Zuhn [Mon, 11 Oct 1993 18:49:22 +0000 (18:49 +0000)]
update REMOTE_O for i960-vxworks to make it compile again

31 years ago * mipsread.c (parse_partial_symbols): Do not add undefined
Peter Schauer [Mon, 11 Oct 1993 16:25:43 +0000 (16:25 +0000)]
* mipsread.c (parse_partial_symbols):  Do not add undefined
symbols to the partial symbol table.

31 years ago * alpha-tdep.c (init_extra_frame_info): Remove kludge for gcc,
Peter Schauer [Mon, 11 Oct 1993 09:55:41 +0000 (09:55 +0000)]
* alpha-tdep.c (init_extra_frame_info):  Remove kludge for gcc,
gcc has to be compatible with the native tools.
* alpha-tdep.c (alpha_push_arguments):  Rename NUM_ARG_REGS to
ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
* config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS):  Change it to the
way the native tools define it, update comment.

31 years ago * inflow.c: Remove unused includes of sys/param.h and sys/types.h.
Jim Kingdon [Sat, 9 Oct 1993 00:00:56 +0000 (00:00 +0000)]
* inflow.c: Remove unused includes of sys/param.h and sys/types.h.

* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
terminal.h, fork-child.c, main.c, utils.c: Move all the process
group stuff back to inflow.c and terminal.h; that's a better place
for it and fixes problems with trying to get/set the process group
of a tty we're doing remote debugging on.
* terminal.h: Skip the redefines and includes if HAVE_TERMIOS.

31 years ago * osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
Fred Fish [Fri, 8 Oct 1993 23:04:45 +0000 (23:04 +0000)]
* osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
xcoffsolib.h:  Use 'abfd' for bfd variables instead of 'bfd'.
Sun cc doesn't like variable names that match their typedef'd type.

31 years ago * libbfd.c (bfd_get*32, bfd_get*64): Prevent ANSI sign extension
Peter Schauer [Fri, 8 Oct 1993 22:27:53 +0000 (22:27 +0000)]
* libbfd.c (bfd_get*32, bfd_get*64):  Prevent ANSI sign extension
by casting the most significant byte to bfd_vma.

31 years ago * inflow.c: Remove unused includes of sys/param.h, etc.
Jim Kingdon [Fri, 8 Oct 1993 22:18:27 +0000 (22:18 +0000)]
* inflow.c: Remove unused includes of sys/param.h, etc.

* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
terminal.h: Move all the process group stuff back to inflow.c;
that's a better place for it and fixes problems with trying to get/set
the process group of a tty we're doing remote debugging on.
* terminal.h: Skip the redefine crap if HAVE_TERMIOS.

31 years agoconfigure.in: Put {start,end}-sanitize-for-fsf around code that removes some
Ken Raeburn [Fri, 8 Oct 1993 21:27:13 +0000 (21:27 +0000)]
configure.in: Put {start,end}-sanitize-for-fsf around code that removes some
programs based on host or target; this silent failure to configure isn't
appropriate for the separate one-tool releases FSF puts out.

.Sanitize: Remove that code if "for-fsf" is on command line; remove just the
markers if it isn't.

31 years ago* config.sub: Accept linux*coff and linux*elf as operating systems.
Ken Raeburn [Fri, 8 Oct 1993 21:17:43 +0000 (21:17 +0000)]
* config.sub: Accept linux*coff and linux*elf as operating systems.

31 years ago * findvar.c, value.h (symbol_read_needs_frame): New function.
Jim Kingdon [Fri, 8 Oct 1993 20:33:22 +0000 (20:33 +0000)]
* findvar.c, value.h (symbol_read_needs_frame): New function.
* c-exp.y, m2-exp.y: Call it instead of having our own switch on
the symbol's class.
* valops.c (value_of_variable): Use symbol_read_needs_frame to
decide whether we care about finding a frame.

31 years ago * config/tc-mips.c (mips_gprmask, mips_cprmask): New variables to
Ian Lance Taylor [Fri, 8 Oct 1993 20:01:10 +0000 (20:01 +0000)]
* config/tc-mips.c (mips_gprmask, mips_cprmask): New variables to
hold register masks.
(md_begin): Initialize them to zero.
(append_insn): Update mips_gprmask and mips_cprmask.  Also add
register variables pinfo and prev_pinfo.
* config/tc-mips.h (mips_gprmask, mips_cprmask): Declare.
* config/obj-ecoff.c (ecoff_frob_file): If TC_MIPS, set gprmask
and cprmask from mips_gprmask and mips_cprmask.

31 years ago * config/tc-mips.h: Define TARGET_FORMAT if OBJ_ELF.
Ian Lance Taylor [Fri, 8 Oct 1993 18:24:41 +0000 (18:24 +0000)]
* config/tc-mips.h: Define TARGET_FORMAT if OBJ_ELF.
* config/tc-mips.c (GPOPT): Define if OBJ_ECOFF or OBJ_ELF.
(various): Change all references to GP references to apply if
GPOPT, not if OBJ_ECOFF.
(s_change_sec): Rearrange somewhat.  If OBJ_ELF, use .rodata
instead of .rdata.  If OBJ_ELF, set section flags for .rodata and
.sdata sections.
(s_frame, s_loc, s_mask): Comment out entire functions, rather
than just body.  They're not used anyhow.
* configure.in: Set cpu_type to mips for mips*.  Accept
mips-*-elfl* and mips-*-elf*.

31 years agoUse both h8300 emulations.
Steve Chamberlain [Fri, 8 Oct 1993 17:45:23 +0000 (17:45 +0000)]
Use both h8300 emulations.

31 years agoThu Oct 7 18:36:29 1993 Michael Meissner (meissner@osf.org)
Ian Lance Taylor [Fri, 8 Oct 1993 17:15:03 +0000 (17:15 +0000)]
Thu Oct  7 18:36:29 1993  Michael Meissner  (meissner@osf.org)

* config/obj-elf.c (obj_elf_common): Allow the alignment field to
not be specified.

31 years ago * remote.c (remote_wait): Use strtoul for parsing 'N' message.
Jim Kingdon [Fri, 8 Oct 1993 16:51:14 +0000 (16:51 +0000)]
* remote.c (remote_wait):  Use strtoul for parsing 'N' message.
Add code to relocate symfile_objfile->sections.

31 years ago * blockframe.c (get_frame_block): Do not adjust pc if the frame
Peter Schauer [Fri, 8 Oct 1993 09:54:32 +0000 (09:54 +0000)]
* blockframe.c (get_frame_block):  Do not adjust pc if the frame
function was interrupted by a signal.

31 years ago * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
Peter Schauer [Fri, 8 Oct 1993 09:43:36 +0000 (09:43 +0000)]
* alpha-opc.h:  Add ldl_l, fix typo for ldq_u.
* alpha-dis.c (print_insn_alpha):  Add code for PAL_FORMAT_CODE.

31 years ago * configure.in: Do not define SELECT_VECS, SELECT_ARCHITECTURES
Peter Schauer [Fri, 8 Oct 1993 09:42:42 +0000 (09:42 +0000)]
* configure.in:  Do not define SELECT_VECS, SELECT_ARCHITECTURES
if configuring --with-targets=all.

31 years ago * config/h8300/tm-h8300.h: Don't define sr_get_debug.
Jim Kingdon [Fri, 8 Oct 1993 00:37:19 +0000 (00:37 +0000)]
* config/h8300/tm-h8300.h: Don't define sr_get_debug.
* remote-sim.c: Include remote-utils.h.
* target.h: Add comment about target_has_execution.

31 years ago * compile.c (sim_set_pc): Write to the pc direcly.
Steve Chamberlain [Thu, 7 Oct 1993 23:25:14 +0000 (23:25 +0000)]
* compile.c (sim_set_pc): Write to the pc direcly.
(sim_store_register): Now value is passed by reference. (sim_read,
sim_write): Return number of bytes copied.

31 years agodefine sr_get_debug.
Steve Chamberlain [Thu, 7 Oct 1993 23:22:00 +0000 (23:22 +0000)]
define sr_get_debug.

31 years ago * h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
Steve Chamberlain [Thu, 7 Oct 1993 23:21:02 +0000 (23:21 +0000)]
* h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
New functions.
* infrun.c (normal_stop): Don't try and set the pc in the current
frame coredump if there isn't one.
* remote-sim.c (gdbsim_store_register): Don't
SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
(gdbsim_wait): Set status with WSETSTOP.
* config/h8300/tm-h8300.h (sr_get_debug): Define

31 years ago* aoutx.h (howto_table_std): Correct the "size" field in some entries.
Ken Raeburn [Thu, 7 Oct 1993 21:46:12 +0000 (21:46 +0000)]
* aoutx.h (howto_table_std): Correct the "size" field in some entries.

* reloc.c (reloc_howto_type): Change documentation to dispel any
notion that the "size" field is a power-of-two indicator.

31 years ago * gdb.texinfo (Signaling): Update for symbolic symbol names
Jim Kingdon [Thu, 7 Oct 1993 21:33:37 +0000 (21:33 +0000)]
* gdb.texinfo (Signaling): Update for symbolic symbol names
and add a section explaining the difference between the GDB
signal command and the shell kill utility.

31 years ago New Mach stuff:
Jim Kingdon [Thu, 7 Oct 1993 20:13:08 +0000 (20:13 +0000)]
New Mach stuff:
* config/i386/i386mach.c: Explain this is for the old (probably
non-functional and/or obsolete) Mach stuff.
* m3-nat.c, config/nm-m3.h,
i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
New files.

31 years agonew for mach
Jim Kingdon [Thu, 7 Oct 1993 19:48:20 +0000 (19:48 +0000)]
new for mach

31 years agonew for mach3 (really native not host)
Jim Kingdon [Thu, 7 Oct 1993 19:28:38 +0000 (19:28 +0000)]
new for mach3 (really native not host)

31 years ago * coffswap.h: (bfd_swap_reloc_in): a symndx is signed.
Steve Chamberlain [Thu, 7 Oct 1993 19:24:22 +0000 (19:24 +0000)]
   * coffswap.h: (bfd_swap_reloc_in): a symndx is signed.

31 years ago Make support for relaxing more generic.
Steve Chamberlain [Thu, 7 Oct 1993 19:21:54 +0000 (19:21 +0000)]
Make support for relaxing more generic.
* reloc16.c: Add new target entry - bfd_coff_reloc16_estimate,
fix bit rot.
* libcoff.h, libcoff-in.h: declarations. Prototypes
* coffcode.h (bfd_coff_std_swap_table): Add calls to
coff_reloc_16_extra_cases and coff_reloc16_estimate.
(dummy_reloc16_estimate): New function.
* coff-h8300.c (h8300_reloc16_estimate): New function

31 years ago * blockframe.c (find_pc_partial_function): If we call
Jim Kingdon [Thu, 7 Oct 1993 18:40:39 +0000 (18:40 +0000)]
* blockframe.c (find_pc_partial_function): If we call
PSYMTAB_TO_SYMTAB, call target_terminal_ours_for_output first.
This is needed now that wait_for_inferior passes in endaddr.
* infrun.c: Move call to target_terminal_inferior from proceed
to resume.

31 years agoelfcode.h (EALIGN): Define, dependent on ARCH_SIZE.
Ken Raeburn [Thu, 7 Oct 1993 18:34:59 +0000 (18:34 +0000)]
elfcode.h (EALIGN): Define, dependent on ARCH_SIZE.
(align_file_position): New function.
(elf_locate_sh): Disabled function deleted.
(assign_file_positions_for_symtab_and_strtabs): Align position, then place
symtab, then do other sections.
(map_program_segments): Align program header.
(assign_file_positions_except_relocs): Align section headers.
(assign_file_positions_for_relocs): Align relocation sections.

Fixes ld/3584.

31 years agoremoved two deleted files (thanks Fred)
Ken Raeburn [Thu, 7 Oct 1993 18:22:21 +0000 (18:22 +0000)]
removed two deleted files (thanks Fred)

31 years agonew for mach
Jim Kingdon [Thu, 7 Oct 1993 18:03:51 +0000 (18:03 +0000)]
new for mach

31 years ago * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
Jim Kingdon [Thu, 7 Oct 1993 17:04:40 +0000 (17:04 +0000)]
* gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
relevant because ^C doesn't get sent but failure can be reproduced
interactively).

31 years ago* blockframe.c (find_pc_partial_function): Fix handling for PCs
Stu Grossman [Thu, 7 Oct 1993 16:42:08 +0000 (16:42 +0000)]
* blockframe.c (find_pc_partial_function):  Fix handling for PCs
beyond the end of the last function in an objfile.
* coff-solib.c (coff_solib_add):  Use BFD to get fields from .lib
section.
* infrun.c (wait_for_inferior):  Modify test for subroutine entry
to include pc out of bounds of the previous function.
* remote.c (remote_wait):  Use strtoul for parsing 'N' message.
Add code to relocate symfile_objfile->sections.

31 years ago * config/sparc/sun4os4.mh: Add comment saying why we don't use
Jim Kingdon [Thu, 7 Oct 1993 11:28:51 +0000 (11:28 +0000)]
* config/sparc/sun4os4.mh: Add comment saying why we don't use
-lresolv.

31 years ago * breakpoint.c, breakpoint.h (breakpoint_init_inferior): New function
Jim Kingdon [Thu, 7 Oct 1993 11:16:35 +0000 (11:16 +0000)]
* breakpoint.c, breakpoint.h (breakpoint_init_inferior):  New function
that clears the `inserted' flag for all breakpoints and deletes
any breakpoints which should go away between runs of programs.
* inflow.c (generic_mourn_inferior), infrun.c (init_wait_for_inferior),
remote-es.c (es1800_load), comments in exec.c and corelow.c:
Use it instead of mark_breakpoints_out.
* breakpoint.c (mark_breakpoints_out):  Update comment, tm-rs6000.h
uses it in a completely different context.
* breakpoint.c (breakpoint_re_set_one):  Add bp_call_dummy case.

31 years ago * Makefile.in (REGEX, REGEX1): Always use our own version of
Jim Kingdon [Thu, 7 Oct 1993 11:03:35 +0000 (11:03 +0000)]
* Makefile.in (REGEX, REGEX1):  Always use our own version of
regex.c to be consistent across hosts.
* source.c (_initialize_source):  Initialize regex to use grep
style syntax as an approximation to POSIX basic regex syntax.

31 years ago * hppa-tdep.c (frame_chain): Rework so that it correctly
Jim Kingdon [Wed, 6 Oct 1993 21:48:39 +0000 (21:48 +0000)]
* hppa-tdep.c (frame_chain): Rework so that it correctly
handles boundaries where code with a frame pointer calls code
without a frame pointer.
(dig_fp_from_stack): New function.

31 years ago * configure.in: Remove alpha-dec-osf*, no longer necessary now that
Peter Schauer [Wed, 6 Oct 1993 20:58:14 +0000 (20:58 +0000)]
* configure.in: Remove alpha-dec-osf*, no longer necessary now that
gdb knows how to handle OSF/1 shared libraries.

31 years agominor formatting tweaks
Thomas Lord [Wed, 6 Oct 1993 20:24:03 +0000 (20:24 +0000)]
minor formatting tweaks

31 years ago * hppa-tdep.c (frame_chain): Rework so that it correctly
Jim Kingdon [Wed, 6 Oct 1993 20:17:56 +0000 (20:17 +0000)]
* hppa-tdep.c (frame_chain): Rework so that it correctly
handles boundaries where code with a frame pointer calls code
without a frame pointer.
(dig_fp_from_stack): New function.

31 years ago * config/tc-mips.c (cons_fix_new_mips): New function. Turn
Ian Lance Taylor [Wed, 6 Oct 1993 18:36:20 +0000 (18:36 +0000)]
* config/tc-mips.c (cons_fix_new_mips): New function.  Turn
BFD_RELOC_64 into BFD_RELOC_32.
* config/tc-mips.h (TC_CONS_FIX_NEW): Define.
(cons_fix_new_mips): Declare.

31 years ago* breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.
Jim Kingdon [Wed, 6 Oct 1993 18:01:06 +0000 (18:01 +0000)]
* breakpoint.c (delete_breakpoint): Don't insert a disabled breakpoint.

31 years ago* README: Add Alpha notes from Schauer.
Jim Kingdon [Wed, 6 Oct 1993 17:52:35 +0000 (17:52 +0000)]
* README: Add Alpha notes from Schauer.

31 years ago* README: Add Alpha notes from Schauer.
Jim Kingdon [Wed, 6 Oct 1993 17:48:18 +0000 (17:48 +0000)]
* README: Add Alpha notes from Schauer.

31 years ago Changes to let cons handle bignums like general expressions.
Ian Lance Taylor [Wed, 6 Oct 1993 17:31:31 +0000 (17:31 +0000)]
Changes to let cons handle bignums like general expressions.
* expr.h (expressionS): New field X_unsigned.
* expr.c (operand): Initialize X_unsigned to 1.  Set it to 0 for
unary minus case.
(expr) Fix typo resultP to right if missing operand.  Set
X_unsigned to 1 when building new expression.
* read.c (potable): Make "octa" and "quad" call cons, not
big_cons.
(cons): Handle bignums.  If given an O_constant (small integer) to
fill a big space, turn it into a bignum.
(parse_bitfield_cons): Set X_unsigned field.
(bignum_low, bignum_limit, bignum_high, grow_bignum, big_cons):
Removed.
* read.h (big_cons): Remove prototype.
* symbols.c (resolve_symbol_value): Don't give a warning if a
symbol in expr_section can not be resolved.
(S_SET_VALUE): Clear X_unsigned.
* write.c (write_object_file): If resolve_symbol_value failed on a
symbol we are writing out, give a warning.
* config/tc-h8500.c (parse_reglist): Set X_unsigned.
* config/tc-hppa.c (md_pseudo_table): Change "octa" and "quad" to
call pa_cons, not pa_big_cons.
(pa_big_cons): Remove.
* config/tc-hppa.h (pa_big_cons): Remove declaration.
* config/tc-i960.c (md_pseudo_table): Change "quad" to call cons,
not big_cons.

31 years ago * mips-opc.c: Correct lwu opcode value (book had it wrong).
Ian Lance Taylor [Tue, 5 Oct 1993 21:49:04 +0000 (21:49 +0000)]
* mips-opc.c: Correct lwu opcode value (book had it wrong).

31 years ago * Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
Jim Kingdon [Tue, 5 Oct 1993 21:25:10 +0000 (21:25 +0000)]
* Makefile.in (install, uninstall): Remove $$n.1 stuff; I don't
understand what it is trying to do, but I suspect it's not doing
it.

* config/ns32k/merlin.mh: Add comment about M_INSTALL.
* config/m88k/{delta88.mh,delta88v4.mh}: Remove M_INSTALL and
M_UNINSTALL; it tries to install a non-existent file gdb.z.
* Makefile.in: Remove M_INSTALL stuff; the above were the only uses.

31 years ago * stabsread.c (read_range_type): Remove comment which recommends
Jim Kingdon [Tue, 5 Oct 1993 20:39:49 +0000 (20:39 +0000)]
* stabsread.c (read_range_type): Remove comment which recommends
distinguishing float from complex by the name.

31 years ago * readline.c: Add stuff for HIUX to place where we detect termio
Jim Kingdon [Tue, 5 Oct 1993 20:32:37 +0000 (20:32 +0000)]
* readline.c: Add stuff for HIUX to place where we detect termio
vs. sgtty (ugh, but I don't see a simple better way).

31 years ago Changes to support alpha OSF/1 in native mode.
Peter Schauer [Tue, 5 Oct 1993 19:44:57 +0000 (19:44 +0000)]
Changes to support alpha OSF/1 in native mode.
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
  config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in:  Add new files and dependencies.
* configure.in:  Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.

* defs.h (CORE_ADDR):  Make its type overridable via CORE_ADDR_TYPE,
provide `unsigned int' default.
* breakpoint.c (breakpoint_auto_delete):  Delete only if we really
stopped for the breakpoint.
* stabsread.c, stabsread.h (define_symbol):  Change valu parameter
to a CORE_ADDR.
* stabsread.c (read_range_type):  Handle the case where the lower
bound overflows and the upper doesn't and the range is legal.
* infrun.c (resume):  Do not step a breakpoint instruction if
CANNOT_STEP_BREAKPOINT is defined.

* inferior.h (CALL_DUMMY_LOCATION):  New variant AT_ENTRY_POINT.
Now that we have the bp_call_dummy breakpoint the call dummy code
is no longer needed. PUSH_DUMMY_FRAME, PUSH_ARGUMENTS and
FIX_CALL_DUMMY can be used to set up everything for the dummy.
The breakpoint for the dummy is set at the entry point and thats it.
* blockframe.c (inside_entry_file, inside_entry_func):  Do not stop
backtraces if pc is in the call dummy at the entry point.
* infcmd.c (run_stack_dummy):  Handle AT_ENTRY_POINT case. Use
the expected breakpoint pc when setting up the frame for
set_momentary_breakpoint.
* symfile.c (entry_point_address):  New function for AT_ENTRY_POINT
support.
* valops.c (call_function_by_hand):  Handle AT_ENTRY_POINT case.

31 years ago * gdb.stabs/alpha.mt: New configuration file for alpha.
Peter Schauer [Tue, 5 Oct 1993 19:32:46 +0000 (19:32 +0000)]
* gdb.stabs/alpha.mt:  New configuration file for alpha.
* gdb.stabs/configure.in:  Use it.
* gdb.stabs/ecoff.mt, weird-ecoff.sed:  Change sed script to enable
sharing with alpha.mt, redefine long to word via preprocessor.
* gdb.stabs/weird.def:  Conditionally adapt storage layout of v_comb
for alpha.
* gdb.stabs/weird.exp:  Handle compilation of weird.s by alpha
native cc.
* gdb.t00/teststrategy.exp:  Change expect string so that we
consume the `(xgdb)' from the command echo and from the gdb prompt.
* gdb.t05/expr.exp:  xfail "print unsigned int == (~0)" on the alpha.
gdb currently compares all values as long, so this failure probably
applies to any configuration where LONGEST is bigger than a target int.
* gdb.t08/comp-info.c:  New file to determine if gdbme is compiled
with gcc.
* gdb.t08/Makefile.in, opaque.exp:  Use it. Alpha native cc is unable
to handle opaque pointers, gcc is.
* gdb.t21/gdbme.cc, gdb.t23/gdbme.cc:  operator new takes a size_t
as first argument. Include <sys/types.h> and change all operator
new definitions to use size_t.
* gdb.t21/cplusfuncs.exp:  Handle changes in output for operator new
now that we use size_t.

31 years agokeep mt-hppa
David D. Zuhn [Tue, 5 Oct 1993 19:29:09 +0000 (19:29 +0000)]
keep mt-hppa

31 years ago * alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
Peter Schauer [Tue, 5 Oct 1993 19:25:43 +0000 (19:25 +0000)]
* alpha-nat.c, alpha-tdep.c, config/alpha/alpha-osf1.mt,
  config/alpha/nm-alpha.h, config/alpha/tm-alpha.h, osfsolib.c:
New files.
* Makefile.in:  Add new files and dependencies.
* configure.in:  Add alpha target.
* config/alpha/alpha-osf1.mh (NATDEPFILES):  Add osfsolib.o
* config/alpha/alpha-osf1.mh (MH_CFLAGS):  Remove, we can handle
shared libraries now.
* config/alpha/xm-alpha.h:  Cleanup, get MAKEVA_* defines right.

31 years ago * mh-alphaosf: Remove, no longer necessary now that gdb knows
Peter Schauer [Tue, 5 Oct 1993 19:21:35 +0000 (19:21 +0000)]
* mh-alphaosf: Remove, no longer necessary now that gdb knows
how to handle OSF/1 shared libraries.

31 years ago * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
Jim Kingdon [Tue, 5 Oct 1993 17:51:13 +0000 (17:51 +0000)]
* configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
Change other hppa host entries to use -*- not -hp-.

31 years ago * configure.host: Recognize hppa*-*-hiux* (currently synonym for hpux).
Jim Kingdon [Tue, 5 Oct 1993 17:46:28 +0000 (17:46 +0000)]
* configure.host: Recognize hppa*-*-hiux* (currently synonym for hpux).
Change other hppa entries to use -*- not -hp-.
* config.bfd: Recognize hppa*-*-hiux* (currently synonym for hpux).

31 years ago * configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
Jim Kingdon [Tue, 5 Oct 1993 17:41:05 +0000 (17:41 +0000)]
* configure.in: Recognize hppa*-*-hiux* (currently synonym for hpux).
* config.guess: Recognize Hitachi's HIUX.
* config.sub: Recognize h3050r* and hppahitachi.
Remove redundant cases for hp9k[23]*.

31 years ago * rs6000.h: Change non-ASCII characters in comment to octal
Jim Kingdon [Tue, 5 Oct 1993 16:26:54 +0000 (16:26 +0000)]
* rs6000.h: Change non-ASCII characters in comment to octal
escapes.

31 years ago * coff-rs6000.c, cpu-rs6000.c, rs6000-core.c: Change non-ASCII
Jim Kingdon [Tue, 5 Oct 1993 16:01:49 +0000 (16:01 +0000)]
* coff-rs6000.c, cpu-rs6000.c, rs6000-core.c: Change non-ASCII
characters in comment to octal escapes.

31 years agoAnother forgotten file.
Stan Shebs [Tue, 5 Oct 1993 02:30:37 +0000 (02:30 +0000)]
Another forgotten file.

31 years agoNovell came through with the publicly visible information, so this
Ian Lance Taylor [Mon, 4 Oct 1993 23:29:36 +0000 (23:29 +0000)]
Novell came through with the publicly visible information, so this
file may now be distributed.

* i386-nlmstub.c: New file; debugging stub for i386 NetWare.  Must
be compiled with NetWare header files and turned into an NLM with
nlmconv.

31 years ago * configure.in: default to '--with-gnu-as' and '--with-gnu-ld'
David D. Zuhn [Mon, 4 Oct 1993 23:19:25 +0000 (23:19 +0000)]
* configure.in: default to '--with-gnu-as' and '--with-gnu-ld'
if gas and ld are in the source tree and are in ${configdirs}.
If ${use_gnu_as} or ${use_gnu_ld} are 'no', then don't set the
the --with options (but still pass them down on the command line,
if they were explicitly specified).

* configure: substitute SHELL value in Makefile.in with
${CONFIG_SHELL}

31 years ago* minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.
Jim Kingdon [Mon, 4 Oct 1993 22:01:38 +0000 (22:01 +0000)]
* minsyms.c (lookup_minimal_symbol_by_pc): Don't use mst_abs symbols.

31 years ago * read.c (big_cons): Handle "0" correctly.
Ian Lance Taylor [Mon, 4 Oct 1993 21:13:48 +0000 (21:13 +0000)]
* read.c (big_cons): Handle "0" correctly.

* config/tc-mips.c (md_begin): Set target_big_endian correctly.

31 years agoconfigure.in: Alphabetize list of cpu type alternatives. Enable OS values of
Ken Raeburn [Mon, 4 Oct 1993 20:17:30 +0000 (20:17 +0000)]
configure.in: Alphabetize list of cpu type alternatives.  Enable OS values of
"linux*elf*" and "linux*coff*" to select those formats, with linux emulation.
Don't bother checking for upper- or mixed-case versions of "ose".

31 years agotc-m68k.c change
Ken Raeburn [Mon, 4 Oct 1993 20:10:50 +0000 (20:10 +0000)]
tc-m68k.c change

31 years ago* dbxread.c (process_one_symbol): Make n_opt_found static.
Jim Kingdon [Mon, 4 Oct 1993 19:19:16 +0000 (19:19 +0000)]
* dbxread.c (process_one_symbol): Make n_opt_found static.

31 years ago* libgdb.texinfo: new file. Spec for the gdb library.
Jim Kingdon [Mon, 4 Oct 1993 18:19:43 +0000 (18:19 +0000)]
* libgdb.texinfo: new file.  Spec for the gdb library.

31 years agoAddition of the libgdb spec.
Thomas Lord [Mon, 4 Oct 1993 17:44:52 +0000 (17:44 +0000)]
Addition of the libgdb spec.

31 years ago * Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
Jim Kingdon [Mon, 4 Oct 1993 17:38:17 +0000 (17:38 +0000)]
* Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names.
* Makefile.in, config/i386/i386lynx.mt: Change accordingly.

31 years agoRename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names
Jim Kingdon [Mon, 4 Oct 1993 17:28:19 +0000 (17:28 +0000)]
Rename i386lynx-tdep.c to i386ly-tdep.c for 14 character file names

31 years agochange all to most in comment
Jim Kingdon [Mon, 4 Oct 1993 16:45:11 +0000 (16:45 +0000)]
change all to most in comment

31 years agoMon Oct 4 11:02:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
Jim Kingdon [Mon, 4 Oct 1993 16:43:41 +0000 (16:43 +0000)]
Mon Oct  4 11:02:11 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* values.c (record_latest_value): Fetch lazy values and set VALUE_LVAL
to not_lval.

Sun Oct  3 15:54:51 1993  Stan Shebs  (shebs@rtl.cygnus.com)

* objfiles.h (objfile): New slot sym_stab_info, use by most
stab-reading formats.

31 years agoAdded new slot to objfile struct to be shared by all stab-reading formats.
Stan Shebs [Sun, 3 Oct 1993 23:04:25 +0000 (23:04 +0000)]
Added new slot to objfile struct to be shared by all stab-reading formats.

31 years agoReflect changes in Lynx files.
Stan Shebs [Sun, 3 Oct 1993 22:51:51 +0000 (22:51 +0000)]
Reflect changes in Lynx files.

31 years agoMore additions and changes for Lynx.
Stan Shebs [Sun, 3 Oct 1993 22:15:52 +0000 (22:15 +0000)]
More additions and changes for Lynx.

31 years ago* stabs.texinfo (Include Files): Fix typo (start -> end).
Jim Kingdon [Sun, 3 Oct 1993 20:30:52 +0000 (20:30 +0000)]
* stabs.texinfo (Include Files): Fix typo (start -> end).

31 years ago* config/news-mips.mh, hosts/news-mips.h: New files.
Jim Kingdon [Sun, 3 Oct 1993 05:46:21 +0000 (05:46 +0000)]
* config/news-mips.mh, hosts/news-mips.h: New files.

31 years ago* hppa.h: Add gfw and gfr to the opcode table.
Jim Kingdon [Sun, 3 Oct 1993 03:28:56 +0000 (03:28 +0000)]
* hppa.h: Add gfw and gfr to the opcode table.

31 years ago * Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
Jim Kingdon [Sun, 3 Oct 1993 01:53:35 +0000 (01:53 +0000)]
* Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.

31 years ago * mipsread.c, objfiles.c, utils.c: Use PTR not void *. RISC/OS
Jim Kingdon [Sun, 3 Oct 1993 01:50:53 +0000 (01:50 +0000)]
* mipsread.c, objfiles.c, utils.c: Use PTR not void *.  RISC/OS
4.02 lacks void *.
* elfread.c: Use void * not PTR inside PARAMS.

31 years ago * config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
Jim Kingdon [Sun, 3 Oct 1993 00:39:42 +0000 (00:39 +0000)]
* config/mips/news-mips.mh: Remove coredep.o; mips-nat.o does it.
* config/mips/news-mips.mh: Define NAT_FILE not NM_FILE.
* config/mips/nm-news-mips.h: Include mips/nm-mips.h not nm-mips.h.

31 years ago * config/news-mips.mh, hosts/news-mips.h: New files.
Jim Kingdon [Sun, 3 Oct 1993 00:35:12 +0000 (00:35 +0000)]
* config/news-mips.mh, hosts/news-mips.h: New files.
* configure.host: Use news-mips for mips-sony-bsd*.

31 years agonew for mips corefiles
Jim Kingdon [Sat, 2 Oct 1993 23:55:34 +0000 (23:55 +0000)]
new for mips corefiles

31 years ago* Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
Stu Grossman [Sat, 2 Oct 1993 23:09:51 +0000 (23:09 +0000)]
* Makefile.in, coff-solib.c, coff-solib.h, i386lynx.mt,
tm-i386lynx.h:  Add support for SVR3 COFF shared libraries.

31 years ago * m88k-nat.c (store_inferior_registers): When writing all registers,
Jim Kingdon [Sat, 2 Oct 1993 21:07:50 +0000 (21:07 +0000)]
* m88k-nat.c (store_inferior_registers): When writing all registers,
don't try to write EXIP_REGNUM or ENIP_REGNUM (not needed for this
case, and they cause trouble).

31 years ago * TODO: Don't suggest doing fast watchpoints by stepping a line
Jim Kingdon [Sat, 2 Oct 1993 20:55:34 +0000 (20:55 +0000)]
* TODO: Don't suggest doing fast watchpoints by stepping a line
at a time.  That would be really hairy and still not fast enough.
Do suggest debug registers and page table diddling.

31 years ago * configure.in: i386lynx_coff_vec requires coff-i386lynx.o.
Stan Shebs [Fri, 1 Oct 1993 21:42:59 +0000 (21:42 +0000)]
* configure.in: i386lynx_coff_vec requires coff-i386lynx.o.
* coff-i386lynx.c: New file, defines Lynx target vector and name,
includes coff-i386.c.
* coff-i386.c (i386coff_vec): Allow redefinition of target vector
symbol and name, if TARGET_SYM and/or TARGET_NAME are defined.
* i386lynx.c: Remove coff vector definition entirely.
(lynx_32_swap_ext_reloc_in): Define.
(lynx_32_swap_std_reloc_in): Define, get reloc bits in i386
Lynx-specific way.
(lynx_32_swap_ext_reloc_out): Define.
(lynx_32_swap_std_reloc_out): Define.
(lynx_32_slurp_reloc_table): Define, call Lynx swapping fns.
(lynx_32_squirt_out_relocs): Define, call Lynx swapping fns.
(lynx_32_canonicalize_reloc): Define, call Lynx swapping fns.
(WRITE_HEADERS): Define, call Lynx swapping fns.

* config/i386-lynx.mt (SELECT_VECS): Remove redundant vector.