Commit Graph

30854 Commits

Author SHA1 Message Date
Corinna Vinschen a2bea4c366 * gdb.texinfo: Explain omitting the hostname in the
`target remote' command.
2001-08-02 10:52:07 +00:00
Richard Sandiford dc4622162a * gas/mips/mips-gp32-fp32,
* gas/mips/mips-gp32-fp64,
	* gas/mips/mips-gp64-fp32,
	* gas/mips/mips-gp64-fp64,
	* gas/mips/mips-abi32,
	* gas/mips/mips-gp32-fp32-pic,
	* gas/mips/mips-gp32-fp64-pic,
	* gas/mips/mips-gp64-fp32-pic,
	* gas/mips/mips-gp64-fp64-pic,
	* gas/mips/mips-abi32-pic: New testcases.

	* gas/mips/mips.exp: Run them.
2001-08-02 10:16:50 +00:00
Richard Sandiford ca4e0257d1 * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
* config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
	(md_long_opts): Add -mfp32 option.
	(md_parse_option): Handle it.  Set mips_32bit_abi given -mabi=32.
	(md_show_usage): Show usage for -mfp32 and -mgp32.
	(HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
	(HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
	(HAVE_32BIT_ADDRESSES): New macro.
	(load_register): Use HAVE_32BIT_GPRS to determine the register width.
	(load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
	(s_cprestore, s_cpadd): Likewise.
	(macro): Use HAVE_32BIT_GPRS to determine the width of registers
	used in branch and M_LI_D macros.  Use HAVE_64BIT_FPRS to determine
	the width registers used in M_LI_DD macros.  Use HAVE_32BIT_ADDRESSES
	to determine the width of addresses in load, store and jump macros.
	(macro2): Use HAVE_32BIT_GPRS to determine the width of registers
	used in set instructions; do not check the address size for them.
	Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
	unaligned load and store macros.
	(mips_ip): Use the new macros to check the width of a register when
	processing float constants.  Force a constant into memory if it is
	destined for an FPR and the FPRs are wider than the GPRs.  Warn about
	odd FPR numbers if HAVE_32BIT_FPRS.  Use HAVE_32BIT_GPRS rather
	than mips_gp32 to select synthetic instructions.
	(macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
	synthetic instructions.
2001-08-02 10:15:24 +00:00
Corinna Vinschen ad4571f3f3 * MAINTAINERS: Add myself to the write-after-approval list.
* ser-tcp.c (tcp_open): Use `localhost' as default host if no
        hostname is given.
2001-08-02 09:08:03 +00:00
John R. Moore 962b3eada2 Removed a section of code that didn't do anything, but left values in
memory. This was labeled as a hack to set r0/r1 with argc/argv.
2001-08-02 00:50:38 +00:00
gdbadmin 5dce30f881 *** empty log message *** 2001-08-02 00:00:02 +00:00
Andrew Cagney 64f6fcadfc * doublest.h (store_floating, floatformat_to_doublest): Make IN
paramter a const void pointer.
(floatformat_from_doublest): Make IN const, Make OUT a void
pointer.
* doublest.c (floatformat_to_doublest): Update.
(floatformat_from_doublest): Update.
(extract_floating): Update.
2001-08-01 22:11:43 +00:00
Andrew Cagney d16aafd8c8 * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
(floatformat_to_doublest, floatformat_from_doublest)
(floatformat_is_negative, floatformat_is_nan)
(floatformat_mantissa, store_floating)
(extract_floating): Move declaration from here.
* doublest.h: To here.  New file.
* utils.c (get_field, floatformat_to_doublest, put_field)
(ldfrexp, floatformat_from_doublest, floatformat_is_negative)
(floatformat_is_nan, floatformat_mantissa)
(FLOATFORMAT_CHAR_BIT): Move from here.
* doublest.c: To here.  New file.
* findvar.c (store_floating, extract_floating): Move from here.
* doublest.c: To here.
* Makefile.in (SFILES): Add doublest.c.
(COMMON_OBS): Add doublest.o.
(doublest.o): Specify dependencies.
(doublest_h): Define.

* config/m88k/tm-m88k.h: Include "doublest.h".
* config/i960/tm-i960.h: Ditto.
* config/i386/tm-symmetry.h: Ditto.
* rs6000-tdep.c, valarith.c: Ditto.
* valprint.c, stabsread.c, sh-tdep.c: Ditto.
* ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
* values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
* alpha-tdep.c, ax.h, expression.h: Ditto.
* sh-tdep.c, parse.c, top.c, value.h: Ditto.

