Commit Graph

40830 Commits

Author SHA1 Message Date
Andrew Cagney 36482093be 2003-08-27 Andrew Cagney <cagney@redhat.com>
* Makefile.in (cris-tdep.o): Update dependencies.
	* cris-tdep.c: Include "gdb_assert.h".
	(cris_gdbarch_init): Set print_insn.
	(_initialize_cris_tdep): Do not set deprecated_tm_print_insn.
	(cris_delayed_get_disassembler): Simplify, directly call the
	disassembler returned by cris_get_disassembler.
	* hppa-tdep.c (hppa_gdbarch_init): Set print_insn.
	(_initialize_hppa_tdep): Do not set deprecated_tm_print_insn.
	* ns32k-tdep.c (ns32k_gdbarch_init): Set print_insn.
	(_initialize_ns32k_tdep): Do not set deprecated_tm_print_insn.
	* mn10300-tdep.c (mn10300_gdbarch_init): Set print_insn.
	(_initialize_mn10300_tdep): Do not set deprecated_tm_print_insn.
	* mcore-tdep.c (mcore_gdbarch_init): Set print_insn.
	(_initialize_mcore_tdep): Do not set deprecated_tm_print_insn.
	* frv-tdep.c (frv_gdbarch_init): Set print_insn.
	(_initialize_frv_tdep): Do not set deprecated_tm_print_insn.
	* sparc-tdep.c (sparc_gdbarch_init): Set print_insn.
	(gdb_print_insn_sparc): Delete function.
	(_initialize_sparc_tdep): Do not set deprecated_tm_print_insn or
	deprecated_tm_print_insn_info.
	* v850-tdep.c (v850_gdbarch_init): Set print_insn.
	(_initialize_v850_tdep): Do not set deprecated_tm_print_insn.
	(v850_gdbarch_init): Do not set deprecated_tm_print_insn_info.
	* xstormy16-tdep.c (xstormy16_gdbarch_init): Set print_insn.
	(_initialize_xstormy16_tdep): Do not set deprecated_tm_print_insn.
	* s390-tdep.c (gdb_print_insn_s390): Delete function.
	(_initialize_s390_tdep): Do not set deprecated_tm_print_insn.
	(s390_gdbarch_init): Set print_insn.
2003-08-28 03:03:44 +00:00
Andrew Cagney 0285512f29 2003-08-27 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc64_call_dummy_address): Delete function.
	(ppc_linux_init_abi): For PPC64, do not set call_dummy_address.
	* infcall.c (call_function_by_hand): Convert the entry point
	address into a code address.
2003-08-28 02:53:08 +00:00
Andrew Cagney cdcd555211 2003-08-27 Andrew Cagney <cagney@redhat.com>
* dsrec.c: Include "gdb_string.h".
	* Makefile.in (dsrec.o): Update dependencies.
2003-08-28 00:49:31 +00:00
gdbadmin c58c6baf79 *** empty log message *** 2003-08-28 00:00:31 +00:00
Alan Modra ae5a54c2fa daily update 2003-08-28 00:00:16 +00:00
Daniel Jacobowitz 75addda2fa * configure.in: Set RAW_CXX_FOR_TARGET if unset.
* configure: Regenerated.
2003-08-27 21:17:54 +00:00
Daniel Jacobowitz 2299a76d2f * aclocal.m4: Include acx.m4 and no-executables.m4.
(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
	(LIB_AC_PROG_CC): Remove.
	* configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
	Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
	LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
	performing link tests.
	* configure: Regenerated.
2003-08-27 21:15:13 +00:00
Michael Chastain e85cddadf9 2003-08-27 Michael Chastain <mec@shout.net>
* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.mi/mi2-var-*.
2003-08-27 19:25:58 +00:00
Daniel Jacobowitz 779fc3c367 * config/no-executables.m4: New file. 2003-08-27 19:14:47 +00:00
Andrew Cagney 8bbfbb2352 2003-08-27 Andrew Cagney <cagney@redhat.com>
* alpha-osf1-tdep.c (alpha_call_dummy_address): Delete function.
	(alpha_osf1_init_abi): Do not set call_dummy_address.
2003-08-27 19:02:03 +00:00
Ian Lance Taylor 49c97a80e3 * configure.in: Check for strtoull.
* bfd.c (bfd_scan_vma): Use strtoull when available.
	* configure, config.in: Regenerate.
2003-08-27 17:57:33 +00:00
Ian Lance Taylor ec317fb157 * configure.in: Define and substitute BFD_HOST_LONG_LONG.
* bfd-in.h: Define BFD_HOST_LONG_LONG.  Test it rather than
	__GNUC__ when deciding whether to use long long for
	BFD_HOST_64_BIT.
	* configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate.
2003-08-27 17:43:39 +00:00
David Carlton ba058b6617 2003-08-27 David Carlton <carlton@kealia.com>
From Randolph Chung  <tausq@debian.org>:
	* linux-proc.c (linux_info_proc_cmd): rework the code so that it
	compiles with -Wformat-nonliteral -Werror.
2003-08-27 15:41:41 +00:00
Christian Groessler d539b3aa78 2003-08-27 Christian Groessler <chris@groessler.org>
* elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc,
	i860_howto_splitn_reloc, i860_howto_highadj_reloc): New
	functions.
	(elf32_i860_howto_table): Insert the new functions as
	'special_function's in the proper reloc type entries.
