Commit graph

8202 commits

Author SHA1 Message Date
Mark Eichin
4d1259b118 changelog for build-all.mk semicolon change 1993-11-10 21:58:34 +00:00
Mark Eichin
1900e81550 all-cygnus, build-cygnus: "fi else" needs to be "fi ; else" 1993-11-10 21:56:23 +00:00
Jim Kingdon
71256429ca * dbxread.c (process_one_symbol, N_RBRAC): Don't clear
within_function just because local_symbols is NULL.  It appears
	that this bug has existed since the 10 Apr 89 change which started
	clearing within_function here.
1993-11-10 21:05:38 +00:00
Jim Kingdon
4023311b08 * dbxread.c: Remove BELIEVE_PCC_PROMOTION define. The code which
used this was moved to stabsread.c a long time ago.
1993-11-10 19:42:31 +00:00
Jim Kingdon
56756a5a28 * config/m68k/tm-m68k.h: Clean up CALL_DUMMY comment.
* config/m68k/{tm-hp300bsd.h,tm-hp300hpux.h,tm-m68k-em.h,
	tm-monitor.h,tm-sun3.h,tm-vx68.h}, config/sparc/tm-sparc.h:
	Define BELIEVE_PCC_PROMOTION.
1993-11-10 19:32:22 +00:00
Jim Kingdon
447bc3edeb * dstread.c (dst_sym_fns): Update for flavours.
* symfile.c (find_sym_fns): Add kludge for apollo like for rs/6000.
	* dstread.c (dst_symfile_offsets): Set objfile->num_sections.
1993-11-10 16:31:17 +00:00
Jim Kingdon
89ce0c8f50 gcc -Wall lint:
* thread.c: Include "gdbcmd.h" and <ctype.h>.
	* Makefile.in: Update dependency.
	* thread.c (thread_command): Remove unused variable p.
	* values.c (unpack_double): Use len instead of TYPE_LENGTH (type).
	* valprint.c (print_floating): Correctly check sign bit now that
	we are using unsigned arithmetic.
	* symtab.c (find_pc_line_range): Remove unused variables exact_match,
	ind, and l.
1993-11-10 15:58:48 +00:00
Kung Hsu
27ed24c364 Modified Files:
valarith.c ChangeLog

        * valarith.c (value_x_binop): fix search operator in class bug
        * valarith.c (value_x_unop): fix search operator in class bug
1993-11-10 01:47:09 +00:00
Jim Kingdon
7fb951392a * Makefile.in (init.c): Add udi2go32.o to list of files that we
should not try to search for _initialize_* functions.

	* remote-udi.c (udi_wait): Change UDIGdb_StdoutReady back to
	UDIStdoutReady.  It accidentally got changed on 24 Oct 93 when
	stdout was changed to gdb_stdout.  Likewise for UDIGetStdout,
	UDIStderrReady, and UDIGetStderr.
1993-11-10 01:34:39 +00:00
Mark Eichin
fb682d6970 don't ever use sh explicitly
for lynxos, set SHELL=/bin/bash
1993-11-09 23:32:04 +00:00
Mark Eichin
c8f1aa31aa add patsubst %-lynxos to subst-from-hell in stamp-[34]stage-compared.
Maybe someday I'll learn enough of gnumake to turn this into something
reasonable...
1993-11-09 22:07:50 +00:00
Thomas Lord
753a74d977 Same as last time (putc_unfiltered) only this time having saved the
modified source before checking it in.
1993-11-09 21:29:50 +00:00
Ian Lance Taylor
346f04146c Entries for several checkins. 1993-11-09 21:28:19 +00:00
Thomas Lord
eb279da1db Fixed too many args to putc_unfiltered. 1993-11-09 21:15:55 +00:00
Ian Lance Taylor
a5ccdad1fc * elfcode.h (elf_object_p): Rather than looking through an array
of architectures, get the ELF EM_xxx code from the backend
	information.  Let the generic ELF target match any EM_xxx code not
	matched by another ELF target.  Call elf_backend_object_p to let
	the backend do more checks and set global information.
	* libelf.h (struct elf_backend_data): Added elf_machine_code and
	elf_backend_object_p fields.
	(struct bfd_elf_arch_map): Removed.
	(bfd_elf_arch_map, bfd_elf_arch_map_size): Don't declare.
	* elf32-target.h, elf64-target.h: Initialize elf_machine_code
	field with ELF_MACHINE_CODE.  Initialize elf_backend_object_p
	field with elf_backend_object_p (if it is defined).
	* elf32-gen.c, elf32-hppa.c, elf32-i386.c, elf32-i860.c,
	elf32-m68k.c, elf32-m88k.c, elf32-mips.c, elf32-sparc.c,
	elf64-gen.c (ELF_MACHINE_CODE): Defined.
	* elf32-mips.c: Include ecoffswap.h to get ECOFF swapping
	routines.
	(mips_elf_object_p): Set the right machine number.
	(mips_elf_ecoff_debug_swap): Defined.
	(elf_backend_object_p): Defined to be mips_elf_object_p.
	(elf_backend_ecoff_debug_swap): Defined to be
	mips_elf_ecoff_debug_swap.
	* elf.c (bfd_elf_arch_map, bfd_elf_arch_map_size): Removed.

	* elf32-mips.c (elf_mips_howto_table): Don't complain on overflow
	for R_MIPS_26.  Correct overflow detection requires matching the
	upper four bits of the destination against the PC.  From Ted Lemon
	<mellon@pepper.ncd.com>.

	* elf32-hppa.c (elf_hppa_reloc_type_lookup): Return type
	should point to const data.
