OSDN Git Service
Hans-Peter Nilsson [Sat, 8 Apr 2006 17:37:23 +0000 (17:37 +0000)]
* sim/cris/hw/rv-n-cris/irq6.ms: New test.
Alan Modra [Sat, 8 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 8 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
David S. Miller [Fri, 7 Apr 2006 23:34:26 +0000 (23:34 +0000)]
Fix typo in previous commit.
David S. Miller [Fri, 7 Apr 2006 21:42:33 +0000 (21:42 +0000)]
* linux-nat.c (linux_nat_thread_alive): Handle targets that
do not implement PTRACE_PEEKUSER.
Daniel Jacobowitz [Fri, 7 Apr 2006 16:15:58 +0000 (16:15 +0000)]
* remote.c (remote_wait): Convert warning to error before
parsing corrupt packets.
Nick Clifton [Fri, 7 Apr 2006 15:18:08 +0000 (15:18 +0000)]
Add support for attiny261, attiny461, attiny861, attiny25, attiny45,
attiny85, attiny24, attiny44, attiny84, at90pwm2, at90pwm3, atmega164,
atmega324, atmega644, atmega329, atmega3290, atmega649, atmega6490,
atmega406, atmega640, atmega1280, atmega1281, at90can32, at90can64,
at90usb646, at90usb647, at90usb1286 and at90usb1287.
Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
Nick Clifton [Fri, 7 Apr 2006 14:55:29 +0000 (14:55 +0000)]
* elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
(elf64_hppa_grok_psinfo): Likewise.
(elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
Andrew Stubbs [Fri, 7 Apr 2006 13:31:15 +0000 (13:31 +0000)]
2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
gdb/
* cli/cli-script.c (struct user_args): Add command field.
(arg_cleanup): Free command string.
(setup_user_args): Copy the command line before relying on it.
gdb/testsuite/
* gdb.base/commands.exp (recursive_source_test): New test.
DJ Delorie [Fri, 7 Apr 2006 01:08:34 +0000 (01:08 +0000)]
* elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
each plt entry we create.
DJ Delorie [Fri, 7 Apr 2006 00:01:28 +0000 (00:01 +0000)]
merge from gcc
Alan Modra [Fri, 7 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 7 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Carlos O'Donell [Thu, 6 Apr 2006 21:49:35 +0000 (21:49 +0000)]
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
H.J. Lu [Thu, 6 Apr 2006 18:52:46 +0000 (18:52 +0000)]
bfd/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
section structure.
include/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Replace need_relax_finalize with
relax_pass.
ld/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
link_info.need_relax_finalize.
* ldlang.c (relax_sections): New.
(lang_process): Use. Call relax_sections link_info.relax_pass
times.
* ldmain.c (main): Set link_info.relax_pass to 1. Remove
link_info.need_relax_finalize.
Joel Brobecker [Thu, 6 Apr 2006 18:33:05 +0000 (18:33 +0000)]
* breakpoint.c (_initialize_breakpoint): Add "del" as an alias
of the "delete" command.
Randolph Chung [Thu, 6 Apr 2006 15:12:47 +0000 (15:12 +0000)]
2006-04-06 Randolph Chung <tausq@debian.org>
* MAINTAINERS (Patch champions): Add myself.
Bernd Schmidt [Thu, 6 Apr 2006 11:45:01 +0000 (11:45 +0000)]
* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
eliminate warnings.
Nick Clifton [Thu, 6 Apr 2006 10:09:41 +0000 (10:09 +0000)]
Updated Vietnamese translation.
Alan Modra [Thu, 6 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 6 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andreas Schwab [Wed, 5 Apr 2006 21:51:11 +0000 (21:51 +0000)]
* Makefile.in: Update dependencies.
H.J. Lu [Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
James E Wilson <wilson@specifixinc.com>
PR ld/2442
* elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
(elfNN_ia64_local_hash_entry): Add count, sorted_count and
size.
(elfNN_ia64_link_hash_entry): Likewise.
(elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
and size.
(elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
processing.
(elfNN_ia64_hash_hide_symbol): Likewise.
(elfNN_ia64_global_dyn_sym_thunk): Likewise.
(elfNN_ia64_local_dyn_sym_thunk): Likewise.
(elfNN_ia64_global_dyn_info_free): New function.
(elfNN_ia64_local_dyn_info_free): Likewise.
(elfNN_ia64_hash_table_free): Free local and global
elfNN_ia64_dyn_sym_info.
(addend_compare): New function.
(sort_dyn_sym_info): Likewise.
(get_dyn_sym_info): Updated to use binary search for addend.
(elfNN_ia64_check_relocs): Scan relocations to create dynamic
relocation arrays first.
Bernd Schmidt [Wed, 5 Apr 2006 20:46:15 +0000 (20:46 +0000)]
Fix -Werror problem in previous change.
David S. Miller [Wed, 5 Apr 2006 20:27:08 +0000 (20:27 +0000)]
* sparc-linux-tdep.c (sparc32_linux_init_abi): Append
dwarf2 frame sniffer.
* Makefile.in (sparc-linux-tdep.o): Update dependencies.
David S. Miller [Wed, 5 Apr 2006 20:01:19 +0000 (20:01 +0000)]
* dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
argument.
(dwarf2_frame_default_init_reg): Likewise.
(dwarf2_frame_set_init_reg): Update init_reg arg.
(dwarf2_frame_init_reg): Take "next_frame" and pass it to
ops->init_reg().
(dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
* dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
* cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
* s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
* sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
* sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
* sparc-tdep.c (sparc32_struct_return_from_sym): New function.
(sparc32_frame_cache): Call it.
(sparc32_dwarf2_struct_return_p): New function.
(sparc_dwarf2_frame_init_reg): Use it to determine if the function
returns a structure and thus we have to indicate the return PC and
NPC are 4 bytes later than usual.
Bernd Schmidt [Wed, 5 Apr 2006 19:57:36 +0000 (19:57 +0000)]
* elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
symbol.
David S. Miller [Wed, 5 Apr 2006 19:19:12 +0000 (19:19 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
window out of the correct stack frame.
* sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
David S. Miller [Wed, 5 Apr 2006 18:35:39 +0000 (18:35 +0000)]
* sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
(sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
* Makefile.in (sparc-tdep.o): Update dependencies.
H.J. Lu [Wed, 5 Apr 2006 13:37:32 +0000 (13:37 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2411
* elflink.c (check_dynsym): New.
(elf_link_output_extsym): Use it.
(bfd_elf_final_link): Likewise.
H.J. Lu [Wed, 5 Apr 2006 13:36:32 +0000 (13:36 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2404
* elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
symbol from the dynamic definition with the default version if
its type and the type of existing regular definition mismatch.
Richard Sandiford [Wed, 5 Apr 2006 12:41:57 +0000 (12:41 +0000)]
bfd/
* config.bfd (sparc-*-vxworks*): New stanza.
* configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
(bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
* configure: Regenerate.
* elf32-sparc.c: Include elf-vxworks.h.
(elf32_sparc_vxworks_link_hash_table_create: New.
(elf32_sparc_vxworks_final_write_processing): New.
(TARGET_BIG_SYM): Override for VxWorks.
(TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
(bfd_elf32_bfd_link_hash_table_create): Likewise.
(elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
(elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing, elf32_bed): Likewise.
* elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
(sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
(sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
(_bfd_sparc_elf_link_hash_table_create): Don't initialize
build_plt_entry here.
(create_got_section): Initialize sgotplt for VxWorks.
(_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
plt_header_size and plt_entry_size, with new VxWorks-specific settings.
Call elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use plt_header_size and plt_entry_size.
Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
(_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
for VxWorks. Check for the .got.plt section.
(sparc_vxworks_build_plt_entry): New function.
(_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
absolute on VxWorks.
(sparc32_finish_dyn): Add special handling for DT_RELASZ
and DT_PLTGOT on VxWorks.
(sparc_vxworks_finish_exec_plt): New.
(sparc_vxworks_finish_shared_plt): New.
(_bfd_sparc_elf_finish_dynamic_sections): Call them.
Use plt_header_size and plt_entry_size.
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
* Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
(elf32-sparc.lo): Likewise.
* Makefile.in: Regenerate.
* targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
(_bfd_target_vector): Add a pointer to it.
gas/
* config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
(GOTT_BASE, GOTT_INDEX): New.
(tc_gen_reloc): Don't alter relocations against GOTT_BASE and
GOTT_INDEX when generating VxWorks PIC.
* configure.tgt (sparc*-*-vxworks*): Remove this special case;
use the generic *-*-vxworks* stanza instead.
gas/testsuite/
* gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test.
* gas/sparc/sparc.exp: Run it. Remove sparc*-*-vxworks* XFAILs.
ld/
* configure.tgt (sparc*-*-vxworks*): New stanza.
* emulparams/elf32_sparc_vxworks.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
(eelf32_sparc_vxworks.c): New rule.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
* ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
* ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
* ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
* ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
* ld-sparc/sparc.exp: Run them.
Alan Modra [Wed, 5 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 5 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
David S. Miller [Tue, 4 Apr 2006 23:17:41 +0000 (23:17 +0000)]
* gdb.base/float.exp: Add pattern for sparc targets.
David S. Miller [Tue, 4 Apr 2006 22:14:52 +0000 (22:14 +0000)]
* Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
new includes.
David S. Miller [Tue, 4 Apr 2006 21:53:45 +0000 (21:53 +0000)]
* config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
* config/linux64.h (NATDEPFILES): Likewise
* sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
fill_fpregset): New.
* sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
fill_fpregset): New.
Andreas Schwab [Tue, 4 Apr 2006 17:06:36 +0000 (17:06 +0000)]
* Makefile.in (elf_common_h): Define.
Alan Modra [Tue, 4 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 4 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Stubbs [Mon, 3 Apr 2006 14:31:14 +0000 (14:31 +0000)]
2006-04-03 Andrew Stubbs <andrew.stubbs@st.com>
* sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
(sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
Hans-Peter Nilsson [Mon, 3 Apr 2006 03:05:00 +0000 (03:05 +0000)]
* sim/cris/hw: New directory for subdirectories with tests.
* sim/cris/hw/rv-n-cris: New directory with tests.
Hans-Peter Nilsson [Mon, 3 Apr 2006 03:01:45 +0000 (03:01 +0000)]
* cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
* cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
(dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
(all): Depend on rvdummy$(EXEEXT).
* cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
default off.
* cris/configure: Regenerate.
* cris/cris-sim.h (cris_have_900000xxif): Declare here.
(enum cris_interrupt_type, crisv10deliver_interrupt)
(crisv32deliver_interrupt: New declarations.
* cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
sim_events_tickn and set state-events member work_pending when it's
time for the next event.
[WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
interrupt-delivery function.
* cris/crisv10f.c (MY (deliver_interrupt)): New function.
* cris/crisv32f.c (MY (deliver_interrupt)): New function.
* cris/devices.c: Include hw-device.h.
(device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
(device_io_write_buffer): Only perform 0x900000xx-functions if
cris_have_900000xxif is nonzero. Else if WITH_HW defined,
call hw_io_write_buffer. Add return 0 last in function.
* cris/sim-if.c (cris_have_900000xxif): Now global.
(sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
Force "-model" option, effectively.
* cris/sim-main.h (cris_interrupt_delivery_fn): New type.
(struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
gdbadmin [Mon, 3 Apr 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 3 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Hans-Peter Nilsson [Sun, 2 Apr 2006 12:46:42 +0000 (12:46 +0000)]
* cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
(CRISV32F_OBJS): Remove semcrisv32f-switch.o.
(semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
Hans-Peter Nilsson [Sun, 2 Apr 2006 11:43:44 +0000 (11:43 +0000)]
* sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
(testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto. Correct
syntax.
Hans-Peter Nilsson [Sun, 2 Apr 2006 11:31:41 +0000 (11:31 +0000)]
* sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp for
stack pointer values.
Alan Modra [Sun, 2 Apr 2006 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 2 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
gdbadmin [Sat, 1 Apr 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 1 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
DJ Delorie [Fri, 31 Mar 2006 23:01:16 +0000 (23:01 +0000)]
merge from gcc
Michael Snyder [Fri, 31 Mar 2006 21:36:27 +0000 (21:36 +0000)]
file reverse.c was initially added on branch msnyder-reverse-
20060331-branch.
Michael Snyder [Fri, 31 Mar 2006 19:47:11 +0000 (19:47 +0000)]
2006-03-31 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Update copyright dates.
Nathan Sidwell [Fri, 31 Mar 2006 15:31:55 +0000 (15:31 +0000)]
file reg-cf.dat was initially added on branch gdb-csl-
20060226-branch.
Eli Zaretskii [Fri, 31 Mar 2006 14:17:58 +0000 (14:17 +0000)]
Fix last change.
Eli Zaretskii [Fri, 31 Mar 2006 14:14:28 +0000 (14:14 +0000)]
* gdb.texinfo (Overview): Add an index entry to "empty response".
Alan Modra [Fri, 31 Mar 2006 11:43:14 +0000 (11:43 +0000)]
* pdp11-opc.c (pdp11_opcodes): Fix opcode for SEC instruction.
Andrew Stubbs [Fri, 31 Mar 2006 10:36:18 +0000 (10:36 +0000)]
2006-03-31 Andrew Stubbs <andrew.stubbs@st.com>
* value.h (struct internalvar): Add field 'endian'.
* value.c (lookup_internalvar): Initialise endian.
(value_of_internalvar): Flip the endian of built-in types if required.
(set_internalvar): Set the endian.
(show_convenience): Access the value through value_of_internalvar().
Ben Elliston [Fri, 31 Mar 2006 02:32:20 +0000 (02:32 +0000)]
PR binutils/1860
* configure.in: Require makeinfo 4.4 or higher.
* configure: Regenerate.
Mark Mitchell [Fri, 31 Mar 2006 00:32:32 +0000 (00:32 +0000)]
file cygpath.c was initially added on branch gdb-csl-
20060226-branch.
Alan Modra [Fri, 31 Mar 2006 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 31 Mar 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Thu, 30 Mar 2006 16:56:30 +0000 (16:56 +0000)]
2006-03-30 Vladimir Prus <ghost@cs.msu.su>
* remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
instead of hardcoded integer literals.
Daniel Jacobowitz [Thu, 30 Mar 2006 16:51:20 +0000 (16:51 +0000)]
gdb/
* cli/cli-script.c (insert_args): Handle NULL user_args.
gdb/testsuite/
* gdb.base/commands.exp (stray_arg0_test): New test.
Daniel Jacobowitz [Thu, 30 Mar 2006 16:48:47 +0000 (16:48 +0000)]
* arm-tdep.c (thumb_scan_prologue): Don't try to analyze
the function at zero if we have no symbols.
Daniel Jacobowitz [Thu, 30 Mar 2006 16:44:12 +0000 (16:44 +0000)]
* i386-stub.c (getpacket): Fix array overflow.
* m32r-stub.c (getpacket): Likewise.
* m68k-stub.c (getpacket): Likewise.
* sh-stub.c (getpacket): Likewise.
* sparc-stub.c (getpacket): Likewise.
Daniel Jacobowitz [Thu, 30 Mar 2006 16:37:13 +0000 (16:37 +0000)]
* frame.h (set_current_sal_from_frame): New prototype.
* stack.c (set_current_sal_from_frame): Make global.
* infrun.c (normal_stop): Call set_current_sal_from_frame.
Daniel Jacobowitz [Thu, 30 Mar 2006 16:34:23 +0000 (16:34 +0000)]
* linux-thread-db.c: Include "linux-nat.h".
(check_for_thread_db): New function, split out from
thread_db_new_objfile. Remove dead check for active
thread_db on inapplicable targets.
(thread_db_new_objfile): Call check_for_thread_db.
* Makefile.in (linux-thread-db.o): Update.
* linux-nat.c (child_post_attach): Call check_for_thread_db.
(linux_child_post_startup_inferior): Likewise.
(lin_lwp_attach_lwp): Call target_post_attach instead of
child_post_attach.
* linux-nat.h (check_for_thread_db): New prototype.
Daniel Jacobowitz [Thu, 30 Mar 2006 16:25:06 +0000 (16:25 +0000)]
* remote.c (struct remote_state): Add BUF and BUF_SIZE.
(init_remote_state): Initialize the new fields.
(get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
(set_thread, remote_thread_alive, remote_unpack_thread_info_response)
(remote_get_threadinfo, parse_threadlist_response)
(remote_get_threadlist, remote_current_thread, remote_threads_info)
(remote_threads_extra_info, extended_remote_restart, get_offsets)
(remote_check_symbols, remote_open_1, remote_detach)
(remove_vcont_probe, remote_vcont_resume, remote_resume)
(remote_wait, remote_async_wait, fetch_register_using_p)
(remote_fetch_registers, store_register_using_P)
(remote_store_registers, check_binary_download, remote_write_bytes)
(remote_read_bytes, remote_insert_breakpoint)
(remote_remove_breakpoint, remote_insert_watchpoint)
(remote_remove_watchpoint, remote_insert_hw_breakpoint)
(remote_remove_hw_breakpoint, compare_sections_command)
(remote_xfer_partial, remote_rcmd, packet_command)
(remote_get_thread_local_address): Use the global incoming buffer
instead of alloca or xmalloc. Limit outgoing packets to
rs->remote_packet_size and incoming packets to rs->buf_size.
Update calls to getpkt and remote_send.
(remote_send): Take arguments by reference.
(putpkt_binary): Eliminate junkbuf. Use skip_frame.
(skip_frame): New function.
(read_frame): Take arguments by reference. Expand the packet
buffer instead of issuing an error.
(getpkt, getpkt_sane): Take arguments by reference.
* remote.h (getpkt): Update prototype and doc.
* tracepoint.c (remote_get_noisy_reply): Take arguments by
reference.
(target_buf): Change from array to pointer.
(target_buf_size): New variable.
(remote_set_transparent_ranges): Update call to getpkt.
(trace_start_command, trace_stop_command, trace_status_command):
Update calls to remote_get_noisy_reply.
(finish_tfind_command): Take arguments by reference.
(trace_find_command, trace_find_pc_command)
(trace_find_tracepoint_command, trace_find_line_command):
(trace_find_range_command, trace_find_outside_command): Update
calls to finish_tfind_command.
(_initialize_tracepoint): Initialize target_buf_size and target_buf.
Paul Brook [Thu, 30 Mar 2006 16:21:26 +0000 (16:21 +0000)]
2006-03-30 Paul Brook <paul@codesourcery.com>
* gdb.mi/mi-until.exp: kfail broken until command.
* gdb.mi/mi2-until.exp: Ditto.
Randolph Chung [Thu, 30 Mar 2006 14:27:45 +0000 (14:27 +0000)]
2005-03-30 Randolph Chung <tausq@debian.org>
* hppa-linux-tdep.c: Include regset.h.
(GR_REGNUM, TR_REGNUM, greg_map): New.
(hppa_linux_supply_regset, hppa_linux_supply_fpregset): New.
(hppa_linux_regset, hppa_linux_fpregset): New.
(hppa_linux_regset_from_core_section): New.
(hppa_linux_init_abi): Set regset_from_core_section.
(_initialize_hppa_linux_tdep): Register osabi handler for
64-bit Linux.
* Makefile.in (hppa-linux-tdep.o): Update dependencies.
* config/pa/linux.mh: Stop using core-regset.o
Randolph Chung [Thu, 30 Mar 2006 14:15:00 +0000 (14:15 +0000)]
2006-03-30 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_find_unwind_entry_in_block): New.
(hppa_frame_cache): Use new function to find unwind entry.
(hppa_frame_this_id): Likewise.
(hppa_frame_unwind_sniffer): Likewise.
Ben Elliston [Thu, 30 Mar 2006 00:22:20 +0000 (00:22 +0000)]
PR ld/2267
* elflink.c (elf_fixup_link_order): Ensure `elfsec' is not a
special section number that exceeds the number of ELF sections
(eg. SHN_MIPS_SCOMMON).
Alan Modra [Thu, 30 Mar 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 30 Mar 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Wed, 29 Mar 2006 22:58:55 +0000 (22:58 +0000)]
2006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
* NEWS: Mention the removal of NLM.
2006-03-29 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (nlm): Remove target.
* configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
* configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
* configure: Regenerate.
* doc/gdb.texinfo: Remove gdbserve.nlm documentation.
* nlm: Remove directory.
Daniel Jacobowitz [Wed, 29 Mar 2006 22:53:33 +0000 (22:53 +0000)]
* Makefile.in (utils.o): Update.
* top.c (in_user_command): New.
(command_line_input): Use input_from_terminal_p.
(input_from_terminal_p): Don't check caution. Handle
stdin == NULL for Insight.
* top.h (in_user_command, caution): New declarations.
* utils.c: Include "top.h".
(query, defaulted_query): Check caution here. Move the call
to input_from_terminal_p higher.
* cli/cli-script.c (do_restore_user_call_depth): Only decrement
the depth. Update in_user_command if necessary.
(execute_user_command): Don't clobber old_chain. Set
in_user_command. Let do_restore_user_call_depth handle
user_call_depth.
(read_command_lines): Check whether to prompt before calling
Insight hooks.
* tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
input_from_terminal_p check.
Ulrich Weigand [Wed, 29 Mar 2006 18:27:00 +0000 (18:27 +0000)]
* s390-nat.c (s390_insert_watchpoint): Add missing argument.
(s390_remove_watchpoint): Likewise.
Brian Dessent [Wed, 29 Mar 2006 13:49:37 +0000 (13:49 +0000)]
* generic/gdbtk-cmds.c: Include sys/cygwin.h if __CYGWIN__ defined.
(gdb_path_conv): Call cygwin_conv_to_full_win32_path instead.
Hans-Peter Nilsson [Wed, 29 Mar 2006 03:42:03 +0000 (03:42 +0000)]
* configure: Regenerate.
Hans-Peter Nilsson [Wed, 29 Mar 2006 03:40:25 +0000 (03:40 +0000)]
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
option-contents test.
gdbadmin [Wed, 29 Mar 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 29 Mar 2006 00:00:06 +0000 (00:00 +0000)]
daily update
Jim Blandy [Tue, 28 Mar 2006 19:19:16 +0000 (19:19 +0000)]
src/gdb/ChangeLog:
2006-03-28 Jim Blandy <jimb@codesourcery.com>
* prologue-value.c, prologue-value.h: New files.
* Makefile.in (prologue_value_h): New variable.
(HFILES_NO_SRCDIR): List prologue-value.h.
(SFILES): List prologue-value.c.
(COMMON_OBS): List prologue-value.o.
(prologue-value.o): New rule.
src/gdb/doc/ChangeLog:
2006-03-28 Jim Blandy <jimb@codesourcery.com>
* gdbint.texinfo (Prologue Analysis): New section.
Michael Snyder [Tue, 28 Mar 2006 18:58:30 +0000 (18:58 +0000)]
2006-03-27 Michael Snyder <msnyder@redhat.com>
* xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call,
xstormy16_pointer_to_address, xstormy16_address_to_pointer,
xstormy16_frame_prev_register): Change void* to gdb_byte*.
(xstormy16_push_dummy_call): Add block-local char* val,
to avoid type conflict with outer scope variable.
Nathan Sidwell [Tue, 28 Mar 2006 07:19:16 +0000 (07:19 +0000)]
gas:
* config/tc-m68k.c (m68000_control_regs, m68010_control_regs,
m68020_control_regs, m68040_control_regs, m68060_control_regs,
mcf_control_regs, mcf5208_control_regs, mcf5213_control_regs,
mcf5329_control_regs, mcf5249_control_regs, mcf528x_control_regs,
mcfv4e_control_regs, m68010_control_regs): Rename and reorder to ...
(m68000_ctrl, m68010_ctrl, m68020_ctrl, m68040_ctrl, m68060_ctrl,
mcf_ctrl, mcf5208_ctrl, mcf5213_ctrl, mcf5235_ctrl, mcf5249_ctrl,
mcf5216_ctrl, mcf5250_ctrl, mcf5271_ctrl, mcf5272_ctrl,
mcf5282_ctrl, mcfv4e_ctrl): ... these.
(mcf5275_ctrl, mcf5329_ctrl, mcf5373_ctrl): New.
(struct m68k_cpu): Change chip field to control_regs.
(current_chip): Remove.
(control_regs): New.
(m68k_archs, m68k_extensions): Adjust.
(m68k_cpus): Reorder to be in cpu number order. Adjust.
(CPU_ALLOW_MC, CPU_ALLOW_NEGATION): Remove.
(find_cf_chip): Reimplement for new organization of cpu table.
(select_control_regs): Remove.
(mri_chip): Adjust.
(struct save_opts): Save control regs, not chip.
(s_save, s_restore): Adjust.
(m68k_lookup_cpu): Give deprecated warning when necessary.
(m68k_init_arch): Adjust.
(md_show_usage): Adjust for new cpu table organization.
include/opcodes:
* m68k.h (cpu_m68k, cpu_cf, cpu_m68000, cpu_m68008, cpu_m68010,
cpu_m68020, cpu_m68ec030, cpu_m68040, cpu_m68060, cpu_m68851,
cpu_m68881, cpu_m68882, cpu_cpu32, cpu_cf5200, cpu_cf5206e,
cpu_cf5208, cpu_cf521x, cpu_cf5213, cpu_cf5249, cpu_cf528x,
cpu_cf5307, cpu_cf5329, cpu_cf5407, cpu_cf547x, cpu_cf548x): Remove.
Alan Modra [Tue, 28 Mar 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 28 Mar 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Stubbs [Mon, 27 Mar 2006 13:15:01 +0000 (13:15 +0000)]
2006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
* sh-tdep.c (sh_gdbarch_init): Add missing architectures.
Richard Sandiford [Mon, 27 Mar 2006 11:30:53 +0000 (11:30 +0000)]
* elfxx-mips.c (mips_got_entry): Add more commentary.
(mips_elf_local_got_index): Use the hash table entry to record
the GOT index of forced-local symbols.
(mips_elf_initialize_tls_index): Rearrange code. Store the index
in either the hash table entry or the mips_got_entry, not both.
Add more commentary.
(mips_elf_multi_got): Make sure the g->next is nonnull when calling
mips_elf_initialize_tls_index.
* ld-mips-elf/tls-hidden3a.s, ld-mips-elf/tls-hidden3b.s,
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
* ld-mips-elf/tls-hidden3.ld, ld-mips-elf/tls-hidden3.r,
* ld-mips-elf/tls-hidden4a.s, ld-mips-elf/tls-hidden4b.s,
* ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
Nick Roberts [Mon, 27 Mar 2006 00:27:09 +0000 (00:27 +0000)]
New files.
Nick Roberts [Mon, 27 Mar 2006 00:22:31 +0000 (00:22 +0000)]
*** empty log message ***
Nick Roberts [Mon, 27 Mar 2006 00:15:22 +0000 (00:15 +0000)]
(c_name_of_child, c_value_of_child): Allow non-zero
offsets for languages like Fortran.
gdbadmin [Mon, 27 Mar 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 27 Mar 2006 00:00:04 +0000 (00:00 +0000)]
daily update
Randolph Chung [Sun, 26 Mar 2006 08:18:17 +0000 (08:18 +0000)]
2006-03-26 Randolph Chung <tausq@debian.org>
* config/pa/hppa64.mt: Use HPUX version of the tm file.
Bernd Schmidt [Sun, 26 Mar 2006 00:38:42 +0000 (00:38 +0000)]
* config.bfd (bfin-*-*): Add bfd_elf32_bfinfdpic_vec.
* configure.in: Likewise.
* configure: Regenerate.
* elf32-bfin.c: Include "elf/dwarf2.h" and "hashtab.h".
(BFIN_RELOC_MAX): Now 0x21.
(bfin_howto_table, bfin_reloc_map): Add FD-PIC relocs.
(bfd_elf32_bfinfdpic_vec): Declare.
(IS_FDPIC): New macro.
(struct bfinfdpic_elf_link_hash_table): New struct.
(bfinfdpic_hash_table, bfinfdpic_got_section,
bfinfdpic_gotrel_section, bfinfdpic_gotfixup_section,
bfinfdpic_plt_setion, bfinfdpic_pltrel_section,
bfinfdpic_relocs_info, bfinfdpic_got_initial_offset,
bfinfdpic_plt_initial_offset): Accessor macros for it.
(BFINFDPIC_SYM_LOCAL, BFINFDPIC_FUNCDESC_LOCAL): New macros.
(struct bfinfdpic_relocs_info): New struct.
(LZPLT_RESOLVER_EXTRA, LZPLT_NORMAL_SIZE, LZPLT_ENTRIES,
BFINFDPIC_LZPLT_BLOCK_SIZE, BFINFDPIC_LZPLT_RESOLV_LOC,
DEFAULT_STACK_SIZE): New macros.
(bfinfdpic_elf_link_hash_table_create, bfinfdpic_relocs_info_hash,
bfinfdpic_relocs_info_eq, bfinfdpics_relocs_info_find,
bfinfdpic_relocs_info_for_global, bfinfdpic_relocs_info_for_local,
bfinfdpic_pic_merge_early_relocs_info, _bfinfdpic_add_dyn_reloc,
_bfinfdpic_add_rofixup, _bfinfdpic_osec_to_segment,
_bfinfdpic_osec_readonly_p, bfinfdpic_relocate_section,
bfinfdpic_check_relocs, bfinfdpic_gc_sweep_hook,
_bfinfdpic_link_omit_section_dynsym, _bfin_create_got_section,
elf32_bfinfdpic_create_dynamic_sections, _bfinfdpic_get_fd_entry,
_bfinfdpic_compute_got_alloc_data, _bfinfdpic_get_got_entry,
_bfinfdpic_assign_got_entries, _bfinfdpic_assign_plt_entries,
_bfinfdpic_resolve_final_relocs_info,
elf32_bfinfdpic_size_dynamic_sections,
elf32_bfinfdpic_always_size_sections,
elf32_bfinfdpic_modify_segment_map,
_bfinfdpic_count_got_plt_entries,
elf32_bfinfdpic_finish_dynamic_sections,
elf32_bfinfdpic_adjust_dynamic_symbol,
elf32_bfinfdpic_finish_dynamic_symbol,
elf32_bfinfdpic_elf_use_relative_eh_frame,
elf32_bfinfdpic_elf_encode_eh_address,
elf32_bfin_object_p, bfin_elf_copy_private_bfd_data,
elf32_bfinfdpic_copy_private_bfd_data,
(struct _bfinfdpic_dynamic_got_info,
struct _bfinfdpic_dynamic_got_plt_info): New structs.
(elf32_bfin_print_private_bfd_data): Print PIC flags.
(elf32_bfin_merge_private_bfd_data): Extend to support FD-PIC.
(TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, elf32_bed,
elf_backend_got_header_size, bfd_elf32_bfd_link_hash_table_create,
elf_backend_always_size_sectinos, elf_backend_modify_segment_map,
bfd_elf32_bfd_copy_private_bfd_data,
elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections, elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_relocate_section,
elf_backend_can_make_relative_eh_frame, elf_backend_check_relocs,
elf_backend_can_make_ldsa_relative_eh_frame, elf_backend_may_use_rel_p,
elf_backend_may_use_rela_p, elf_backend_default_use_rela_p,
elf_backend_omit_section_dynsym): Redefine these macros and include
"elf32-target.h" again to create the elf32-bfinfdpic target.
* reloc.c (BFD_RELOC_BFIN_GOT17M4, BFD_RELOC_BFIN_GOTHI,
BFD_RELOC_BFIN_GOTLO, BFD_RELOC_BFIN_FUNCDESC,
BFD_RELOC_BFIN_FUNCDESC_GOT17M4, BFD_RELOC_BFIN_FUNCDESC_GOTHI,
BFD_RELOC_BFIN_FUNCDESC_GOTLO, BFD_RELOC_BFIN_FUNCDESC_VALUE,
BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4, BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI,
BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO, BFD_RELOC_BFIN_GOTOFFHI,
BFD_RELOC_BFIN_GOTOFFLO): New.
* targets.c (bfd_elf32_bfinfdpic_vec): New bfd_target.
(_bfd_target_vector): Add it.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
gdbadmin [Sun, 26 Mar 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***