2003-08-27 13:28:42 +00:00
Richard Sandiford 73052b5e96 * elf32-frv.c (elf32_frv_relocate_section): Use
_bfd_elf_rela_local_sym.
2003-08-27 09:21:15 +00:00
Nathanael Nerode 8d2877d8ff Merge bugfix from GCC:
2003-08-23  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Use newline instead of semicolon when assuming
	shell arguments in a for loop.
	* configure:  Regenerated.
2003-08-27 03:05:51 +00:00
gdbadmin f5d9813f6c *** empty log message *** 2003-08-27 00:00:31 +00:00
Alan Modra a9b6ab4d33 daily update 2003-08-27 00:00:05 +00:00
Jim Blandy 87f84c9d11 * solib-svr4.c (bfd_lookup_symbol): New SECT_FLAGS argument.
(enable_break): Pass SEC_CODE as the SECT_FLAGS argument to
bfd_lookup_symbol, since we only want symbols in code sections.
(look_for_base): Pass zero as the SECT_FLAGS argument to
bfd_lookup_symbol, since we're not concerned about which section
the symbol is in.
2003-08-26 23:35:19 +00:00
Jeff Johnston 102d615a7c 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (examine_prologue): Only stop at predicated insns if
        we are frameless or the return address register is already known.
2003-08-26 22:24:40 +00:00
Andrew Cagney cc7ad3eab3 2003-08-26 Andrew Cagney <cagney@redhat.com>
* i386-linux-nat.c (ps_get_thread_area): Make "desc" four "int"s
	in size.  Add comments.
2003-08-26 19:34:53 +00:00
Jeff Johnston af8b88dd22 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (ia64_convert_from_func_addr): New function.
        (ia64_gdbarch_init): Call set_gdbarch_convert_from_func_addr().
2003-08-26 17:33:22 +00:00
Nick Clifton 093872ec2e Add German translation 2003-08-26 17:19:20 +00:00
Michael Snyder 2c848f79e9 2003-08-26 Michael Snyder <msnyder@redhat.com>
* cpu-frv.c: Remove unused enum.
2003-08-26 17:13:18 +00:00
Jason Merrill e0a4f5a19a * dwarf2read.c (dwarf_attr_name): Move DW_AT_MIPS_linkage_name
case out of #ifdef MIPS block.
2003-08-26 05:28:38 +00:00
Jason Merrill ef043731f4 switch to changelog mode 2003-08-26 05:18:23 +00:00
Daniel Jacobowitz 3c16457027 * PROBLEMS: Remove description of java/1322. 2003-08-26 03:08:32 +00:00
Daniel Jacobowitz 4ae9ee8e68 PR java/1322
* dwarf2-frame.c (dwarf2_frame_find_fde): Check whether any FDEs are
	available before calling SECT_OFF_TEXT.
2003-08-26 03:07:29 +00:00
Jason Eckhardt 0dee3be061 2003-08-25 Jason Eckhardt <jle@rice.edu>
* doc/c-i860.texi: Update text about relocatable address expansions.
2003-08-26 02:40:43 +00:00
Alan Modra dbd8c104d5 daily update 2003-08-26 00:00:06 +00:00
gdbadmin df6fcf5840 *** empty log message *** 2003-08-26 00:00:02 +00:00
Jeff Johnston 4630e4987c 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
* gdb.asm/asm-source.exp: Add ia64 support.
        * gdb.asm/ia64.inc: New file.