1993-11-09 21:08:58 +00:00
Mark Eichin
e4d7f4c779 * Makefile.in (BASE_FLAGS_TO_PASS): pass SHELL.
(needed for CONFIG_SHELL to actually work)
1993-11-09 20:57:07 +00:00
Ian Lance Taylor
ea5a60a1ea * nlmconv.c (i386_mangle_relocs): Adjust reloc address by
section output_offset.
1993-11-09 20:23:47 +00:00
Stan Shebs
0f5bc78309 Fix a braino 1993-11-09 19:43:51 +00:00
Roland Pesch
c79890ee1a Fixed a few regular typos (@var for @value). 1993-11-09 19:07:05 +00:00
Jim Kingdon
7714a8b593 * utils.c (quit): Also call gdb_flush on standard output and error. 1993-11-09 18:50:22 +00:00
Jim Kingdon
36c848dbaf * .gdbinit: Remove "source /.gdbinit". It causes a spurious error
if /.gdbinit doesn't exist (and I know of no convention of putting
	something in /.gdbinit).
1993-11-09 18:28:04 +00:00
Ian Lance Taylor
95469b0290 * libelf.h: Added some comments.
(struct elf_backend_data): Added elf_backend_ecoff_debug_swap
	field.  Removed unused write_relocs field.
	* elf32-target.h: Adjusted elf_backend_data initialization
	accordingly.
	* elf64-target.h: Corrected elf_backend_data initialization to
	fill in all fields and to set elf_64_p to 1.
1993-11-09 16:33:28 +00:00
Jeff Law
7420b02b8d * Makefile.in (distclean): Delete config-stamp and config.h 1993-11-09 09:57:02 +00:00
Jeff Law
f41f3d72ec * config/tc-hppa.c (evaluate_absolute): Avoid relying on
ANSI-C features.
1993-11-09 09:52:59 +00:00
Jeff Law
48153d49ce * config/tc-hppa.c (pa_type_args): Renamed from pa_export_args.
Accept new argument "is_export".  All callers changed.  When
        processing a .export directive for a function, do not allow
        the user to set the type to "CODE", instead warn and set the
        type to "ENTRY".
1993-11-09 08:51:02 +00:00
Kung Hsu
aa074e84be Modified Files:
cp-valprint.c ChangeLog

        * cp-valprint.c (cp_print_value_fields): change output from <no
        value> to <optimized out or zero length>
1993-11-09 02:22:12 +00:00
Jeffrey Wheat
99c411063e RUNTEST = test for existance of a runtest in the source tree first. 1993-11-09 01:42:17 +00:00
Ian Lance Taylor
7b8106b484 * elfcode.h (bfd_section_from_shdr): Remove duplicate assignment
to filepos in SHT_STRTAB case.
	(assign_file_position_for_section): Set BFD section filepos as
	well as ELF section sh_offset.
1993-11-08 23:33:56 +00:00
Ian Lance Taylor
e2756048da * reloc.c: Use const instead of CONST.
(bfd_perform_relocation): Make variable howto a const pointer.
	* bfd-in2.h, libbfd.h: Rebuilt.
1993-11-08 23:22:49 +00:00
Jim Kingdon
de759c833b * Makefile.in: Remove unused variable GCC. Remove "#CC=cc" line
which doesn't really relate to anything.
1993-11-08 23:18:46 +00:00
Jim Kingdon
058470e1dc * Makefile.in (CC_FOR_TARGET): Test for existence of gcc/xgcc, not
for existence of gcc/Makefile.
1993-11-08 23:12:38 +00:00
Jim Kingdon
3971f61b9c * gdb.t20/gdbme.cc: Add comment about pmi being optimized out. 1993-11-08 22:58:34 +00:00
David D. Zuhn
d5b2cb761e update for datasheet 1993-11-08 21:20:52 +00:00
Jim Kingdon
97f298e851 * inflow.c (terminal_init_inferior), infptrace.c (child_resume):
Add comments about use of Lynx PIDGET and how we will want to
	clean it up.
