Rob Savoye [Thu, 20 Jan 1994 23:47:09 +0000 (23:47 +0000)]
* gas/all/gas.exp, lib/gas-defs.exp, sun4/addend.exp,
sparc-solaris/addend.exp: Tweaked to fix a few bugs and to run
well under either version of expect
Ken Raeburn [Wed, 19 Jan 1994 23:52:47 +0000 (23:52 +0000)]
(alpha_howto_table): Construct 64-bit negative one values in case of
compilation on a 32-bit machine. Fix pcrel fields of some reloc types.
(alpha_bfd_reloc_type_lookup): Handle more relocation types.
Jim Kingdon [Wed, 19 Jan 1994 21:14:40 +0000 (21:14 +0000)]
* infrun.c (wait_for_inferior): Don't set frame for
step_resume_breakpoint for IN_SIGTRAMP cases.
* infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what),
breakpoint.c (bpstat_what): Move step_resume from its own field of
the struct bpstat_what into the main_action. Make it override
other breakpoints. This is a conservative change in the sense
that before the step resume breakpoint was a breakpoint.c
breakpoint, hitting the step resume breakpoint overrode even
calling bpstat_stop_status.
Peter Schauer [Wed, 19 Jan 1994 20:45:30 +0000 (20:45 +0000)]
* infrun.c (normal_stop): Set stop_pc after popping the dummy frame
in case execution was stopped in the called function.
* stack.c (print_frame_info, frame_info): If backtracing through
a call dummy, handle the starting source line number on a line
boundary like backtracing through sigtramp.
* sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address
for call dummy frame right. Remove old test for dummy frame,
it has been unused at least since gdb-3.5.
* sparc-tdep.c (sparc_push_dummy_frame): Set return address register
of the dummy frame.
Ian Lance Taylor [Tue, 18 Jan 1994 22:27:26 +0000 (22:27 +0000)]
* config/obj-aout.c (obj_aout_frob_symbol): Try to get symbols
with explicitly marked stabs through BFD: if a symbol marked
N_UNDF | N_EXT is in the absolute section, move it to the
undefined section; move a symbol marked N_INDR into
bfd_ind_section and set the BSF_INDIRECT flag.
Ian Lance Taylor [Tue, 18 Jan 1994 21:46:46 +0000 (21:46 +0000)]
* aoutx.h (aout_link_add_symbols): Increment sym_hash as well as p
for an indirect or warning symbol.
(aout_link_write_symbols): Update sym_hash with the target of an
indirect symbol. If an indirect symbol is defined, output the
calculated value and don't output the target symbol.
Ken Raeburn [Tue, 18 Jan 1994 05:24:14 +0000 (05:24 +0000)]
* Makefile.in: Replace all occurrances of "rootme" with "r" and "$${rootme}"
with "$$r", to increase the likelihood that the do-* commands (plus user
environment) will fit SCO limits.
Jim Kingdon [Tue, 18 Jan 1994 04:29:34 +0000 (04:29 +0000)]
* ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON.
* inflow.c (terminal_ours_1): When discussing how to deal with the
tty state, make note of query() as well as readline.
Jeff Law [Tue, 18 Jan 1994 04:08:30 +0000 (04:08 +0000)]
* gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
in the copr tests now.
* gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
copr in the fpu_misc tests anymore. fpu_misc tests are no longer
expected to fail.
Jeff Law [Tue, 18 Jan 1994 04:04:36 +0000 (04:04 +0000)]
* config/pa/tm-hppa.h (unwind_table_entry): Use one of the
reserved fields to hold a stub unwind entry type. Fix typo.
(stub_unwind_entry): New structure for raw stub unwind entries.
(stub_unwind_types): The types of stubs we may encounter.
(UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines.
* hppa-tdep.c (rp_saved): Use additional information provided
by linker stub unwind descriptors.
(frameless_function_invocation): Likewise.
(frame_chain_valid): Likewise.
* paread.c (compare_unwind_entries): New function for sorting
unwind table entries.
(read_unwind_info): Rewrite to remove dependency on host endianness.
Read in data from the $UNWIND_END$ subspace which contains linker
stub unwind descriptors. Merge that data into the basic unwind
table.
Jim Kingdon [Tue, 18 Jan 1994 03:42:30 +0000 (03:42 +0000)]
* xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name
from either the symbol name or the auxent.
* coffread.c, symfile.h (coff_getfilename): Renamed from getfilename,
no longer static.
* objdump.c (stab_name): Allocate dynamically.
(stab_print): Use pointers to strings instead of char arrays.
(dump_stabs): Change alloc and init of arrays appropriately.
(dump_stabs_1): Always decide whether to print stab_name or
the stab's type number, if unnamed.
Per Bothner [Sun, 16 Jan 1994 03:39:57 +0000 (03:39 +0000)]
Merge in changes from bash-1.13. The most obvious one is
that the file readline.c has been split into multiple files.
* bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c: New files.
Per Bothner [Sun, 16 Jan 1994 03:35:19 +0000 (03:35 +0000)]
* main.c (show_commands): Make return type of extern
history_get be HIST_ENTRY, rather than struct _hist_entry.
(The latter loses with the upcoming merged readline.)
* mpw-build.in: New file, top-level build script fragment for MPW.
* mpw-configure: New file, configure script for MPW.
* mpw-config.in: New file, config fragment for MPW.
Jim Kingdon [Sat, 15 Jan 1994 19:51:56 +0000 (19:51 +0000)]
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.
Jim Kingdon [Sat, 15 Jan 1994 17:14:18 +0000 (17:14 +0000)]
* c-exp.y (parse_number): Check for overflow regardless of range
checking. Fix overflow check to use unsigned LONGEST, not
unsigned int.
* c-exp.y (parse_number): Make it so that integer constants are
builtin_type_long_long if builtin_type_long isn't big enough or if
an "LL" suffix is used. Properly handle "UL" or "LU" suffixes.