Hans-Peter Nilsson [Mon, 23 Jun 2003 00:40:23 +0000 (00:40 +0000)]
* configure.in (noconfigdirs) <cris-*-*>: Disable target-newlib
and target-libgloss.
<d30v-*-*, fr30-*-*, i960-*-*, m32r-*-*>: Disable gdb.
<h8300*-*-*>: Disable libf2c and ${libgcj}.
Alan Modra [Mon, 23 Jun 2003 00:09:44 +0000 (00:09 +0000)]
daily update
gdbadmin [Mon, 23 Jun 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 22 Jun 2003 18:32:49 +0000 (18:32 +0000)]
* symfile.c (add_symbol_file_command): Use parse_and_eval_address.
Suggested by Nick Hibma <n_hibma@webweaving.org>.
Daniel Jacobowitz [Sun, 22 Jun 2003 18:32:38 +0000 (18:32 +0000)]
* gdb.base/relocate.exp: Test add-symbol-file with a variable
offset.
Andrew Cagney [Sun, 22 Jun 2003 17:42:29 +0000 (17:42 +0000)]
2003-06-22 Andrew Cagney <cagney@redhat.com>
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil
Velikov.
Andrew Cagney [Sun, 22 Jun 2003 16:48:12 +0000 (16:48 +0000)]
2003-06-22 Andrew Cagney <cagney@redhat.com>
Written by matthew green <mrg@redhat.com>, with fixes from Aldy
Hernandez <aldyh@redhat.com>, Jim Wilson <wilson@redhat.com>, and
Nick Clifton <nickc@redhat.com>.
* ppc-instructions: Include altivec.igen and e500.igen.
(model_busy, model_data): Add vr_busy and vscr_busy.
(model_trace_release): Trace vr_busy and vscr_busy.
(model_new_cycle): Update vr_busy and vscr_busy.
(model_make_busy): Update vr_busy and vscr_busy.
* registers.c (register_description): Add Altivec and e500
registers.
* psim.c (psim_read_register, psim_read_register): Handle Altivec
and e500 registers.
* ppc-spr-table (SPEFSCR): Add VRSAVE and SPEFSCR registers.
* configure.in (sim_filter): When *altivec* add "av". When *spe*
or *simd* add e500.
(sim_float): When *altivec* define WITH_ALTIVEC. When *spe* add
WITH_E500.
* configure: Re-generate.
* e500.igen, altivec.igen: New files.
* e500_expression.h, altivec_expression.h: New files.
* idecode_expression.h: Update copyright. Include
"e500_expression.h" and "altivec_expression.h".
* e500_registers.h, altivec_registers.h: New files.
* registers.h: Update copyright. Include "e500_registers.h" and
"altivec_registers.h".
(registers): Add Altivec and e500 specific registers.
* Makefile.in (IDECODE_H): Add "idecode_e500.h" and
"idecode_altivec.h".
(REGISTERS_H): Add "e500_registers.h" and "altivec_registers.h".
(tmp-igen): Add dependencies on altivec.igen and e500.igen .
DJ Delorie [Sun, 22 Jun 2003 16:35:53 +0000 (16:35 +0000)]
merge from gcc
Daniel Jacobowitz [Sun, 22 Jun 2003 15:21:39 +0000 (15:21 +0000)]
* tui-hooks.c: Update include order.
* tui.c: Likewise.
* tuiCommand.c: Likewise.
* tuiData.c: Likewise.
* tuiDataWin.c: Likewise.
* tuiDisassem.c: Likewise.
* tuiGeneralWin.c: Likewise.
* tuiIO.c: Likewise.
* tuiLayout.c: Likewise.
* tuiRegs.c: Likewise.
* tuiSource.c: Likewise.
* tuiSourceWin.c: Likewise.
* tuiStack.c: Likewise.
* tuiWin.c: Likewise.
Daniel Jacobowitz [Sun, 22 Jun 2003 15:20:13 +0000 (15:20 +0000)]
* gdb.c++/pr-1210.cc: New file.
* gdb.c++/pr-1210.exp: New file.
Andrew Cagney [Sun, 22 Jun 2003 13:38:28 +0000 (13:38 +0000)]
2003-06-22 Andrew Cagney <cagney@redhat.com>
* interp.c (xfer_mem): Simplify. Only do a single partial
transfer. Problem reported by Tom Rix.
Andrew Cagney [Sun, 22 Jun 2003 13:36:26 +0000 (13:36 +0000)]
2003-06-22 Andrew Cagney <cagney@redhat.com>
From matthew green <mrg@redhat.com>:
* sim-fpu.h: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New prototypes.
* sim-fpu.c: Update copyright.
(sim_fpu_fraction, sim_fpu_guard): New inline functions.
Andrew Cagney [Sun, 22 Jun 2003 13:31:57 +0000 (13:31 +0000)]
Oops! Committed to much, reverting :-(
Andrew Cagney [Sun, 22 Jun 2003 13:29:17 +0000 (13:29 +0000)]
Fix changelog
Andrew Cagney [Sun, 22 Jun 2003 13:03:40 +0000 (13:03 +0000)]
2003-06-22 Andrew Cagney <cagney@redhat.com>
Problems reported by Joshua LeVasseur.
* emul_chirp.c: Update copyright.
(chirp_emul_nextprop): Return the first property.
* hw_htab.c: Update copyright.
(htab_decode_hash_table): Fix check for htab size.
Daniel Jacobowitz [Sun, 22 Jun 2003 04:28:04 +0000 (04:28 +0000)]
* gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.
Daniel Jacobowitz [Sun, 22 Jun 2003 04:27:24 +0000 (04:27 +0000)]
* Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
* agentexpr.texi: Retitle section, and change it to an appendix.
Comment out texinfo initialization. Factor a @var{} into two
pieces to prevent makeinfo warnings.
* gdb.texinfo: Add Agent Expressions appendix.
Daniel Jacobowitz [Sun, 22 Jun 2003 04:23:52 +0000 (04:23 +0000)]
* cli/cli-cmds.c (shell_escape): Silence warnings from old
compilers.
Andrew Cagney [Sun, 22 Jun 2003 04:03:15 +0000 (04:03 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* interrupts.c: Update copyright.
(external_interrupt): Fix test for already pending interrupt.
Problem found by Joshua LeVasseur.
Andrew Cagney [Sun, 22 Jun 2003 01:52:34 +0000 (01:52 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* ppc-instructions: Add missing +8 line. Found by blofeldus at
yahoo.com.
Andrew Cagney [Sun, 22 Jun 2003 01:16:38 +0000 (01:16 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
From Ian Lance Taylor <ian@airs.com>:
* hw_nvram.c (hw_nvram_init_address): Correct call to memset--swap
second and third arguments.
Andrew Cagney [Sun, 22 Jun 2003 00:51:44 +0000 (00:51 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* hw_com.c (hw_com_device_init_data): Check that the output, and
not input file opened. Pointed out by masahino tky3.3web.ne.jp.
DJ Delorie [Sun, 22 Jun 2003 00:06:14 +0000 (00:06 +0000)]
merge from gcc
Daniel Jacobowitz [Sun, 22 Jun 2003 00:04:27 +0000 (00:04 +0000)]
* lib/mi-support.exp (mi_run_cmd): Expect an MI response to
000-exec-continue.
gdbadmin [Sun, 22 Jun 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sat, 21 Jun 2003 23:27:53 +0000 (23:27 +0000)]
* c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
argument of val_print.
* cp-valprint.c (cp_print_value): Don't add the offset parameter
to the address argument of baseclass_offset or target_read_memory.
Do add it to the argument of cp_print_value_fields.
Andrew Cagney [Sat, 21 Jun 2003 23:14:44 +0000 (23:14 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c: Include "reggroups.h" and "sim-regno.h".
(mips_register_name): Return names for NUM_REGS..2*NUM_REGS
instead of 0..NUM_REGS.
(mips_register_reggroup_p): New function.
(mips_pseudo_register_write): New function.
(mips_pseudo_register_read): New function.
(mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size
based on the register's type.
(read_next_frame_reg): Simplify. Assert that REGNO is a pseudo /
cooked.
(mips_get_saved_register): Simplify. Assert that REGNO is a
pseudo / cooked.
(mips_register_byte): New function. Use MIPS_REGISTER_BYTE.
(mips_register_type): Replace mips_register_virtual_type. Map
NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE
when available.
(read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert
that the register is cooked / virtual.
(mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC.
Only get the extra info when needed.
(set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well.
(mips32_heuristic_proc_desc): Fetch the cooked register.
(heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto.
(mips_init_extra_frame_info, get_frame_pointer): Ditto.
(mips_print_register): Use gdbarch_register_type, instead of
REGISTER_VIRTUAL_TYPE.
(print_gp_register_row): Use gdbarch_register_type, instead of
REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM.
(mips_print_registers_info): Assert REGNO is pseodo / cooked.
Print the pseudo / cooked registers.
(mips_print_registers_info): Assert REGNO is pseodo / cooked.
Print the pseudo / cooked registers.
(mips_xfer_register): Use regcache_cooked_read_part. Assert that
REG_NUM is pseudo / cooked.
(mips_o32_xfer_return_value): Xfer the pseudo / cooked register.
(mips_n32n64_xfer_return_value): Ditto.
(mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS.
(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
(mips_register_sim_regno): New function.
(mips_gdbarch_init): Set deprecated_register_byte,
register_group_p, pseudo_register_write, pseudo_register_read,
register_sim_regno, and num_pseudo_regs. Set register_type,
instead of register_virtual_type.
* Makefile.in (mips-tdep.o): Update dependencies.
* config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename
REGISTER_VIRTUAL_TYPE.
* config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto.
* config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto.
* config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE.
* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto.
* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.
Thiemo Seufer [Sat, 21 Jun 2003 21:38:04 +0000 (21:38 +0000)]
* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): Remove
special handling for n32 ABI.
(macro): Likewise.
* gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI.
* gas/mips/elf-rel-xgot-n32.d: Likewise.
* gas/mips/jal-newabi.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
Daniel Jacobowitz [Sat, 21 Jun 2003 18:38:28 +0000 (18:38 +0000)]
* Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)
* cli/cli-cmds.c: Include "gdb_vfork.h".
(shell_escape): Use vfork.
Andrew Cagney [Sat, 21 Jun 2003 18:02:54 +0000 (18:02 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling
32 bit floating-point register saves.
Andrew Cagney [Sat, 21 Jun 2003 16:51:47 +0000 (16:51 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_unwind_get_saved_register): Delete.
* frame.c (deprecated_unwind_get_saved_register): Delete function.
* mips-tdep.c (mips_get_saved_register): Use frame_register_unwind
and deprecated_get_next_frame_hack instead of
deprecated_unwind_get_saved_register.
Andrew Cagney [Sat, 21 Jun 2003 16:37:33 +0000 (16:37 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* mips-tdep.c (mips_dump_tdep): Do not print
REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE.
Andrew Cagney [Sat, 21 Jun 2003 16:26:02 +0000 (16:26 +0000)]
2003-06-21 Andrew Cagney <cagney@redhat.com>
* frame.c (get_frame_register): New function.
(frame_unwind_register_signed): New function.
(get_frame_register_signed): New function.
(frame_unwind_register_unsigned): New function.
(get_frame_register_unsigned): New function.
* frame.h: Add comments on naming schema.
(get_frame_register, frame_unwind_register_signed): Declare.
(get_frame_register_signed, get_frame_register_signed): Declare.
(frame_unwind_register_unsigned): Declare.
(get_frame_register_unsigned): Declare.
Christian Groessler [Sat, 21 Jun 2003 12:20:08 +0000 (12:20 +0000)]
* gas/z8k: New directory.
* gas/z8k/dec.s: New file.
* gas/z8k/decbf.s: New file.
* gas/z8k/decf.s: New file.
* gas/z8k/eidi.s: New file.
* gas/z8k/eidif.s: New file.
* gas/z8k/inc.s: New file.
* gas/z8k/incbf.s: New file.
* gas/z8k/incf.s: New file.
* gas/z8k/inout.d: New file.
* gas/z8k/inout.s: New file.
* gas/z8k/jr-back.s: New file.
* gas/z8k/jr-backf.s: New file.
* gas/z8k/jr-forw.s: New file.
* gas/z8k/jr-forwf.s: New file.
* gas/z8k/ldk.s: New file.
* gas/z8k/ldkf.s: New file.
* gas/z8k/z8k.exp: New file.
gdbadmin [Sat, 21 Jun 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 21 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Theodore A. Roth [Fri, 20 Jun 2003 17:55:54 +0000 (17:55 +0000)]
* avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.
Frank Ch. Eigler [Fri, 20 Jun 2003 17:27:10 +0000 (17:27 +0000)]
2003-06-17 Doug Evans <dje@sebabeach.org>
* cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
with disassemble_info:read_memory_func.
* cgen-trace.c (sim_disasm_read_memory): Ditto.
Theodore A. Roth [Fri, 20 Jun 2003 16:55:51 +0000 (16:55 +0000)]
* avr-tdep.c (avr_read_pc): Use regcache instead of read_register.
(avr_read_sp): Ditto.
Daniel Jacobowitz [Fri, 20 Jun 2003 14:08:16 +0000 (14:08 +0000)]
* Makefile.in (SFILES): Update.
* low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c,
low-sun3.c: Remove files.
Daniel Jacobowitz [Fri, 20 Jun 2003 13:57:30 +0000 (13:57 +0000)]
* config/arm/linux.mt: Remove code protected by GDBSERVER define.
* config/arm/nm-linux.h: Likewise.
* config/arm/tm-linux.h: Likewise.
* config/ia64/nm-linux.h: Likewise.
* config/ia64/tm-ia64.h: Likewise.
* config/s390/tm-linux.h: Likewise.
* config/s390/tm-s390.h: Likewise.
* s390-nat.c: Likewise.
* s390-tdep.c: Likewise.
* config/i386/linux.mt: Don't set GDBSERVER_DEPFILES.
* config/ia64/linux.mt: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/linux.mt: Likewise.
* config/powerpc/linux.mh: Likewise.
* config/sh/linux.mt: Likewise.
Andrew Cagney [Fri, 20 Jun 2003 13:32:34 +0000 (13:32 +0000)]
2003-06-20 Andrew Cagney <cagney@redhat.com>
* sim_calls.c (sim_create_inferior): Assert that
psim_write_register succeeded.
(sim_fetch_register, sim_store_register): Make "regname" constant.
Delete Altivec hack. Return result from psim_read_register /
psim_write_register.
* psim.h (psim_read_register, psim_write_register): Change return
type to int. Update comments.
* psim.c: Update copyright.
(psim_stack): Assert that the psim_read_register worked.
(psim_read_register, psim_read_register): Return the register's
size. Allocate the cooked buffer dynamically.
* hw_register.c: Update copyright.
(do_register_init): Check that psim_write_register succeeded.
* hw_init.c: Update copyright.
(create_ppc_elf_stack_frame, create_ppc_aix_stack_frame): Assert
that the register transfer worked.
Alan Modra [Fri, 20 Jun 2003 12:35:30 +0000 (12:35 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Add top_id.
(ppc64_elf_setup_section_lists): Set it.
(ppc64_elf_relocate_section): Check sym section id against top_id.
(ppc_build_one_stub): Comment on top_id.
Kris Warkentin [Fri, 20 Jun 2003 12:23:18 +0000 (12:23 +0000)]
2003-06-19 Kris Warkentin <kewarken@qnx.com>
* solib.c (solib_open): Change tests for whether to search
LD_LIBRARY_PATH and PATH to better deal with remotes. Update
comments.
Nick Clifton [Fri, 20 Jun 2003 08:36:19 +0000 (08:36 +0000)]
Add tic4x-*-rtems*.
Theodore A. Roth [Fri, 20 Jun 2003 05:53:42 +0000 (05:53 +0000)]
* avr-tdep.c (avr_frame_address): Delete function.
(avr_gdbarch_init): Don't call set_gdbarch_frame_args_address,
set_gdbarch_frame_args_address.
Alan Modra [Fri, 20 Jun 2003 05:33:26 +0000 (05:33 +0000)]
* emultempl/ppc64elf.em: Convert to C90 function definitions, remove
unnecessary prototypes and casts.
Alan Modra [Fri, 20 Jun 2003 05:30:46 +0000 (05:30 +0000)]
* elf64-ppc.c: Convert to C90 function definitions, remove unnecessary
prototypes and casts. Replace PTR with void *. Format copyright.
Mention ABI links.
(struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt,
sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt.
(ppc_type_of_stub): Make r_type an enum.
(ppc64_elf_size_stubs): Likewise.
* elf64-ppc.h: Remove PARAMS macro.
Andrew Cagney [Fri, 20 Jun 2003 04:04:44 +0000 (04:04 +0000)]
2003-06-19 Andrew Cagney <cagney@redhat.com>
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete.
(REGISTER_CONVERT_FROM_TYPE): Delete.
(mips_register_convert_to_type): Delete declaration.
(mips_register_convert_from_type): Delete declaration.
* linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux
kernel/.
Andrew Cagney [Fri, 20 Jun 2003 03:59:33 +0000 (03:59 +0000)]
2003-06-19 Andrew Cagney <cagney@redhat.com>
* ld-insn.h: Update copyright.
(cache_fields): Define.
(insn_table_fields): Add insn_field_6 and insn_field_7.
(load_insn_table): Pass in the "cache_rules".
* ld-insn.c: Update copyright.
(load_insn_table): Add parameter "cache_rules". Handle "cache",
"computed" and "scratch" fields.
(main): Pass "cache_rules" to load_insn_table.
* ld-cache.h: Update copyright.
(append_cache_table): Declare.
* ld-cache.c: Update copyright.
(append_cache_table): New function.
(load_cache_table): Call.
* gen-model.c: Include "ld-cache.h".
* gen-itable.c: Include "ld-cache.h".
* igen.c: Move #include "ld-cache.h" to earlier. Update
copyright.
(main): Permit a NULL "cache_rules". Pass address of
"cache_rules" to load_insn_table.
* Makefile.in (tmp-ld-insn): Add "ld-cache.o".
(tmp-igen): Do not include ppc-cache-rules.
(gen-itable.o, gen-model.o): Add "ld-cache.h".
* ppc-cache-rules: Delete file.
* ppc-instructions: Add cache rules.
gdbadmin [Fri, 20 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 20 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Michael Snyder [Thu, 19 Jun 2003 22:52:04 +0000 (22:52 +0000)]
2003-06-19 Michael Snyder <msnyder@redhat.com>
* linux-nat.h: New file.
* linux-nat.c: Include linux-nat.h.
* lin-lwp.c: Include linux-nat.h.
Move struct lwp_info def to linux-nat.h.
* linux-proc.c: Include linux-nat.h.
(linux_make_note_section): Iterate over lwps instead of threads.
(linux_do_thread_registers): Use lwp instead of merged pid.
* config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h.
* Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o):
Add dependency on linux_nat_h.
Theodore A. Roth [Thu, 19 Jun 2003 21:14:59 +0000 (21:14 +0000)]
* avr-tdep.c (avr_extract_return_value): Delete debugging fprintf.
Daniel Jacobowitz [Thu, 19 Jun 2003 20:40:40 +0000 (20:40 +0000)]
* varobj.c (get_type, get_target_type): Use check_typedef.
DJ Delorie [Thu, 19 Jun 2003 20:05:36 +0000 (20:05 +0000)]
merge from gcc
Daniel Jacobowitz [Thu, 19 Jun 2003 20:02:41 +0000 (20:02 +0000)]
* breakpoint.c (insert_catchpoint): Call internal_error.
Theodore A. Roth [Thu, 19 Jun 2003 19:29:09 +0000 (19:29 +0000)]
* avr-tdep.c (avr_push_dummy_code): Delete function.
(avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code.
Andrew Cagney [Thu, 19 Jun 2003 18:42:30 +0000 (18:42 +0000)]
2003-06-19 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ICACHE_CFLAGS, SEMANTICS_CFLAGS): Delete.
(SIM_FPU_FLAGS): Define.
(icache.o): Delete explicit compile command.
(semantics.o, idecode.o): Delete explicit compile command.
(NOWARN_CFLAGS, STD_CFLAGS): Append SIM_FPU_CFLAGS.
* gen-support.c (gen_support_c): Generate #include of
"sim-inline.h" and "sim-fpu.h", but conditional on
HAVE_COMMON_FPU.
* gen-idecode.c (gen_idecode_c): Ditto.
* igen.c (gen_icache_c, gen_semantics_c): Wrap #include of
"sim-inline.h" and "sim-fpu.h" in HAVE_COMMON_FPU conditional.
Move to before "support.h".
* Makefile.in, gen-support.c, gen-idecode.c, igen.c: Update
copyright.
Thiemo Seufer [Thu, 19 Jun 2003 16:43:38 +0000 (16:43 +0000)]
Revert 2003-06-11 change.
Alan Modra [Thu, 19 Jun 2003 15:11:26 +0000 (15:11 +0000)]
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init of
elf hash tab fields.
Daniel Jacobowitz [Thu, 19 Jun 2003 15:04:58 +0000 (15:04 +0000)]
* arch-utils.c (default_prepare_to_proceed): Remove.
(generic_prepare_to_proceed): Remove.
* arch-utils.h (default_prepare_to_proceed): Remove prototype.
(generic_prepare_to_proceed): Remove prototype.
* gdbarch.sh (PREPARE_TO_PROCEED): Remove.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype.
* hppah-nat.c (hppa_switched_threads): Remove.
* infrun.c (prepare_to_proceed): New static function, copied from
generic_prepare_to_proceed. Remove select_it argument.
(proceed): Call prepare_to_proceed.
* infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove
variables.
(ptrace_wait): Don't set the removed variables.
(hppa_switched_threads): Remove.
* lin-lwp.c (lin_lwp_prepare_to_proceed): Remove.
* config/nm-linux.h (PREPARE_TO_PROCEED): Don't define.
(lin_lwp_prepare_to_proceed): Remove prototype.
* config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine.
* config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define.
Daniel Jacobowitz [Thu, 19 Jun 2003 15:04:05 +0000 (15:04 +0000)]
* gdbint.texinfo (Native Conditionals): Remove PREPARE_TO_PROCEED.
Alan Modra [Thu, 19 Jun 2003 13:51:05 +0000 (13:51 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out
statistics from ppc64_elf_build_stubs.
Alan Modra [Thu, 19 Jun 2003 13:50:35 +0000 (13:50 +0000)]
* elf64-ppc.c (ppc64_elf_reloc_type_lookup): Tidy prototype.
(ppc64_elf_info_to_howto): Likewise.
(ppc64_elf_build_stubs): Add "stats" param, and print statistics.
* elf64-ppc.h (ppc64_elf_build_stubs): Adjust prototype.
Christian Groessler [Thu, 19 Jun 2003 13:46:37 +0000 (13:46 +0000)]
* z8k-dis.c (instr_data_s): Change tabl_index from long to int.
(print_insn_z8k): Correctly check return value from
z8k_lookup_instr call.
(unparse_instr): Handle CLASS_IRO case.
* z8kgen.c: Fix function definitions. Fix formatting.
(opt): Add brk opcode alias for non-simulator breakpoint. Add
missing and fix existing in/out and sin/sout opcode definitions.
(args): "@ri", "@ro" - add CLASS_IRO register usage for in/out
opcodes.
(internal): Check p->flags for non-zero before dereferencing it.
(gas): Add CLASS_IRO line. Insert new OPC_xxx lines for the added
opcodes and renumber the remaining lines repectively.
(main): Remove "-d" command line switch.
* z8k-opc.h: Regenerate with new z8kgen.c.
Christian Groessler [Thu, 19 Jun 2003 13:44:42 +0000 (13:44 +0000)]
* config/tc-z8k.c (parse_reg): Invalid registers generate an error
now, not only a warning. Add some more checks to detect invalid
registers.
(get_operand): For CLASS_IR remember register size in mode struct.
(get_specific): Handle new CLASS_IRO type. Add register size
checks for CLASS_IR and CLASS_IRO.
(md_apply_fix3): Fix undefined usage of buf.
Alan Modra [Thu, 19 Jun 2003 13:21:53 +0000 (13:21 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore R_SPARC_DISP32
reloc overflow on discarded eh_frame entries.
Alan Modra [Thu, 19 Jun 2003 11:51:55 +0000 (11:51 +0000)]
* emultempl/ppc64elf.em (build_section_lists): Check return status
from ppc64_elf_next_input_section.
Alan Modra [Thu, 19 Jun 2003 11:49:02 +0000 (11:49 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): New function.
(ppc64_elf_next_input_section): Use it here to set has_gp_reloc.
Return error condition.
(ppc64_elf_size_stubs): Restrict toc adjusting stubs to sections
that have has_gp_reloc set.
(struct ppc_link_hash_table): Add stub_count.
(ppc_build_one_stub): Increment it.
(ppc64_elf_link_hash_table_create): zmalloc rather than clearing
individual fields.
* elf64-ppc.h (ppc64_elf_next_input_section): Update prototype.
Nick Clifton [Thu, 19 Jun 2003 10:24:52 +0000 (10:24 +0000)]
oops - remove spurious debugging left in previous delta
Nick Clifton [Thu, 19 Jun 2003 10:23:39 +0000 (10:23 +0000)]
When printing DEC_5 values, if the number is bigger than 99999 switch to using
hexadecimal notation.
Theodore A. Roth [Thu, 19 Jun 2003 08:09:54 +0000 (08:09 +0000)]
* avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and
trad-frame.h.
(AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64.
(AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define.
(AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define.
(AVR_PROLOGUE_*): Enumerate prologue types.
(struct frame_extra_info): Remove.
(struct avr_unwind_cache): Define.
(avr_write_sp): Delete function.
(avr_read_fp): Ditto.
(avr_init_extra_frame_info): Ditto.
(avr_pop_frame): Ditto.
(avr_frame_saved_pc): Ditto.
(avr_saved_pc_after_call): Ditto.
(avr_push_return_address): Ditto.
(avr_frame_chain): Ditto.
(avr_store_struct_return): Ditto.
(avr_push_arguments): Ditto.
(avr_scan_prologue): Update comments. Changed to set up the info for
cache unwinding. Now returns end of prologue PC.
(avr_skip_prologue): Better handling of functions lacking a prologue
by using avr_scan_prologue.
(avr_scan_arg_moves): New function.
(avr_saved_regs_unwinder): Ditto.
(avr_frame_unwind_cache): Ditto.
(avr_unwind_pc): Ditto.
(avr_frame_this_id): Ditto.
(avr_frame_prev_register): Ditto.
(avr_frame_p): Ditto.
(avr_frame_base_address ): Ditto.
(avr_unwind_dummy_id): Ditto.
(avr_push_dummy_code): Ditto.
(push_stack_item): Ditto.
(pop_stack_item): Ditto.
(avr_push_dummy_call): Ditto.
(struct stack_item): Define.
(avr_frame_unwind): Declare structure.
(avr_frame_base): Ditto.
(avr_gdbarch_init): Remove calls to
set_gdbarch_deprecated_init_frame_pc,
set_gdbarch_deprecated_target_read_fp,
set_gdbarch_deprecated_dummy_write_sp,
set_gdbarch_deprecated_fp_regnum,
set_gdbarch_deprecated_push_arguments,
set_gdbarch_deprecated_push_return_address,
set_gdbarch_deprecated_pop_frame,
set_gdbarch_deprecated_store_struct_return,
set_gdbarch_deprecated_frame_init_saved_regs,
set_gdbarch_deprecated_init_extra_frame_info,
set_gdbarch_deprecated_frame_chain,
set_gdbarch_deprecated_frame_saved_pc,
set_gdbarch_deprecated_saved_pc_after_call.
Add calls to set_gdbarch_push_dummy_call,
set_gdbarch_push_dummy_code,
frame_unwind_append_predicate,
frame_base_set_default,
set_gdbarch_unwind_dummy_id,
set_gdbarch_unwind_pc.
Wrap a long line.
Nick Clifton [Thu, 19 Jun 2003 07:45:50 +0000 (07:45 +0000)]
Replace occurances of testprog with $test_prog. Initialise this variable to
testprog.exe on Cygwin targeted systems.
Michael Snyder [Thu, 19 Jun 2003 03:18:49 +0000 (03:18 +0000)]
2003-06-18 Corinna Vinschen <vinschen@redhat.com>
* h8300-tdep.c (h8300s_register_name): Enable MACH and MACL
registers for H8/300S.
(h8300_print_registers_info): Ditto.
(h8300_gdbarch_init): Accommodate register count for H8/300S.
Michael Snyder [Thu, 19 Jun 2003 02:56:24 +0000 (02:56 +0000)]
Fix typo.
Michael Snyder [Thu, 19 Jun 2003 02:40:12 +0000 (02:40 +0000)]
2003-05-30 Alexandre Oliva <aoliva@redhat.com>
* allinsn.exp: Fix typos introduced on 2003-05-27.
2003-05-29 Michael Snyder <msnyder@redhat.com>
* tas.s: Use er4 for h8h and h8s, er3 for h8sx.
2003-05-28 Michael Snyder <msnyder@redhat.com>
* subs.s: New file.
* subx.s: New file.
* allinsn.exp: Add new subs and subx tests.
* testutils.inc: Simplify (and fix) set_carry_flag.
(clear_carry_flag, set_zero_flag, clear_zero_flag...): New macros.
* addx.s: Use simplified set_carry_flag.
2003-05-27 Michael Snyder <msnyder@redhat.com>
* tas.s: New file.
* band.s: New file.
* biand.s: New file.
* allinsn.exp: Add tas, band, biand tests.
* brabc.s: Add abs8 test.
* bset.s: Add bset/ne, bclr/ne tests.
2003-05-23 Michael Snyder <msnyder@redhat.com>
* and.b.s: Add andc exr.
* or.b.s: Add orc.exr.
* xor.b.s: Add xor exr.
* jmp.s: Fix 8-bit indirect test. Add 7-bit vector test.
2003-05-22 Michael Snyder <msnyder@redhat.com>
* stack.s: Add rte/l and rts/l tests.
* allinsn.exp: Add stack tests.
2003-05-21 Michael Snyder <msnyder@redhat.com>
* stack.s: New file: test stack operations.
* stack.s: Add bsr, jsr tests.
* stack.s: Add trapa, rte tests.
* div.s: Corrections for size of dividend.
2003-05-20 Michael Snyder <msnyder@redhat.com>
* mul.s: Corrections for unsigned multiply.
* div.s: New file, test div instructions.
* allinsn.exp: Add div test.
2003-05-19 Michael Snyder <msnyder@redhat.com>
* mul.s: New file, test mul instructions.
* allinsn.exp: Add mul test.
Michael Snyder [Thu, 19 Jun 2003 02:14:14 +0000 (02:14 +0000)]
2003-06-18 Michael Snyder <msnyder@redhat.com>
* compile.c: Replace "Hitachi" with "Renesas".
(decode): Distinguish AV_H8S from AV_H8H.
(sim_resume): H8SX can use any register for TAS.
(decode): Add support for VECIND.
(sim_resume): Implement rte/l and rts/l.
(GETSR): New macro (actually old macro reincarnated).
(decode): Add handling for IMM2.
(sim_resume): Drop extra block around jmp, jsr, rts.
Add handling for trapa and rte.
For divxu.b, change 0xffff mask to 0xff.
(set_h8300h): Add bfd_mach_h8300sxn machine.
Michael Snyder [Thu, 19 Jun 2003 01:54:22 +0000 (01:54 +0000)]
2003-06-18 Corinna Vinschen <vinschen@redhat.com>
* sim-main.h (enum h8_regnum): Turn around order of MACH, MACL
and SBR, VBR (for benefit of gdb).
Daniel Jacobowitz [Thu, 19 Jun 2003 01:31:47 +0000 (01:31 +0000)]
* gdb.texinfo (Remote Debugging): New section "Connecting to a
remote target". Document the "detach" and "disconnect" commands.
(Server, Netware, Debug Session): Reference "Connecting to a
remote target".
(GDB/MI Target Manipulation): Document "-target-disconnect".
Michael Snyder [Thu, 19 Jun 2003 00:49:33 +0000 (00:49 +0000)]
2003-06-05 Michael Snyder <msnyder@redhat.com>
* compile.c (sim_fetch_register): Handle SBR, VBR, MACH, MACL.
(sim_store_register): Ditto.
gdbadmin [Thu, 19 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 19 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 18 Jun 2003 23:33:31 +0000 (23:33 +0000)]
* config/nm-linux.h (linux_record_stopped_pid): New prototype.
* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
(lin_lwp_wait): Likewise. Update comments.
* linux-nat.c (struct simple_pid_list, add_to_pid_list)
(pull_pid_from_list, linux_record_stopped_pid): New.
Alan Modra [Wed, 18 Jun 2003 23:05:44 +0000 (23:05 +0000)]
* config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.
(ppc_change_csect): Add align param. Align frag at start of csect.
(ppc_section, ppc_named_section): Adjust ppc_change_csect calls.
(ppc_frob_section): Align vma.
Jakub Jelinek [Wed, 18 Jun 2003 17:58:48 +0000 (17:58 +0000)]
* dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.
(output_cie): Don't pad.
(output_fde): Add align argument. Pad to align if not 0.
(cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT.
Pad just last FDE to EH_FRAME_ALIGNMENT.
* gas/cfi/cfi-i386.d: Regenerated.
* gas/cfi/cfi-common-1.d: Regenerated.
* gas/cfi/cfi-common-2.d: Regenerated.
* gas/cfi/cfi-common-3.d: Regenerated.
* gas/cfi/cfi-x86_64.d: Regenerated.
* gas/cfi/cfi-alpha-1.d: Regenerated.
* gas/cfi/cfi-alpha-2.d: Regenerated.
* gas/cfi/cfi-alpha-3.d: Regenerated.
Martin Schwidefsky [Wed, 18 Jun 2003 11:18:46 +0000 (11:18 +0000)]
* config/tc-s390.c (init_default_arch): Make current_mode_mask
dependent on s390_arch_size and current_cpu dependent on
current_mode_mask.
Nick Clifton [Wed, 18 Jun 2003 09:49:59 +0000 (09:49 +0000)]
Add c4x as an architecture variant to tic4x.
Alan Modra [Wed, 18 Jun 2003 05:18:06 +0000 (05:18 +0000)]
* elflink.h (elf_gc_record_vtentry): Revert last change. Correct
size calculation from addend. Round size up.
Hans-Peter Nilsson [Wed, 18 Jun 2003 04:14:14 +0000 (04:14 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case
R_CRIS_32_GOTREL>: When linking a program, don't complain about a
symbol from a normal object or an undefined weak symbol.
Hans-Peter Nilsson [Wed, 18 Jun 2003 04:11:13 +0000 (04:11 +0000)]
* ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d,
ld-cris/locref2.s: New tests.
Hans-Peter Nilsson [Wed, 18 Jun 2003 03:38:05 +0000 (03:38 +0000)]
* ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain
readelf as found using default path.
Alan Modra [Wed, 18 Jun 2003 03:27:18 +0000 (03:27 +0000)]
* config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other than
".TOC." from PPC64_TOC relocs.
Alan Modra [Wed, 18 Jun 2003 03:26:22 +0000 (03:26 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Accept a symbol on
R_PPC64_TOC relocs.
DJ Delorie [Wed, 18 Jun 2003 02:25:31 +0000 (02:25 +0000)]
* configure.in: Update testsuite_flags to new location.
* configure. Regenerate.
Alan Modra [Wed, 18 Jun 2003 01:55:57 +0000 (01:55 +0000)]
* lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before
trying to trim ld path.
(default_ld_compile): Likewise for cc.
Chris Demetriou [Wed, 18 Jun 2003 01:12:03 +0000 (01:12 +0000)]
2003-06-17 Richard Sandiford <rsandifo@redhat.com>
* mips.igen (do_dmultx): Fix check for negative operands.
H.J. Lu [Wed, 18 Jun 2003 00:30:04 +0000 (00:30 +0000)]
bfd/
2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
* section.c (struct sec): Put back kept_section.
(STD_SECTION): Put back kept_section initialization.
* bfd-in2.h: Regenerate.
* elflink.h (elf_link_input_bfd): Also check discarded linkonce
sections for relocateable output. Use kept_section to preserve
debug information discarded by linkonce.
ld/
2003-06-17 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (section_already_linked): Put back assignment of
kept_section.
Alan Modra [Wed, 18 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 18 Jun 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***