1993-11-08 18:16:06 +00:00
Jim Kingdon
b857d95635 * stabs.texinfo: Clean up stuff about visibility and virtual
characters.

	* stabs.texinfo (N_M2C): Cite Sun doc.
1993-11-08 17:54:29 +00:00
Jim Kingdon
1dfaef6225 * stabsread.c (read_one_struct_field): Don't give up on unknown
visibility character, just shove it in fip->list->visibility.
	(read_baseclasses): Don't give up on unknown virtual or visibility
	characters, just assume a reasonable default, complain, and keep
	going.
	(attach_fields_to_type): Complain on unrecognized visibility.
	One result of all this is that '9' (VISIBILITY_IGNORE) can be used
	in a stab as well as being something which GDB uses internally.
1993-11-08 17:27:48 +00:00
Ian Lance Taylor
9226253a41 * config/tc-mips.c (mips_ip, printInsn): Handle 'k' (from Ted
Lemon <mellon@pepper.ncd.com>).
	(mips_ip): Permit odd numbered floating point registers if -mips3.
1993-11-08 17:09:18 +00:00
Jim Kingdon
d4e68deccb * stabsread.c: Remove long_kludge_name code (it was already #if 0).
* stabsread.c (read_one_struct_field): Clean up comments to reflect
	Kung's change of 5 Nov 93.
1993-11-08 17:02:08 +00:00
David Edelsohn
71896de836 * configure.in: Remove h8300h, we have multilib now. 1993-11-08 16:00:17 +00:00
David Edelsohn
5308785003 * configure.in: Remove h8300h, we have multilib now. 1993-11-08 15:48:42 +00:00
David Henkel-Wallace
b11b3aceb2 netware target support. 1993-11-08 14:28:46 +00:00
David Henkel-Wallace
2fa6925b12 assert netware, etc 1993-11-08 14:27:46 +00:00
David Henkel-Wallace
5f8a378823 netware target support. 1993-11-08 14:22:06 +00:00
David Henkel-Wallace
b3c0d5d05b netware target support.
Remove redundent unixware target; made it the same as svr4 which is what
config.guess chooses anyway.
1993-11-08 14:21:05 +00:00
David Henkel-Wallace
007455de6e Netware target support 1993-11-08 14:19:26 +00:00
Peter Schauer
ba936a2ef5 * alpha-opc.h, alpha-dis.c (print_insn_alpha): Add
FLOAT_MEMORY_FORMAT_CODE, FLOAT_BRANCH_FORMAT_CODE, correct
	FLOAT_FORMAT_CODE to put out floating point register names.
1993-11-08 07:53:45 +00:00
Peter Schauer
2cacd1e3f6 * symtab.c (decode_line_1, decode_line_2): Do not adjust pc by
FUNCTION_START_OFFSET if funfirstline is not set.
1993-11-08 07:51:23 +00:00
Jeff Law
1d3e88472d * libbfd.c (bfd_put_8): Add parens around reference to "val"
argument.
1993-11-08 04:23:27 +00:00
Jeff Law
513f04711d * First cut at cleaning up PA instruction parsing.
* config/tc-hppa.c (pa_get_absolute_expression): Accept pointer to
	insn structure as an argument, and a pointer to a string.  All
	callers changed.  Always read any field selector here.  Call
	evaluate absolute to get a return value.
	(evaluate_absolute): Addept pointer to insn structure as its
	argument.  All callers changed.
	(INSERT_FIELD_AND_CONTINUE): New macro for inserting a bitfield
	into an instruction and continuing the main pa_ip loop.
	(CHECK_FIELD): New macro for simple range checking of fields.
	(pa_ip): Delete unused variables.  Use INSERT_FIELD_AND_CONTINUE
	and CHECK_FIELD.  All immediate fields now pass through
	pa_get_absolute_expression which will also handle field selectors.
	Delete dead code.  Simplify.
	(md_apply_fix_1): Use CHECK_FIELD to verify any fixes that are
	applied are in range.  Use bfd_put_32 rather than inserting each
	byte of the fixed instrution into the buffer ourselves.
1993-11-07 20:33:18 +00:00
Jeff Law
3e411021cc * write.c (fixup_segment): Delete {SEG,GLOBAL}_DIFF_ALLOWED code,
it was PA specific and is no longer needed (it's now handled
        within the PA backend).
        * config/tc-hppa.h (SEG_DIFF_ALLOWED): Delete definition.
        * config/tc-hppa.c (fix_new_hppa): If the subtract symbol for
        a fixup is $global$ change it to NULL as $global$ is really only
        needed long enough to determine the base type of relocation to use.
1993-11-07 20:08:19 +00:00