aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-22Minor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.Ralf Wildenhues9-29/+21
gold/: * Makefile.am (AUTOMAKE_OPTIONS): Add foreign. * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. gdb/: * configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE, AC_AIX, AC_ISC_POSIX. sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with definition of AC_CHECK_MEMBER.
2009-08-22merge from gccDJ Delorie11-17743/+11558
2009-08-22Update automake-provided files in the toplevel.Ralf Wildenhues7-273/+576
/: * compile: Sync from Automake 1.11. * depcomp: Likewise. * install-sh: Likewise. * missing: Likewise. * mkinstalldirs: Likewise. * ylwrap: Likewise.
2009-08-22Fixup readline and sim including of override.m4Ralf Wildenhues54-4120/+5637
readline/examples/rlfe/: * configure.in: m4_include toplevel config/override.m4. * configure: Regenerate. readline/ChangeLog.gdb: * configure.in: m4_include toplevel config/override.m4. * configure: Regenerate. sim/: * configure.ac: m4_include toplevel config/override.m4. * configure: Regenerate. * avr/configure: Regenerate. * cris/configure: Regenerate. sim/common/: * aclocal.m4: m4_include toplevel config/override.m4. * configure: Regenerate. sim/iq2000/: * configure: Regenerate. sim/d10v/: * configure: Regenerate. sim/igen/: * configure: Regenerate. sim/m32r/: * configure: Regenerate. sim/frv/: * configure: Regenerate. sim/h8300/: * configure: Regenerate. sim/mn10300/: * configure: Regenerate. sim/ppc/: * configure: Regenerate. sim/erc32/: * configure: Regenerate. sim/arm/: * configure: Regenerate. sim/m68hc11/: * configure: Regenerate. sim/lm32/: * configure: Regenerate. sim/sh64/: * configure: Regenerate. sim/v850/: * configure: Regenerate. sim/cr16/: * configure: Regenerate. sim/moxie/: * configure: Regenerate. sim/m32c/: * configure: Regenerate. sim/mips/: * configure: Regenerate. sim/mcore/: * configure: Regenerate. sim/sh/: * configure: Regenerate.
2009-08-22*** empty log message ***gdbadmin1-1/+1
2009-08-22daily updateAlan Modra1-1/+1
2009-08-212S09-08-21 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson7-9/+91
ld/ * ld-arm/callweak.d: Opcodes updated. * ld-arm/callweak.s: Architecture specified. * ld-arm/callweak-2.d: New test case. * ld-arm/callweak-2.s: New file. bfd/ * elf32-arm.c (arch_has_thumb2_nop): New function. (arch_has_arm_nop): New function. (elf32_arm_final_link_relocate): NOP opcodes changed. SVS: ----------------------------------------------------------------------
2009-08-212009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine2-7/+27
* config/tc-xtensa.c (config_max_slots): New global variable. (md_begin): Set config_max_slots. (total_frag_text_expansion): Use config_max_slots instead of MAX_SLOTS. (xg_init_vinsn): Likewise. (xg_clear_vinsn): Likewise. (xg_free_vinsn): Likewise.
2009-08-21 * jit.c (jit_event_handler): Use paddress to print target addresses.Doug Evans2-2/+8
Wrap printf string in _().
2009-08-21 * jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.Doug Evans5-25/+66
(jit_read_code_entry, jit_register_code): Ditto. (jit_event_handler): Ditto. (jit_inferior_init): Renamed from previous jit_inferior_created_hook. (jit_inferior_created_hook, jit_breakpoint_re_set): New functions. (jit_inferior_created_observer): Renamed from jit_inferior_created_hook1, all callers updated. * jit.h (jit_breakpoint_re_set): Declare. (jit_event_handler): Update prototype. * breakpoint.c (breakpoint_re_set): Call jit_breakpoint_re_set instead of jit_inferior_created_hook.
2009-08-212009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov4-17/+32
* objfiles.h (gdb_bfd_ref): New prototype. * objfiles.c (gdb_bfd_ref): New function. (allocate_objfile): Call it. (gdb_bfd_unref): Adjust assertion. * solib.c (solib_map_sections): Add reference. (symbol_add_stub): Don't add reference here. * symfile.c (reread_symbols): Add reference.
2009-08-21 * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.Nick Clifton2-1/+5
2009-08-212009-08-21 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+7
* record.c (record_wait): Change the argument of record_beneath_to_wait to options.
2009-08-21daily updateAlan Modra1-1/+1
2009-08-21*** empty log message ***gdbadmin1-1/+1
2009-08-20* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.Doug Evans1-4/+4
2009-08-20 Replace dcache with splay tree.Doug Evans4-330/+272
Remove partially implemented writeback support. * dcache.c: Include splay-tree.h. (LINE_SIZE_POWER): Change from 5 to 6. (DCACHE_SIZE): Change from 64 to 4096. (ENTRY_INVALID, ENTRY_VALID, ENTRY_DIRTY): Delete. (state_chars): Delete. (struct dcache_block): Clean up; remove state and anydirty fields. (struct dcache_struct): Redefine as a splay tree and linked list. (last_cache): Make static. (dcache_invalidate, dcache_hit): Rewrite for new cache structure. (dcache_read_line, dcache_alloc): Rewrite for new cache structure. (dcache_write_line): Delete. (dcache_writeback): Delete. (dcache_peek_byte): Clean up; remove "invalid" state check. (dcache_poke_byte): Rewrite for new cache structure; clarify comment. (dcache_splay_tree_compare): New function. (dcache_init, dcache_free): Rewrite for new cache structure. (dcache_xfer_memory): Rewrite for new write-through cache structure. (dcache_print_line): New function. (dcache_info): Rewrite for new cache structure. (_initialize_dcache): Update "info dcache" help text. * dcache.h (dcache_xfer_memory): Update declaration. * target.c (memory_xfer_partial): Update calls to dcache_xfer_memory.
2009-08-20hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.Nick Hudson2-0/+5
2009-08-202009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine2-3/+19
* config/tc-xtensa.c (xg_copy_vinsn): New function. (finish_vinsn): Call xg_copy_vinsn.
2009-08-20 Add interface for JIT code generation.Doug Evans10-31/+769
* NEWS: Announce JIT interface. * Makefile.in (SFILES): Add jit.c. (HFILES_NO_SRCDIR): Add jit.h. (COMMON_OBS): Add jit.o. * jit.c: New file. * jit.h: New file. * breakpoint.h (enum bptype): Add bp_jit_event to enum. * breakpoint.c: (update_breakpoints_after_exec): Delete jit breakpoints after exec. (bpstat_what): Update event table for bp_jit_event. (print_it_typical): Added case for bp_jit_event. (print_one_breakpoint_location): Added case for bp_jit_event. (allocate_bp_location): Added case for bp_jit_event. (mention): Added case for bp_jit_event. (delete_command): Added case for bp_jit_event. (breakpoint_re_set_one): Added case for bp_jit_event. (breakpoint_re_set): Added call to jit_inferior_created_hook. (create_jit_event_breakpoint): New. * infrun.c (handle_inferior_event): Add handler for jit event. (follow_exec): Add call to jit_inferior_created_hook. * doc/gdb.texinfo: Add chapter on JIT interface.
2009-08-20daily updateAlan Modra1-1/+1
2009-08-20*** empty log message ***gdbadmin1-1/+1
2009-08-19Disable option checking in the toplevel, avoid 2.64 fopen glitch.Ralf Wildenhues5-0/+29
/: * configure.ac: Call AC_DISABLE_OPTION_CHECKING. (baseargs): Add --disable-option-checking. * configure: Regenerate. config/: * override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be empty if not defined, to avoid error with 2.59. (_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly 2.64, avoid per-language instances to drop fopen from test program.
2009-08-19 Fix toplevel target deps.Ralf Wildenhues3-0/+15
/: * Makefile.def (configure-target-libiberty): Depend on all-binutils and all-ld. (configure-target-newlib): Likewise. * Makefile.in: Regenerate.
2009-08-19Sync toplevel with GCC, merge.Ralf Wildenhues6-102/+2321
/: 2009-07-31 Christian Bruel <christian.bruel@st.com> * configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs. * configure: Regenerate. 2009-07-06 Ian Lance Taylor <iant@google.com> * configure.ac: Add missing comma in AC_ARG_WITH(boot-libs). * configure: Rebuild. 2009-06-26 Steve Ellcey <sje@cup.hp.com> PR bootstrap/40338 * configure.ac (comparestring): Create new variable. * Makefile.tpl (comparestring): Use to skip some comparisions. * configure: Regenerate. * Makefile.in: Regenerate. 2009-06-23 Ian Lance Taylor <iant@google.com> * configure.ac: Add --enable-build-with-cxx. When set, add c++ to boot_languages. Only bootstrap target libraries listed in target_libs for some boot language. Add --with-stage1-ldflags, --with-stage1-libs, --with-boot-ldflags, --with-boot-libs. Remove with_host_libstdcxx from ppllibs. Only add -fkeep-inline-functions if not building with C++. * Makefile.def: For target_module libstdc++-v3, set bootstrap=true. * Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables. (POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables. (HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS. (POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD. Add POSTSTAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS. (POSTSTAGE1_FLAGS_TO_PASS): Likewise. * configure, Makefile.in: Rebuild. 2009-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * configure.ac: Detect MPC in default directory. * configure: Regenerate. 2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com> * configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib to noconfdirs. * configure: Regenerate. 2009-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * Makefile.def: Add MPC support and dependencies. * configure.ac: Likewise. Reorganize GMP/MPFR checks. * Makefile.in, configure: Regenerate. 2009-05-24 Nicolas Roche <roche@adacore.com> * Makefile.tpl (compare-target): Skip ./ada/*tools directories. * Makefile.in: Regenerate. 2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com> * configure.ac (cygwin noconfigdirs): Remove libgcj. * configure: Regenerate. 2009-05-07 Dave Korn <dave.korn.cygwin@gmail.com> * configure.ac ($with_ppl): Default to no if not supplied. ($with_cloog): Likewise. configure: Regenerate. 2009-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> PR bootstrap/39739 * configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST. * Makefile.def (module=mpfr): Use extra_mpfr_configure_flags. * configure, Makefile.in: Regenerate. 2009-04-14 Jakub Jelinek <jakub@redhat.com> * configure.ac: Change copyright header to refer to version 3 of the GNU General Public License and to point readers at the COPYING3 file and the FSF's license web page. * Makefile.def: Likewise. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. 2009-04-09 Jack Howarth <howarth@bromo.med.uc.edu> * configure.ac: Restore match for darwin9 or later. Use double brackets since regeneration eats one pair. * configure: Regenerate.
2009-08-19 * resolve.cc (Symbol_table::resolve): Don't complain about definedCary Coutant2-2/+9
symbols in shared libraries overridden by hidden or internal symbols in the main program.
2009-08-192009-08-19 Chris Demetriou <cgd@google.com>Chris Demetriou2-8/+16
* testsuite/debug_msg.sh: Match .* rather than ${srcdir} when checking source file names in error messages.
2009-08-192009-08-19 Sterling Augustine <sterling@tensilica.com>Sterling Augustine3-6/+22
* config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev to no_transform_end. * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set and use no_transform_end.
2009-08-19ChangeLog:Ulrich Weigand5-39/+100
* value.c (enum internalvar_kind): Replace INTERNALVAR_SCALAR by INTERNALVAR_INTEGER and INTERNALVAR_POINTER. (union internalvar_data): Replace "scalar" member by "integer" and "pointer". (value_of_internalvar): Handle INTERNALVAR_INTEGER and INTERNALVAR_POINTER instead of INTERNALVAR_SCALAR. (get_internalvar_integer): Likewise. (set_internalvar): Likewise. (set_internalvar_integer): Likewise. (preserve_one_internalvar): Likewise. (value_from_pointer): Handle typedef'd pointer types. testsuite/ChangeLog: 2009-08-19 Doug Evans <dje@google.com> * gdb.base/gdbvars.c: New file. * gdb.base/gdbvars.exp: Test convenience vars with program variables.
2009-08-19* MAINTAINERS: Perform some obvious fixups.Christopher Faylor2-25/+26
2009-08-19*** empty log message ***gdbadmin1-1/+1
2009-08-19daily updateAlan Modra1-1/+1
2009-08-182009-08-18 Doug Kwan <dougkwan@google.com>Doug Kwan7-54/+165
* dynobj.cc (Sized_dynobj::setup): Take a Target object instead of an elcpp::Ehdr as parameter. Adjust call to set_target. * dynobj.h (Sized_dynobj::setup): Take a Target object instead of an elfcpp::Ehdr as parameter. * object.cc (Object::set_target): Remove the version that looks up a target and sets it. (Sized_relobj::setup): Take a Target object instead of an elfcpp::Ehdr as parameter. Adjust call to set_target. (make_elf_sized_object): Find target and ask target to make an ELF object. * object.h: (Object::set_target): Remove the version that looks up a target and sets it. (Sized_relobj::setup): Take a Target object instead of an elfcpp:Ehdr as parameter. * target.cc: Include dynobj.h. (Target::do_make_elf_object_implementation): New. (Target::do_make_elf_object): New. * target.h (Target::make_elf_object): New template declaration. (Target::do_make_elf_object): New method declarations. (Target::do_make_elf_object_implementation): New template declaration.
2009-08-18Fix obvious fix.Kai Tietz1-1/+1
CVS: ----------------------------------------------------------------------
2009-08-182009-08-18 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-0/+100
* config/obj-coff-seh.c: Add copyright notice. * config/obj-coff-seh.h: Add copyright notice. Add x64 specific macros from coff/pe.h header.
2009-08-182009-08-18 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2-11/+13
* config/tc-xtensa.c (xtensa_create_xproperty_segments): Use sizeof instead of hard-coded value. (add_xt_block_frags): Remove unused local variable. (frag_flags_to_number): Change return type to flagword. Remove unused local variable.
2009-08-182009-08-17 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine2-5/+12
* config/tc-xtensa.c (xtensa_frob_label): move call to do_align_targets to set frag_type only.
2009-08-18 * utils.c (add_internal_problem_command): Free set_doc andTom Tromey4-2/+19
show_doc. * remote.c (add_packet_config_cmd): Free set_doc and show_doc. * language.c (add_language): Free language_set_doc.
2009-08-18 * Makefile.in (ALL_TARGET_OBS): Remove prologue-value.o, solib.o.Tom Tromey2-2/+5
2009-08-18*** empty log message ***gdbadmin1-1/+1
2009-08-18daily updateAlan Modra1-1/+1
2009-08-17 * symfile.c (reread_symbols): Call objfiles_changed *before*Ulrich Weigand2-3/+8
calling clear_symtab_users.
2009-08-172009-08-17 Michael Snyder <msnyder@vmware.com>Michael Snyder3-0/+105
* amd64-tdep.c: Add a frame unwinder for function epilogues. (amd64_in_function_epilogue_p): New function. (amd64_epilogue_frame_sniffer): New function. (amd64_epilogue_frame_cache): New function. (amd64_epilogue_frame_this_id): New function. (amd64_epilogue_frame_unwind): New struct frame_unwind. (amd64_init_abi): Hook the new unwinder. * amd64-linux-tdep.c (amd64_linux_init_abi): Set gdbarch to use SVR4 method for skip_trampoline_code.
2009-08-17Add missed files.Kai Tietz2-0/+1465
2009-08-172009-08-17 Kai Tietz <kai.tietz@onevision.com>Kai Tietz7-10/+403
* config/obj-coff-seh.c: New file. * config/obj-coff-seh.h: Likewise. * config/obj-coff.c (obj-coff-seh.c): Add include. (coff_pseudo_table): Add new .seh... commands. * config/obj-coff.h (obj_coff_seh_do_final): Add new function prototype. (obj_coff_generate_pdata): New obj-coff hook. * gas/write.c (size_seg): Avoid sizing of already sized sections. (write_object_file): Call conditional hook objc_coff_generate_pdata. * Makefile.am: Add dependencies for new files. * Makefile.in: Regenerated.
2009-08-172009-08-17 Pedro Alves <pedro@codesourcery.com>>Pedro Alves2-7/+15
* objfiles.c (objfile_relocate): Relocate the entry point before relocating the section offsets. Flush the section map before resetting breakpoints.
2009-08-17 * ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of anNick Clifton3-2/+8
unused reloc. * ld-elf/linkonce2.d: Likewise.
2009-08-17 * binutils-all/strip-10.d: Accept "<OS specific>: 10" for the typeNick Clifton2-1/+6
of the UNIQUE symbol.
2009-08-17 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.Nick Clifton2-14/+21
(parse_reg): Use safe-ctype.h macros. (parse_exp): Likewise. (md_assemble): Likewise.
2009-08-17 * readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as aNick Clifton2-1/+8
32-bit absolute reloc for the purposes of processing debug sections.