Commit Graph

27592 Commits

Author SHA1 Message Date
Ian Lance Taylor 63bf565122 * doc/c-mips.texi (MIPS Opts): Remove erroneous space after
@code.
2000-07-15 15:09:13 +00:00
Alan Modra 1cd1c99be6 (hppa_fix_adjustable): Don't reduce certain symbols to section syms. 2000-07-15 12:57:14 +00:00
Nick Clifton d547a75e6b *** empty log message *** 2000-07-14 22:28:24 +00:00
Nick Clifton 119d663aa4 Add new command line switch --no-construct-floats 2000-07-14 22:23:33 +00:00
Nicholas Duffek fe794dc69d * ppcbug-rom.c (ppcbug_regnames[]): Make array size implicit.
* rs6000-tdep.c (DEFAULT_LR_SAVE): Move to config/*/tm-*.h.
	(rs6000_gdbarch_init): Use generic_pc_in_call_dummy instead of
	rs6000_pc_in_call_dummy.
	* config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Move here from
	rs6000-tdep.c.
	* config/powerpc/tm-ppc-eabi.h: Remove various definitions
	handled by multi-arched rs6000-tdep.c.
2000-07-14 22:17:33 +00:00
Fernando Nasser 0a4321b903 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
* wrapper.c (sim_create_inferior): Fix typo in the previous patch.
2000-07-14 21:27:15 +00:00
Nick Clifton 585230bdeb Fix definition of SKIP_PROLOGUE macro. 2000-07-14 20:55:41 +00:00
Fernando Nasser 64a1067567 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
* wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
        new inferior.
2000-07-14 16:49:46 +00:00
Michael Snyder e2305d340a 2000-07-13 Michael Snyder <msnyder@cleaver.cygnus.com>
* parse.c: Include inferior.h.
2000-07-13 17:54:35 +00:00
Alan Modra 906fac54a8 Fix some mips configure problems. 2000-07-13 14:57:49 +00:00
Andrew Cagney c8e2a5aa11 Oops, one to many ChangeLog entries. 2000-07-13 07:57:34 +00:00
Andrew Cagney 2391e11d3a Check that GDB and the C compiler agree about the sizeof a few basic C
types.
2000-07-13 05:07:54 +00:00
DJ Delorie 5b4cf3f497 * pe-dll.c (make_one): fix a typo in the __imp_ name decoration
for dll import libraries
2000-07-13 00:51:40 +00:00
Michael Snyder 1a1404f11e * parse.c (target_map_name_to_register): Include pseudo-regs. 2000-07-12 23:16:45 +00:00
Michael Snyder fcdc5976b3 2000-07-12 Michael Snyder <msnyder@cleaver.cygnus.com>
* regcache.c (registers_changed, registers_fetched): Use
        ARCH_NUM_REGS directly, eliminating an unnecessary variable.

        This change adds pseudo-register capability to GDB.
        Pseudo-registers are handled like registers, but they
        don't come from or live on the target.  They may be
        aliases for an existing register, or they may be computed.
        * defs.h (NUM_PSEUDO_REGISTERS): Define default of zero.
        (ARCH_FETCH_PSEUDO_REGISTERS): Define default of no-op.
        (ARCH_STORE_PSEUDO_REGISTERS): Define default of no-op.
        # regcache.c (registers_changed): Mark pseudo-registers
        invalid, as well as real registers.
        (registers_fetched): Do not mark pseudo-registers as fetched
        at the same time as other (real) registers.
        (read_register_bytes): Fetch pseudo-registers (if any) from
        the target architecture module instead of from the target.
        (read_register_gen): Ditto.
        (read_register): Ditto.
        (write_register_bytes): Store pseudo-registers (if any) to
        the target architecture module instead of to the target.
        (write_register_gen): Ditto.
        (write_register): Ditto.
        (build_regcache): Allocate enough register_valid space for
        pseudo-registers as well as normal (real) ones.
2000-07-12 22:01:17 +00:00
Mark Kettenis 86d65c94b2 * objdump.c (usage): Make output of `objdump --help' more
consistent with the rest of the GNU world.  Add a line describing
the purpose of the program.
2000-07-12 19:52:17 +00:00
DJ Delorie e67f03db5b * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
out a structure that is BFD_IN_MEMORY.
2000-07-12 18:29:55 +00:00
Nick Clifton 7f7888218f Add padding to the last section when aligning it increases its size. 2000-07-12 16:45:46 +00:00
Nick Clifton 062739d151 Support the g++ attribute init_priority in gcc 2.95.2 and later. 2000-07-12 16:41:29 +00:00
Alan Modra 2b99395a2e Update comment. 2000-07-12 11:54:35 +00:00
Andrew Cagney 634acd5f8a * valops.c (value_cast): Allow cast from INT, ENUM or RANGE to
POINTER.
2000-07-12 08:31:49 +00:00
Alan Modra 0ba2a60ea9 Use section id in get_dyn_name. 2000-07-12 05:03:01 +00:00
Nick Clifton 1c64c4ed86 Fix formatting and add missing new lkine at end of error message 2000-07-11 20:17:02 +00:00
Nick Clifton 9a736b6b4d Fix formatting. 2000-07-11 18:48:17 +00:00
Jakub Jelinek cfd22345a8 Add myself as SPARC maintainer. 2000-07-11 18:45:27 +00:00
Jakub Jelinek 09ab35c7f5 * sparc-opc.c (sparc_opcodes): popc has 0 in rs1, not rs2.
Reported by Bill Clarke <llib@computer.org>.
2000-07-11 18:44:12 +00:00
Scott Bambrough d5b61b5991 2000-07-11 Scott Bambrough <scottb@netwinder.org>
* command.c (do_setshow_command): Fix typo in var_auto_boolean
	case.
2000-07-11 14:00:42 +00:00
Andrew Cagney acdb74a06f * mips-tdep.c: General cleanup. Delete all #if 0 code. Convert
all old style K&R function definitions to ISO-C.
(struct gdbarch_tdep): Add mips_abi_string.
(mips_gdbarch_init): Initialize.
(mips_dump_tdep): Print mips_abi_string and other values.
(mips_push_arguments): Add more detailed tracing.
2000-07-11 11:02:11 +00:00
Andrew Cagney 6c997a3432 Force MIPS to sign-extend any addresses read from registers. 2000-07-11 10:24:25 +00:00
Andrew Cagney 4014092b58 Move the ``set mask-address'' command to remote-mips.c. Disable
address masking in mips-tdep.c.
2000-07-11 09:25:22 +00:00
Andrew Cagney e2ad119d2f * printcmd.c (print_scalar_formatted): Move masking of 'a' address
from here.
(print_address_numeric): To here.
* TODO: Update.
2000-07-11 08:51:59 +00:00
Andrew Cagney d730266bb0 * symtab.c: Use paddr_nz() to print addresses. 2000-07-11 07:56:23 +00:00
Andrew Cagney 6d9019e4c0 Add function bfd_elf_get_sign_extend_vma. 2000-07-11 07:28:25 +00:00
Andrew Cagney 23e2c83b83 The MIPS thinks that addresses are signed. Sign extend MIPS ECOFF
addresses.
2000-07-11 06:37:34 +00:00
Andrew Cagney 448cafa400 * elfcode.h (elf_object_p): Use bfd_set_start_address and not
bfd_get_start_address.
(elf_swap_ehdr_in): Sign extend e_entry when applicable.
(elf_swap_ehdr_out): Ditto.
2000-07-11 06:08:19 +00:00
Andrew Cagney 173155e866 Add read_signed_register{,_pid}(). Change return type of
read_register{,_pid}() to ULONGEST.
2000-07-11 05:42:25 +00:00
Alan Modra b71e277823 Remove some forward declarations in ldemul.h and ldfile.h, and
re-arrange header include order.
Fix shadowing warnings in ldlang.h
Fix compile errors in mpw-elfmips.c
2000-07-11 03:42:41 +00:00
Nick Clifton 1aea3bb851 Fix formatting 2000-07-10 19:09:51 +00:00
Nick Clifton 3dd5103bb4 Fix formatting. 2000-07-10 18:59:26 +00:00
Nick Clifton 83ea41ad9c Add set of bfd_mach_ cases for compatibility with older binutils 2000-07-10 18:29:39 +00:00
Alan Modra 9082179098 Fix a date. 2000-07-10 18:07:44 +00:00
H.J. Lu 2ef53d6665 2000-07-10 H.J. Lu <hjl@gnu.org>
* emultempl/pe.em (pe_enable_stdcall_fixup): Protect with
	DLL_SUPPORT.
	(strhash): Likewise.
	(compute_dll_image_base): Likewise.
	(pe_undef_found_sym): Likewise.
	(pe_undef_cdecl_match): Likewise.
	(gld_${EMULATION_NAME}_open_dynamic_archive): Mark the
	argument "arch" with ATTRIBUTE_UNUSED.
2000-07-10 17:20:35 +00:00
Alan Modra 9a8cbb092b Warning fix and remove extraneous hppa*-*-linux-gnu*. 2000-07-10 17:15:11 +00:00
Alan Modra 36a3dc5119 Even more hppa testsuite patches. 2000-07-10 17:02:16 +00:00
Alan Modra e0e338392e Comment the relocs. 2000-07-10 15:34:31 +00:00
Eli Zaretskii 30083a3242 A few tweaks required to use Readline as part of the DJGPP port of GDB. 2000-07-10 15:22:16 +00:00
Alan Modra 4b6341e9d2 Yet more hppa testuite tweaks for hppa-linux. 2000-07-10 15:21:05 +00:00
Alan Modra 46b85d4287 More warning fixes, and a tweak in tc-hppa.c to check constant
branch offsets a little more thoroughly.
2000-07-10 15:15:01 +00:00
Andrew Cagney cce41527ca * mips-tdep.c (mips_push_arguments): Always align struct_addr on a
16 byte boundary. Align allocated argument space using
MIPS_STACK_ARGSIZE.  Reserve space on stack for the struct return
and floating-point registers.  Use fp_register_arg_p to determine
if float_argreg should be aligned.
2000-07-10 15:09:23 +00:00
Alan Modra 12c616f16e Remove some of the hppa testsuite fudges for hppa-linux. 2000-07-10 14:59:48 +00:00