aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-08-17 * config.sub, config.guess: Update from upstream sources.Ben Elliston3-11/+25
2009-08-17daily updateAlan Modra1-1/+1
2009-08-17*** empty log message ***gdbadmin1-1/+1
2009-08-16 * opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,Doug Evans2-5/+16
at least don't leak memory.
2009-08-16Sync config/ from GCC:Ralf Wildenhues7-18/+67
--- config/ChangeLog +++ config/ChangeLog @@ -19,6 +19,10 @@ * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when cross-compiling. +2009-06-25 Olivier Hainque <hainque@adacore.com> + + * config/mh-ppc-aix (BOOT_ADAFLAGS): Remove -mminimal-toc. + 2009-05-26 Rafael Avila de Espindola <espindola@google.com> * plugins.m4: New. @@ -39,6 +43,27 @@ "# no Tcl configs found". (SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR. +2009-04-09 Jakub Jelinek <jakub@redhat.com> + + * lead-dot.m4: 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. + * warnings.m4: Likewise. + +2009-02-11 Kai Tietz <kai.tietz@onevision.com> + + * mh-cygwin (LDFLAGS): Add linker option to increase stack limit + up to 8MB. + +2009-01-23 Jie Zhang <jie.zhang@analog.com> + + * tls.m4 (GCC_CHECK_EMUTLS): Define. + +2008-12-21 Andrew Pinski <pinskia@gmail.com> + + PR target/38300 + * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo. + 2008-11-21 Kai Tietz <kai.tietz@onevision.com> Fix PR/25502
2009-08-16Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8.Ralf Wildenhues1-1/+1
2009-08-16daily updateAlan Modra1-1/+1