2003-08-25 23:43:40 +00:00
Jeff Johnston 004d836aa6 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
* ia64-tdep.c (pseudo_regs): New enum that lists gr32-gr127, p0-p63,
        bof, and nat0-nat127 as pseudo-registers.
        (ia64_frame_cache): New struct used to cache frame info.
        (ia64_register_reggroup_p): New routine used to override default
        register grouping so registers without names are still saved and
        restored.
        (ia64_dwarf_reg_to_regnum): New routine to map gr32-gr127 to their
        pseudo values.
        (ia64_pseudo_register_read): New routine to read pseudo-registers.
        (ia64_pseudo_register_write): New routine to write pseudo-registers.
        (ia64_alloc_frame_cache): New routine to create a new
        ia64_frame_cache.
        (examine_prologue): Change prototype to add next_frame pointer.
        Assume frameless until otherwise proven.  Verify that the cfm for
        current frame matches the cfm that should occur for the prologues
        alloc insn and if equal, mark as not frameless.  At end of routine,
        if not frameless, calculate registers for the previous frame and store
        in the cache, if a cache is provided.
        (ia64_skip_prologue):  Use new prototype when calling examine_prologue
        and pass 0 for next_frame.
        (ia64_store_return_value): Change to use convert_typed_floating()
        instead of calling ia64_convert_to_raw().
        (ia64_extract_return_value): Change to use convert_typed_floating()
        instead of calling ia64_convert_to_virtual().
        (ia64_frame_cache): New routine to support new frame model.
        (ia64_frame_this_id, ia64_frame_prev_register): Ditto.
        (ia64_frame_sniffer): Ditto.
        (ia64_sigtramp_frame_init_saved_regs): Ditto.
        (ia64_sigtramp_frame_cache, ia64_sigtramp_frame_this_id): Ditto.
        (ia64_sigtramp_frame_prev_register): Ditto.
        (ia64_sigtramp_frame_sniffer): Ditto.
        (ia64_frame_base_address): Ditto.
        (ia64_extract_struct_value_address): Change to issue error message.
        (ia64_frame_align): New routine to align sp.
        (ia64_push_dummy_call): New routine based on ia64_push_arguments().
        (ia64_push_arguments): Removed.  Logic moved to
        ia64_push_dummy_call().
        (ia64_push_return_address): Ditto.
        (ia64_unwind_dummy_id): New function.
        (ia64_unwind_pc): Ditto.
        (ia64_convert_register_p): Ditto.
        (ia64_register_to_value): Ditto.
        (ia64_value_to_register): Ditto.
        (ia64_pop_frame, ia64_pop_frame_regular): Removed.
        (ia64_register_byte, ia64_register_raw_size): Ditto.
        (ia64_register_virtual_size, ia64_register_virtual_byte): Ditto.
        (ia64_saved_pc_after_call): Ditto.
        (ia64_frame_chain, ia64_frame_saved_pc): Ditto.
        (ia64_frame_init_saved_regs, ia64_get_saved_register): Ditto.
        (ia64_register_convertible, ia64_register_convert_to_virtual): Ditto.
        (ia64_register_convert_to_raw): Ditto.
        (ia64_store_struct_return, ia64_call_dummy_words): Ditto.
        (ia64_init_extra_frame_info): Ditto.
        (ia64_frame_args_address, ia64_frame_locals_address): Ditto.
        (ia64_gdbarch_init): Remove registering of deprecated functions that
        are no longer used.  Add registration of new gdbarch functions.
        Remove registering deprecated_write_sp.  Replace
        set_gdbarch_register_virtual_type() with set_gdbarch_register_type().
        Delete set_gdbarch_deprecated_register_convertible(),
        set_gdbarch_deprecated_register_convert_to_virtual(), and
        set_gdbarch_deprecated_register_convert_to_raw() calls.  Remove
        set_gdbarch_deprecated_register_size(),
        set_gdbarch_deprecated_register_bytes(),
        set_gdbarch_pcregnum(),
        set_gdbarch_deprecated_register_byte(),
        set_gdbarch_deprecated_register_raw_size(),
        set_gdbarch_deprecated_max_register_raw_size(),
        set_gdbarch_deprecated_register_virtual_size(),
        and set_gdbarch_deprecated_max_register_virtual_size() calls.
        Replace set_gdbarch_deprecated_extract_return_value() with
        set_gdbarch_extract_return_value().  Remove calls to:
        set_gdbarch_deprecated_saved_pc_after_call();
        set_gdbarch_deprecated_frame_chain(),
        set_gdbarch_deprecated_frame_saved_pc(),
        set_gdbarch_deprecated_frame_init_saved_regs(),
        set_gdbarch_deprecated_get_saved_register(),
        set_gdbarch_deprecated_call_dummy_words(),
        set_gdbarch_deprecated_sizeof_call_dummy_words(),
        set_gdbarch_deprecated_init_extra_frame_info(),
        set_gdbarch_deprecated_frame_args_address(),
        set_gdbarch_deprecated_frame_locals_address(),
        and set_gdbarch_deprecated_dummy_write_sp().
        Add set_gdbarch_convert_register_p(),
        set_gdbarch_register_to_value(),
        set_gdbarch_value_to_register(),
        set_gdbarch_push_dummy_call(),
        set_gdbarch_frame_align(),
        set_gdbarch_unwind_dummy_id(),
        set_gdbarch_unwind_pc(),
        frame_unwind_append_sniffer(),
        frame_unwind_append_sniffer(),
        and frame_base_set_default().
