Commit Graph

26229 Commits

Author SHA1 Message Date
Jim Blandy
63ddd37dbd * gdbarch.sh: Make the `default' field really default to zero, as
documented.

Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
more function-like.
(default_coerce_float_to_double, standard_coerce_float_to_double):
New functions.
(value_arg_coerce): Adjust for new definition.
* value.h (default_coerce_float_to_double,
standard_coerce_float_to_double): New declarations for the above.
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
function.
2000-02-22 19:19:12 +00:00
Jim Blandy
b9a8e3bfd4 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
more function-like.
(default_coerce_float_to_double, standard_coerce_float_to_double):
New functions.
(value_arg_coerce): Adjust for new definition.
* value.h (default_coerce_float_to_double,
standard_coerce_float_to_double): New declarations for the above.
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
function.
2000-02-22 19:18:53 +00:00
Andrew Haley
87f398dd6a g2000-02-22 Andrew Haley <aph@cygnus.com>
* mips.h: (OPCODE_IS_MEMBER): Add comment.
2000-02-22 19:01:25 +00:00
Andrew Haley
6349b5f490 2000-02-22 Andrew Haley <aph@cygnus.com>
* doc/c-mips.texi (MIPS Opts): Document -mgp32 and -mgp64.
2000-02-22 18:55:30 +00:00
Kevin Buettner
50c9bd316d Cleanups and signal handler backtrace fix for GNU/Linux PPC port. 2000-02-22 18:47:41 +00:00
Andrew Haley
9a1e79ca63 ChangeLog change only. 2000-02-22 16:59:39 +00:00
Ian Lance Taylor
4597ba0f94 merge with include from egcs 2000-02-22 2000-02-22 16:40:36 +00:00
Ian Lance Taylor
72ec28b8af This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2000-02-22 16:18:13 +00:00
Ian Lance Taylor
cc89ffe60b import libiberty from egcs 2000-02-22 16:18:13 +00:00
Ian Lance Taylor
0c0a36a403 merge with libiberty from egcs 2000-02-22 2000-02-22 16:14:35 +00:00
Ian Lance Taylor
e2eaf47799 import libiberty from egcs 2000-02-22 15:59:20 +00:00
Ian Lance Taylor
abd8680d6e This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2000-02-22 15:59:20 +00:00
Andrew Haley
c97ef257d3 1999-12-30 Andrew Haley <aph@cygnus.com>
* config/tc-mips.c (mips_gp32): New variable.
	(macro_build) Use mips_gp32.
	(mips_ip): Ditto.
	(md_longopts): Add "-mgp32" and "-mgp64".
	(md_parse_option): Add OPTION_GP32 and OPTION_GP64.
2000-02-22 14:43:54 +00:00
Andrew Haley
8027df8989 1999-12-30 Andrew Haley <aph@cygnus.com>
* mips-dis.c (_print_insn_mips): New arg for OPCODE_IS_MEMBER:
	force gp32 to zero.
	* mips-opc.c (G6): New define.
	(mips_builtin_op): Add "move" definition for -gp32.
2000-02-22 14:41:46 +00:00
Andrew Haley
367c01aff9 1999-12-30 Andrew Haley <aph@cygnus.com>
* mips.h (OPCODE_IS_MEMBER): Add gp32 arg.
2000-02-22 14:39:20 +00:00
Andrew Cagney
baa7ae6f10 When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
instead of sim_trace() to run the program; include support for ``-o''
option (operating environment); when a signal occurs, only continue
execution when operating environment mode.
Update d10v.
2000-02-22 08:52:21 +00:00
Ian Lance Taylor
1287d1cc37 2000-02-22 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_link_add_object_symbols): If a version symbol is
	not defined, don't add a second ELF_VER_CHR.
2000-02-22 08:06:01 +00:00
Ian Lance Taylor
b985eaa839 2000-02-22 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* config/obj-coff.c (add_lineno): Accept non-positive lineno with
	warning, and bump it to 1.
2000-02-22 07:50:13 +00:00
Ian Lance Taylor
4db3857a87 From Grant Erickson <gerickso@Brocade.COM>:
* ppc-opc.c: Correct dcread--it takes 3 arguments, not 2.
2000-02-22 07:44:54 +00:00
Ian Lance Taylor
2aa9e1d78a 2000-02-22 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_LINUX): Define.
2000-02-22 07:34:57 +00:00
Ian Lance Taylor
0e69fcbcf4 From Brad Lucier <lucier@math.purdue.edu>:
* i386.c (i386_find_call): Add cast to ensure that printf argument
	matches format.
	* tahoe.c (tahoe_find_call): Likewise.
	* vax.c (vax_find_call): Likewise.
2000-02-22 07:25:46 +00:00
Ian Lance Taylor
52454417c7 From Brad Lucier <lucier@math.purdue.edu>:
* dwarf2dbg.c (print_stats): Add cast to force printf argument to
	match format.
2000-02-22 07:21:23 +00:00
Ian Lance Taylor
1606220769 From Brad Lucier <lucier@math.purdue.edu>:
* readelf.c (process_version_sections): Add casts to make sure
	argument to %* is an int.
	(process_mips_specific): Add casts to make printf arguments match
	format.
2000-02-22 07:18:10 +00:00
Ian Lance Taylor
a432cc3d1c * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
invalid relocation types, and change them to R_386_NONE.
2000-02-22 05:52:59 +00:00
Ian Lance Taylor
2bd171e001 2000-02-22 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_bfd_final_link): Call output_extsym for global
	symbols converted to local symbols even when stripping all
	symbols.
        (elf_link_output_extsym): Process global symbols converted to
	local symbols even if they are being stripped.
2000-02-22 05:51:02 +00:00
Kevin Buettner
8883511eb0 Changes for GNU/Linux PPC native gdb port. 2000-02-22 01:27:35 +00:00
Kevin Buettner
223b8554ec Changes for GNU/Linux PPC native gdb port. 2000-02-22 01:21:06 +00:00
Kevin Buettner
c877c8e605 Changes for GNU/Linux PPC native port of gdb. 2000-02-22 01:20:32 +00:00
Kevin Buettner
2559291b00 Changes for GNU/Linux PPC native port. 2000-02-22 01:17:29 +00:00
Jim Blandy
70f0cc22b6 *** empty log message *** 2000-02-21 22:15:09 +00:00
Catherine Moore
6b76fefe3b * config/tc-mips.c (MF_HILO_INSN): Define.
(mips_7000_hilo_fix): Declare.
           (append_insn): Conditionally insert nops after an mfhi/mflo insn.
           (md_parse_option): Check for 7000_HILO_FIX options.
           (OPTION_M7000_HILO_FIX): Define.
           (OPTION_NO_M7000_HILO_FIX): Define.
           * doc/c-mips.texi (-mfix7000): Describe.
2000-02-21 20:00:33 +00:00
Elena Zannoni
750334d754 2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
From Philippe De Muyter  <phdm@macqel.be>

	* event-loop.c (handle_file_event): In case of poll, enable
 	printing of informational message if an error/exception is
 	detected on the file descriptor.
2000-02-21 15:56:37 +00:00
Alan Modra
f6af82bd44 This lot mainly cleans up `comparison between signed and unsigned' gcc
warnings.  One usused var, and a macro parenthesis fix too.  Also check
input sections are elf when doing gc in elflink.h.
2000-02-21 12:01:27 +00:00
Jim Kingdon
2403ff6fdb * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages. 2000-02-21 06:13:23 +00:00
Ian Lance Taylor
494e2c585a ELF HPPA doesn't work at present; remove it until it does.
* config.bfd: Comment out setting targ_defvec to
	bfd_elf32_hppa_vec.
	* Makefile.am: Rebuild dependencies.
	(BFD32_BACKENDS): Remove elf32-hppa.lo.
	(BFD32_BACKENDS_CFILES): Remove elf32-hppa.c.
	(SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h.
	* Makefile.in: Rebuild.
	* targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.
2000-02-21 05:33:40 +00:00
Christopher Faylor
b8441c25a1 cygwin32 -> cygwin. 2000-02-21 03:25:29 +00:00
Christopher Faylor
8de032f2d1 cygwin32 -> cygwin 2000-02-21 03:24:17 +00:00
Andrew Cagney
91b9ff2179 Include "expression.h" which "language.h" depends on. 2000-02-21 03:04:19 +00:00
Andrew Cagney
f7cb3ef862 Include "language.h" for longest_local_hex_string_custom(). 2000-02-21 02:51:07 +00:00
Andrew Cagney
0596389cd2 Update gdbarch.sh so that it generates code including <gdb_wait.h>. 2000-02-21 00:21:51 +00:00
Andrew Cagney
f5bca8e789 Add more maintainers. Expand the ARM related maintainers. 2000-02-21 00:15:55 +00:00
Andrew Cagney
538aae9db5 Add paragraph on multiple maintainers. 2000-02-20 23:52:58 +00:00
Fernando Nasser
55555bbca2 2000-02-19 Philippe De Muyter <phdm@macqel.be>
* cli-out.c (cli_table_header): Type of parameter `alignment' is
        `enum ui_align', not `int'.
        (cli_field_string, cli_field_skip): Likewise.
2000-02-20 18:23:31 +00:00
Frank Ch. Eigler
278d4456c4 * build fix
2000-02-18  Frank Ch. Eigler  <fche@redhat.com>

	* resrc.c: Remove unmatched #if for cygwin.
2000-02-19 03:59:10 +00:00
Geoffrey Keating
2fca4467d0 * coffcode.h (coff_set_arch_mach_hook): Use free(), because there
is no bfd_free().  Revert bfd_free part of previous change.
2000-02-19 01:11:19 +00:00
Geoffrey Keating
5ea1af0d5d * coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
arrays.
(coff_compute_section_file_positions): Use bfd_free to pair
bfd_malloc.
(coff_write_object_contents): Likewise.

* coff-rs6000.c (xcoff_howto_table_16): New variable.
(xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.
2000-02-19 00:59:26 +00:00
Frank Ch. Eigler
ff4e7bb239 * build fix for cygwin
2000-02-18  Frank Ch. Eigler  <fche@redhat.com>

	From Jason "crash" Molenda <jsm@cygnus.com>:
	* configure.in: Check for getpagesize declaration.
	* mvmalloc.c, mmap-sup.c: Conditionally declare getpagesize.
	* configure: Regenerated.
2000-02-19 00:44:46 +00:00
Jim Blandy
2dd67478f5 *** empty log message *** 2000-02-18 23:34:44 +00:00
Jim Blandy
dea753cd34 *** empty log message *** 2000-02-18 22:19:31 +00:00
Jim Blandy
9a90a84581 *** empty log message *** 2000-02-18 22:16:16 +00:00