Commit Graph

8785 Commits

Author SHA1 Message Date
Jim Kingdon d4a0983ab0 * xcoffread.c (read_xcoff_symtab): complain() not abort().
* xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes
	a completely gratuitous difference between xcoffread.c and coffread.c).
1994-01-20 22:38:03 +00:00
Ken Raeburn 7691379e7f * expr.c (operand): For floating point operand with unusual fp char from
FLT_CHARS, preserve the character.  Patch from Lisa Repka.
1994-01-20 18:26:17 +00:00
Ian Lance Taylor eb8fd0e9b4 * config/tc-mips.c (md_pseudo_table): Add all data allocation
pseudo-ops: .hword, .int, .long, .octa, .quad, .short, .single.
1994-01-20 04:18:14 +00:00
Ken Raeburn 7e7fb4a834 updated with alpha changes 1994-01-20 00:07:58 +00:00
Ken Raeburn 693f8191ed (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.
1994-01-19 23:52:47 +00:00
Ken Raeburn 563eb766b1 (enum bfd_reloc_code_real): Add some Alpha relocation types. Reorganized some
of the existing ones.
1994-01-19 23:51:41 +00:00
Ken Raeburn 5802eb8f93 (sprintf_vma, fprintf_vma): New macros.
(uint64_typeHIGH, uint64_typeLOW): Comment with HOST_64_BIT so they get copied
to bfd.h.
1994-01-19 22:35:48 +00:00
Ken Raeburn d110544cd0 (uint64_typeHIGH, uint64_typeLOW): Supply default definitions when not defined,
regardless of whether uint64_type is a defined macro or not.

(fprintf_vma, sprintf_vma): Define only if fprintf_vma is not already defined.
1994-01-19 22:32:32 +00:00
David MacKenzie 8de26d624e * ld.texinfo: Clarify what -T option does. 1994-01-19 21:58:31 +00:00
Jim Kingdon d7e7e85159 * 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.
1994-01-19 21:14:40 +00:00
Peter Schauer a3435c0e23 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
versions prior to 1.13.5.
1994-01-19 20:46:28 +00:00
Peter Schauer f1de67d323 * 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.
1994-01-19 20:45:30 +00:00
David MacKenzie 59502c19ad * stabs.texinfo (Non-Stab Symbol Types): Mention N_SET* | N_EXT. 1994-01-19 14:43:04 +00:00
Ian Lance Taylor d7e34f67be * aoutx.h (translate_to_native_sym_flags): Set the type of a
BSF_WARNING symbol to N_WARNING.
1994-01-19 05:05:27 +00:00
Ian Lance Taylor 13655af625 Smuggle N_WARNING symbols into BFD in obj_aout_frob_symbol. 1994-01-19 05:02:24 +00:00
Ian Lance Taylor 3a5b50f457 Resolve warning symbols like indirect symbols. 1994-01-19 04:48:37 +00:00
Jim Kingdon 77918505b5 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
the prompt is at the start of a line.
1994-01-19 01:14:11 +00:00
Steve Chamberlain d9420fc11c Get implicit val . right. 1994-01-19 00:26:59 +00:00
Steve Chamberlain a843c81763 * scripttempl/m88kbcs.sc: Don't use CREATE_OBJECT_SYMBOLS, that's
for a.out.
1994-01-19 00:21:59 +00:00
Jeff Law 2f156c92bd * config/tc-hppa.c: Disable multiple $CODE$ subspace code. It
confuses GDB for some unknown reason.
        * cofnig/obj-som.c: Likewise.
1994-01-19 00:21:16 +00:00
Steve Chamberlain ec0bcbbaa1 * config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
C_FCN assume .val has been set to .
1994-01-19 00:16:03 +00:00
Ken Raeburn 19302e449a * literal.c (add_to_literal_pool): Handle duplicates of values already written
to literal pool.
1994-01-19 00:08:50 +00:00
Ian Lance Taylor 4bda835f61 * 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.
1994-01-18 22:27:26 +00:00
Ian Lance Taylor 53155af199 * 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.
1994-01-18 21:46:46 +00:00
Jim Kingdon c6e0f918e2 * infcmd.c (signal_command): Accept 0 as legitimate signal number. 1994-01-18 21:20:28 +00:00
Ian Lance Taylor d4366f97ef Comment fix. 1994-01-18 20:51:15 +00:00
Jim Kingdon db4340a625 * infrun.c (signals_info), target.c (target_signal_from_name):
Use ugly casts to avoid enumvar < enumvar or enumvar++.
1994-01-18 19:13:38 +00:00
David MacKenzie 0c205af2c5 * aoutx.h (translate_from_native_sym_flags): Give warning symbols
an (unused) nonzero section value, needed for check below.
1994-01-18 12:05:32 +00:00
Ken Raeburn 5cc730861d * 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.
1994-01-18 05:24:14 +00:00
Jim Kingdon d881dd869f * 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.
1994-01-18 04:29:34 +00:00
Jeff Law 7a68f30a32 * hppa.h: More minor template fixes for sfu and copr (to allow
for easier disassembly).
1994-01-18 04:16:35 +00:00
Jim Kingdon 4d4f2d50c8 * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of
signals for which stop and print are cleared by default.
1994-01-18 04:14:34 +00:00
Jeff Law 46ee83a0b8 * 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.
1994-01-18 04:08:30 +00:00
Jeff Law f037e5b0a4 * hppa-dis.c (print_insn_hppa): Handle 'N' in assembler template.
No space before 'u', 'f', or 'N'.
1994-01-18 04:06:52 +00:00
Jeff Law c7f3b703a3 * 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.
1994-01-18 04:04:36 +00:00
Jeff Law 5c38fcee3f * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions. 1994-01-18 04:02:06 +00:00
Jim Kingdon af8b790667 * 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.
1994-01-18 03:42:30 +00:00
Jim Kingdon 80edc7cb3c Write ChangeLog entries for Rob changes.
Revert Rob changes which consisted of un-doing (accidentally,
presumably) the changes which have happened since 4.12 branched off.

In lib/gdb.exp remove the comment which went with the "catch" which
Rob removed.
1994-01-18 03:29:53 +00:00
Rob Savoye 002cc99ff6 Apply patches from gdb 4.12 testing. 1994-01-17 23:28:29 +00:00
Rob Savoye 0ab6de2336 Add patches from gdb 4.12 testing. 1994-01-17 23:27:07 +00:00
David MacKenzie 964affdcf8 * aoutx.h (translate_from_native_sym_flags,
aout_link_add_symbols): Treat N_SET[ABDT] | N_EXT like
	N_SET[ABDT].
1994-01-17 23:21:07 +00:00
Stan Shebs fe2750e101 Mon Jan 17 13:57:25 1994 Stan Shebs (shebs@andros.cygnus.com)
* 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.
1994-01-17 22:03:42 +00:00
Ken Raeburn 446918c82c * binutils.all/objdump.exp: Trim list of format names expected, and accept any
known CPU type.
1994-01-17 21:58:53 +00:00
Fred Fish 0e7da49c55 * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h. 1994-01-17 21:36:29 +00:00
Ian Lance Taylor 17ed84edb5 * ecoff.h (ecoff_set_gp_prolog_size): Declare.
* ecoff.c (ecoff_set_gp_prolog_size): Return type is void.
1994-01-17 20:44:33 +00:00
Ian Lance Taylor 04cb3372f3 Comment and whitespace changes. 1994-01-17 20:39:26 +00:00
Ken Raeburn 52767e8731 * readline.c (doing_an_undo): Delete second declaration, since it confuses the
alpha-osf1 native compiler.
1994-01-17 17:45:27 +00:00
Peter Schauer b90811f914 * README: Update notes for alpha port. 1994-01-17 17:18:18 +00:00
Jim Kingdon 24a11a7998 * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL
for operation fault, constraint fault, and type fault.
1994-01-17 16:18:17 +00:00
Jeff Law 51517966bc * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'
and 'f' template operand.
1994-01-17 09:30:07 +00:00