* Makefile.in (arm-tdep.o): Add $(doublest_h).
(i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
(rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
(values.o, valprint.o, arm-linux-tdep.o): Ditto.
(alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
(parser_defs_h): Ditto.
(expression_h): Add $(doublest_h) and $(symtab_h).
2001-08-01 18:39:27 +00:00
Andrew Cagney 1b0cad1ced * Makefile.in: Sort header definitions.
(parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
Replace parser-defs.h with $(parser_defs_h).  Replace $(dis-asm_h)
and $(dis-asm.h) with $(dis_asm_h).  Replace annotate.h with
$(annotate_h).  Replace target.h with $(target_h).  Replace
gdbthread.h with $(gdb_thread_h).  Replace symfile.h with $(symfile_h).
2001-08-01 17:41:50 +00:00
Nick Clifton 00a7cdc55a Return zero only as the last step of qsort function. 2001-08-01 16:10:42 +00:00
Nick Clifton c7c55b785d Use @command{name} for commands. Use @option{-opt} for options.
Use @table @env for list of options.  Remove spaces arround [ | ] in synopsis.
Use 'GNU Development Tools' for the center title.
2001-08-01 15:54:41 +00:00
Nick Clifton 28bab82b5a Cleanups for z8k target 2001-08-01 15:39:17 +00:00
Nick Clifton d8adc60f05 Replace VXWORKS with ARM_COFF_BUGFIX. 2001-08-01 15:18:32 +00:00
Nick Clifton 39c183c149 Do not require any exception support library. Check results against NRV. 2001-08-01 14:37:47 +00:00
Nick Clifton 22a517d05e Do not require any exception support library. 2001-08-01 14:26:18 +00:00
Aldy Hernandez 92714f9468 2001-08-01 Aldy Hernandez <aldyh@redhat.com>
* include/opcode/mips.h (INSN_ISA_MASK): Nuke bits 12-15.
2001-08-01 11:33:45 +00:00
Eli Zaretskii bfefb58388 Fix a typo in my entry from 2001-06-13. 2001-08-01 09:23:07 +00:00
Alan Modra 28f815927f * config/tc-i386.c (lex_got): Match lower case relocation tokens.
Don't allocate more space than necessary for the input line copy.
2001-08-01 02:27:11 +00:00
Alan Modra af08bab843 * gas/elf/section2.l: Adjust warning message comparison. 2001-08-01 01:51:28 +00:00
Alan Modra 0e389e770d * read.c: Standardize error/warning messages - don't capitalise, no
final period or newline, don't say "ignored" or "zero assumed" for
	as_bad messages.  In some cases, change the wording to that used
	elsewhere for similar messages.
	* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
	  ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
	  output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
	* ecoff.c (ecoff_directive_end): Test for missing name by
	comparing input line pointers rather than reading string.
	(ecoff_directive_ent): Likewise.
	* read.c (s_set): Likewise.
	(s_align): Report a warning rather than an error for
	alignment too large.
	(s_comm): Check for missing symbol name.
	(s_lcomm_internal): Likewise.
	(s_lsym): Likewise.
	(s_globl): Use is_end_of_line instead of looking for '\n'.
	(s_lcomm_internal): Likewise.
	(ignore_rest_of_line): Report a warning rather than an error.
2001-08-01 01:44:25 +00:00
gdbadmin 687aee93dd *** empty log message *** 2001-08-01 00:00:08 +00:00
Geoffrey Keating e138127ab2 * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
any kind of relocation against a not-loaded section.
2001-07-31 19:24:57 +00:00
Mark Kettenis 1ca66634bd * config/i386/xm-i386.h: New file.
* config/i386/xm-fbsd.h: Removed.
* config/i386/xm-linux.h: Removed.
* config/i386/fbsd.mh: Reorganize a bit.
(XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
* config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
xm-linux.h.
2001-07-31 19:22:57 +00:00
Stephane Carrez 799a074014 * tui.c (tui_enable): Remove call to terminal_save_ours().
(tui_disable): Likewise.
2001-07-31 19:00:50 +00:00
Daniel Jacobowitz 1129bf27e5 * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
and END-INFO-DIR-ENTRY.
2001-07-31 17:30:56 +00:00
Nick Clifton 594ef5dbd2 Implement new switch --rename-section 2001-07-31 13:49:39 +00:00
Ben Elliston f18ee7ef71 2001-07-31 Ben Elliston <bje@redhat.com>
* lib/sim-defs.exp (run_sim_test): Include a description such as
	"assembling" or "linking" that identifies the phase a test fails
	in, for easier analysis of failures.
2001-07-31 04:59:59 +00:00
gdbadmin 0d79b98d1e *** empty log message *** 2001-07-31 00:00:02 +00:00
Jim Blandy 9e84cbde42 * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix. 2001-07-30 23:16:45 +00:00
Daniel Jacobowitz 72473524da * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
Check for SETPGRP_VOID separately if cross-compiling and ISO C
       headers are available.
2001-07-30 22:08:41 +00:00
Mark Kettenis 4b418e06b0 * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
2001-07-30 21:45:26 +00:00
Mark Kettenis 8d7f6b4a80 * i386-tdep.c (i386_register_convert_to_virtual): Replace
assertion with a warning if we're asked to convert towards a
non-floating-point type.  Zero out the the buffer where the data
is supposed to be stored in that case.
2001-07-30 21:09:44 +00:00
DJ Delorie 65a4f13c67 merge from gcc 2001-07-30 20:02:22 +00:00
Nick Clifton 407c2b92ba Fix prototype of _bfd_ecoff_styp_to_sec_flags 2001-07-30 18:38:35 +00:00
Nick Clifton 156e34dd45 Fix computation in SECTIONS example. 2001-07-30 18:12:07 +00:00
DJ Delorie 86710ce268 merge from gcc 2001-07-30 17:39:28 +00:00
Richard Sandiford 0c4ec1515b * gas/mips/mips.exp (el): New variable.
Use it to pick ELF reloc tests.
2001-07-30 13:59:00 +00:00
Nick Clifton 1f554c6920 Change bug-gnu-utils@gcc.org to the mor obvious bug-binutils@gcc.org 2001-07-30 10:57:07 +00:00
Mark Kettenis 846a440c9c * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.
2001-07-30 10:17:46 +00:00
Alan Modra 468cced8b9 * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
to include '@' in symbol names when parsing versioned symbols
	rather than calling get_symbol_end multiple times.
	* config/tc-i370.c (register_name): Format fixes.  Don't call
	get_symbol_end after parsing number.
	* config/tc-mn10200.c (data_register_name): Format fixes.  Hoist
	code out of conditional.
	(address_register_name): Likewise.
	(other_register_name): Likewise.
	* config/tc-mn10300.c (r_register_name): Likewise.
	(xr_register_name): Likewise.
	(data_register_name): Likewise.
	(address_register_name): Likewise.
	(other_register_name): Likewise.
	* config/tc-ppc.c (register_name): Likewise.
	* config/tc-s390.c (register_name): Likewise.
2001-07-30 06:15:49 +00:00
gdbadmin 5b2e4f117f *** empty log message *** 2001-07-30 00:00:02 +00:00
Eli Zaretskii f959bc4156 Unset CDPATH before doing annything else. 2001-07-29 10:12:49 +00:00
Eli Zaretskii a3b9cbb339 * go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.
2001-07-29 08:06:28 +00:00
Eli Zaretskii 6c56c06965 Support for stepping through longjmp in DJGPP programs:
* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
	(GET_LONGJMP_TARGET): Define to call get_longjmp_target.
	(get_longjmp_target): Add prototype.
2001-07-29 08:03:36 +00:00
Alan Modra 2f83960e2c * bucomm.c (list_supported_architectures): New function.
* bucomm.h (list_supported_architectures): Declare.
	* objdump.c (usage): Call the above.
2001-07-29 05:31:43 +00:00
Kazu Hirata 6608db5792 * i386-dis.c: Fix formatting. 2001-07-29 05:00:14 +00:00
gdbadmin 6977cc6f14 *** empty log message *** 2001-07-29 00:00:02 +00:00
Andrew Cagney de6ee55865 Fix some PID/TPID fallout for HP/UX.
From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (ptrace_wait): Match external declaration,
and match target_post_wait declaration.
2001-07-28 22:44:53 +00:00
Andrew Cagney 158ff1e6fb (cris): Set --enable-gdb-build-warnings flag to -w. 2001-07-28 21:21:30 +00:00
Andrew Cagney 93755ae6c4 * MAINTAINERS: Add Orjan Friberg as cris target maintainer. 2001-07-28 20:23:53 +00:00