2003-08-25 23:27:48 +00:00
Chris Demetriou aede7613bf 2003-08-25 Chris Demetriou <cgd@broadcom.com>
* configure.tgt: Document need for special "mipsisa64" handling.
        (mipsisa64*-*-linux64): Handle as target linux64.
        (mipsisa64*-*-*): Handle as target embed64.
2003-08-25 22:56:09 +00:00
Michael Chastain 43c3a82e5b 2003-08-18 Michael Chastain <mec@shout.net>
* PROBLEMS: Document pr gdb/1322, the Java anonymous
	objfile bug.
2003-08-25 18:16:19 +00:00
Maciej W. Rozycki 980491e6d5 2003-08-25 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* reloc.c: Fix documentation for MIPS ELF relocations.
libbfd.h: Regenerate.
bfd-in2.h: Regenerate.
2003-08-25 12:39:14 +00:00
Jason Eckhardt af858dae9d 2003-08-24 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c (md_assemble): Use isrc2 from the original
        instruction when expanding E_ADDR.
2003-08-25 02:48:14 +00:00
gdbadmin 3123f523be *** empty log message *** 2003-08-25 00:00:31 +00:00
Alan Modra 2ff3acebc0 daily update 2003-08-25 00:00:06 +00:00
Daniel Jacobowitz 85f8f9748e * NEWS: Mention fork tracing. 2003-08-24 21:21:11 +00:00
Jason Eckhardt 6d1227b86c 2003-08-24 Jason Eckhardt <jle@rice.edu>
* coff-i860.c (CALC_ADDEND): Define to be a no-op.
2003-08-24 20:54:05 +00:00
Jason Eckhardt f680ea79cc 2003-08-24 Jason Eckhardt <jle@rice.edu>
* elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and
	shift by 2 before storing the relocated value.
2003-08-24 18:16:46 +00:00
Mark Kettenis 2de139ba84 * i387-tdep.h: Update copyright date.
(I387_SIZEOF_FSAVE, I387_SIZEOF_FXSAVE): New defines.
2003-08-24 13:55:48 +00:00
Mark Kettenis 6564f77d9d * linux-proc.c (linux_proc_xfer_memory): Remove comment about
CFLAGS games to reflect reality.
2003-08-24 13:34:01 +00:00
Andrew Cagney 42cf1509a7 2003-08-24 Andrew Cagney <cagney@redhat.com>
* arm-tdep.c (_initialize_arm_tdep): Simplify by assuming
	GDB_MULTI_ARCH is always non-zero.
	* osabi.c (_initialize_gdb_osabi): Ditto.
	(gdbarch_init_osabi): Ditto.
	* sparc-tdep.c: Ditto for #if code.
2003-08-24 11:47:18 +00:00
Alan Modra 5c877b7234 daily update 2003-08-24 00:00:06 +00:00
gdbadmin db93e71f58 *** empty log message *** 2003-08-24 00:00:01 +00:00
Jason Eckhardt c28b1c2869 2003-08-23 Jason Eckhardt <jle@rice.edu>
[bfd/ChangeLog]
        * coff-i860.c (coff_i860_reloc_nyi): New function.
	(howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH,
	LOWn, SPLITn, and BRADDR.
	(RTYPE2HOWTO): Check that the r_type is within the howto_table
	before trying to access the entry.
	(coff_i860_rtype_to_howto): Likewise.
	(coff_i860_reloc_type_lookup): New function.
	(i860_reloc_processing): New function.
	(coff_bfd_reloc_type_lookup): Define macro.
	(RELOC_PROCESSING): Define macro.
	Minor formatting adjustments.

[include/coff/ChangeLog]
	* coff/i860.h (COFF860_R_PAIR, COFF860_R_LOW0, COFF860_R_LOW1,
	COFF860_R_LOW2, COFF860_R_LOW3, COFF860_R_LOW4, COFF860_R_SPLIT0,
	COFF860_R_SPLIT1, COFF860_R_SPLIT2, COFF860_R_HIGHADJ,
	COFF860_R_BRADDR): Define new relocation constants and document.
	Minor formatting adjustments.
2003-08-23 23:00:09 +00:00
Mark Kettenis 0485f6ad30 * x86-64-tdep.c (x86_64_supply_fxsave): Add `regnum' argument.
Update comments.
* x86-64-tdep.h (x86_64_supply_fxsave): Adjust prototype.  Update
comments.
* x86-64-linux-tdep.c (fetch_core_registers): Adjust call to
x86_64_supply_fxsave.
* x86-64-linux-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
* amd64fbsd-nat.c (supply_fpregset): Adjust call to
x86_64_supply_fxsave.
2003-08-23 13:58:18 +00:00
Andreas Jaeger c77161335b 2003-08-23 Andreas Jaeger <aj@suse.de>
* x86-64-tdep.c (x86_64_supply_fxsave): Adjust call to
        i387_supply_fxsave.
2003-08-23 12:21:14 +00:00