aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-182010-12-17 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+5
* utils.c (do_my_cleanups): Comment fix-up.
2010-12-18*** empty log message ***gdbadmin1-1/+1
2010-12-17daily updateAlan Modra1-1/+1
2010-12-172010-12-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-20/+7
* COPYING.LIBGLOSS: Remove the GPL for fr30 target.
2010-12-17 * mips-tdep.c (make_mips16_addr): New function.Kevin Buettner2-5/+68
(mips_elf_make_msymbol_special): Don't set the low bit in the symbol's address. (mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit indicating mips16 address, if present. (mips_write_pc): Set bit indicating mips16 address when in a mips16 function. (mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise, but for each function pointer argument to inferior function call.
2010-12-17 * psympriv.h (struct partial_symtab) <readin>: Move fieldTom Tromey2-4/+11
earlier.
2010-12-17* reloc.c (BFD_RELOC_RX_ABS16_REV): Add.DJ Delorie7-4/+46
(BFD_RELOC_RX_ABS32_REV): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-rx.c (rx_reloc_map): Add them. * config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more cases. (tc_gen_reloc): Fix handling of subtraction (esp wrt endianness).
2010-12-17*** empty log message ***gdbadmin1-1/+1
2010-12-16daily updateAlan Modra1-1/+1
2010-12-16 * mips-tdep.c (mips_convert_register_float_case_p)Kevin Buettner2-5/+99
(mips_convert_register_gpreg_case_p): New functions. (mips_convert_register_p): Invoke new functions above. (mips_register_to_value): Add case for fetching value shorter than 64 bits from a 64-bit register. (mips_value_to_register): Add case for storing value shorter than 64 bits into a 64-bit register.
2010-12-16 * symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_labelMaciej W. Rozycki5-24/+46
for new fake labels created off the dot special symbol. * config/tc-mips.h (tc_new_dot_label): New macro. (mips_record_label): New prototype. * config/tc-mips.c (my_getExpression): Remove MIPS16 fake label annotation. (s_cons, s_float_cons, s_gpword, s_gpdword): Only clear labels recorded once data expressions have been evaluated. (mips_define_label): Move code to record labels over to... (mips_record_label): ... this new function. * doc/internals.texi: Document tc_new_dot_label.
2010-12-16gold: fix testsuite dependencies.Ralf Wildenhues3-75/+38
gold/: * testsuite/Makefile.am (ifuncmain2static_LDADD) (ifuncmain2_LDADD, ifuncmain4static_LDADD, ifuncmain4_LDADD) (ifuncmain7static_LDADD, ifuncmain7_LDADD): New empty variables, to avoid unneeded links against $(LDADD). * testsuite/Makefile.in: Regenerate.
2010-12-162010-12-16 Joel Borggrén-Franck <joel.borggren.franck@gmail.com>Tom Tromey2-1/+6
* python/py-value.c (value_object_type) <tp_flags>: Add Py_TPFLAGS_BASETYPE.
2010-12-16NEWS: Mention new sim --map-info flag.Mike Frysinger2-0/+8
2010-12-16 * dwarf2read.c (_initialize_dwarf2_read): Fix help text ofDoug Evans2-1/+6
"save gdb-index" command.
2010-12-16*** empty log message ***gdbadmin1-1/+1
2010-12-15daily updateAlan Modra1-1/+1
2010-12-15gdbTom Tromey5-3/+68
* infrun.c (save_infcall_control_state): Handle the exception-resume breakpoint. (restore_infcall_control_state): Likewise. (discard_infcall_control_state): Likewise. gdb/testsuite 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.cp/nextoverthrow.cc (dummy): Return int 0. (NextOverThrowDerivates) <resumebpt>: New. (resumebpt_test): New. (main): Call resumebpt_test. * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
2010-12-15 * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bitKevin Buettner2-6/+23
cooked values that are being transferred to 64-bit raw registers. (mips_pseudo_register_read): Revise to preserve symmetry with mips_pseudo_register_write().
2010-12-152010-12-15 Greg Watson <g.watson@computer.org>Tom Tromey2-2/+6
* f-exp.y (yylex): Check entire token against keywords.
2010-12-15 Rename "maint set python auto-load" to "set auto-load-scripts".Doug Evans5-19/+64
* NEWS: Mention it. * python/py-auto-load.c (auto_load_scripts): Renamed from gdbpy_auto_load. (load_auto_scripts_for_objfile): Update. (gdbpy_initialize_auto_load): Rename "maint set python auto-load" to "set auto-load-scripts". doc/ * gdb.texinfo (Startup): Document auto-loading of scripts during startup. (Auto-loading): Delete "maint set python auto-load on|off". Add "set auto-load-scripts on|off".
2010-12-15 PR gold/12324Ian Lance Taylor4-6/+29
* x86_64.cc (Target_x86_64::Scan::check_non_pic): Give an error for R_X86_64_32 and R_X86_64_PC32. * testsuite/Makefile.am (ver_matching_def.so): Depend on and use ver_matching_def_pic.o. (ver_matching_def_pic.o): New target.
2010-12-15Add SORT_BY_INIT_PRIORITY.H.J. Lu20-14/+334
bfd/ 2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * elf.c (_bfd_elf_new_section_hook): Special handling for .init_array/.fini_array output sections. ld/ 2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (GENSCRIPTS): Add @enable_initfini_array@. * NEWS: Mention SORT_BY_INIT_PRIORITY. * configure.in: Add AC_CANONICAL_BUILD. Add --enable-initfini-array. * genscripts.sh (ENABLE_INITFINI_ARRAY): New. * ld.h (sort_type): Add by_init_priority. * ld.texinfo: Document SORT_BY_INIT_PRIORITY. * ldgram.y (SORT_BY_INIT_PRIORITY): New. (wildcard_spec): Handle SORT_BY_INIT_PRIORITY. * ldlang.c (get_init_priority): New. (compare_section): Use get_init_priority for by_init_priority. * ldlex.l (SORT_BY_INIT_PRIORITY): New. * scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * config.in: Likewise. * configure: Likewise. ld/testsuite/ 2010-12-15 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/elf.exp (array_tests): Add init-mixed. (array_tests_static): Likewise. Also delete tmpdir/init-mixed. * ld-elf/init-mixed.c: New. * ld-elf/init-mixed.out: Likewise.
2010-12-15sim: add --map-info optionMike Frysinger2-1/+50
There are options for listing the current device/hw tree and memory regions, but no way to find out at run time all the current mappings. So add a new --map-info option akin to the --memory-info option which displays all the current mappings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-152010-12-15 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-5/+10
* dwarf.c (display_gdb_index): Fix printf types for used formatters.
2010-12-15*** empty log message ***gdbadmin1-1/+1
2010-12-14(decode_opcode): RXO_branchrel is relative to the opcode's PC, notDJ Delorie2-2/+4
the address following the opcode.
2010-12-14* rx.c (decode_opcode): For "MVFC PC,", use the address of theDJ Delorie2-0/+13
opcode, not the address following the opcode.
2010-12-14daily updateAlan Modra1-1/+1
2010-12-14gold: fix race in FileRead::~View.Ralf Wildenhues2-10/+25
gold/: * fileread.cc (file_counts_lock, file_counts_initialize_lock) (total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes): Move definition before File_read::View member definitions. (File_read::View::~View): Initialize and hold lock before updating current_mapped_bytes.
2010-12-14 * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, ratherKevin Buettner2-11/+16
than unsigned, values in registers.
2010-12-14Fix typos in gold.Ralf Wildenhues36-114/+148
gold/: * dwarf_reader.cc: Remove outdated comment. * gold-threads.cc: Fix typo in error message. * archive.cc: Fix typos in comments. * archive.h: Likewise. * arm-reloc-property.cc: Likewise. * arm-reloc-property.h: Likewise. * arm-reloc.def: Likewise. * arm.cc: Likewise. * attributes.h: Likewise. * cref.cc: Likewise. * ehframe.cc: Likewise. * fileread.h: Likewise. * gold.h: Likewise. * i386.cc: Likewise. * icf.cc: Likewise. * incremental.h: Likewise. * int_encoding.cc: Likewise. * layout.h: Likewise. * main.cc: Likewise. * merge.h: Likewise. * object.cc: Likewise. * object.h: Likewise. * options.cc: Likewise. * readsyms.cc: Likewise. * reduced_debug_output.cc: Likewise. * reloc.cc: Likewise. * script-sections.cc: Likewise. * sparc.cc: Likewise. * symtab.h: Likewise. * target-reloc.h: Likewise. * target.cc: Likewise. * target.h: Likewise. * timer.cc: Likewise. * timer.h: Likewise. * x86_64.cc: Likewise.
2010-12-14Move gdb ChangeLog entry to gdb/ChangeLog.H.J. Lu2-7/+7
2010-12-14gdb:Ken Werner3-6/+25
* valops.c (value_one): Use get_array_bounds to compute the number of array elements instead of dividing the length of the array by the length of the element types. * valarith.c (value_complement, value_neg): Likewise.
2010-12-14build failure on IRIX when building with Python support.Joel Brobecker4-5/+44
This is a nasty interaction between Python and GDB. Basically, Python causes some macros to be unilaterally defined in order to turns some features on: /* Define to activate features from IEEE Stds 1003.1-2001 */ #define _POSIX_C_SOURCE 200112L /* Define to the level of X/Open that your system supports */ #define _XOPEN_SOURCE 600 But the problem is that they turn off defines provided by some system headers on which we depend. Namely: * sys/siginfo.h: #if _SGIAPI #define siginfo __siginfo #endif * sys/ucontext.h: #if _SGIAPI && !defined(__SGI_NOUCONTEXT_COMPAT) [...] #define fp_r __fp_r [...] #define fp_csr __fp_csr [...] #endif The important macro here is _SGIAPI, defined as follow in standards.h: #define _SGIAPI ((defined(_SGI_SOURCE) && \ _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5) || \ (_ANSIMODE && _NO_POSIX && _NO_XOPEN4 && _NO_XOPEN5)) If one builds GDB without Python, then _SGIAPI is true, and all is fine. But building with Python causes both _POSIX_C_SOURCE and _XOPEN_SOURCE to trip all the _NO_[...] tests (_NO_POSIX, _NO_XOPEN4, _NO_XOPEN5). And so we get build failures because we try to use undefined types, or non-existent component names inside the regset structure. The latter problem is observed only within irix5-nat.c, which means that it is specific to IRIX. So it's easy to write the code in a way that it does not require the macros (just use the real component names, rather than relying on the macros to do the translation). The former, on the other hand, is a little trickier, because the problem occurs inside a generic unit (procfs.c). The solution I chose was to adjust the configure script to add -Dsiginfo=__siginfo to the CPPFLAGS if building with python using GCC on IRIX. We hadn't seen this sort of issue up to now because the affect units have not been dependent on the python includes up to now. Recent changes have made them indirectly dependent on Python, thus triggering the issues. gdb/ChangeLog: * irix5-nat.c: Replace fp_r, fp_regs and fp_scr by __fp_r, __fp_regs and __fp_scr respectively throughout. * configure.ac: Compile with -Dsiginfo=__siginfo if building with Python using GCC on IRIX. * configure: Regenerate.
2010-12-14*** empty log message ***gdbadmin1-1/+1
2010-12-13daily updateAlan Modra1-1/+1
2010-12-13 * solib-svr4.c (enable_break): Don't attempt to place breakpoints,Kevin Buettner2-9/+18
when attaching, on the names in bkpt_names: _start, __start, and main.
2010-12-132010-12-12 Stan Shebs <stan@codesourcery.com>Stan Shebs4-7/+90
* value.c (value_of_internalvar): Add case for trace state variables. * gdb.trace/tsv.exp: Test print command on trace state variables.
2010-12-13 * ldlang.c (load_symbols): Correct last change.Alan Modra2-3/+8
2010-12-13 * aoutx.h (aout_link_check_ar_symbols): Formatting.Alan Modra9-98/+146
* cofflink.c (coff_link_check_ar_symbols): Likewise. * elflink.c (elf_link_add_archive_symbols): Likewise. * pdp11.c (aout_link_check_ar_symbols): Likewise. * xcofflink.c (xcoff_link_check_dynamic_ar_symbols, xcoff_link_check_dynamic_ar_symbols): Likewise. * aoutx.h (aout_link_check_archive_element): Simplify code dealing with add_archive_element substitute BFD. * cofflink.c (coff_link_check_archive_element): Likewise. * ecoff.c (ecoff_link_check_archive_element): Likewise. (ecoff_link_add_archive_symbols): Likewise. * linker.c (generic_link_check_archive_element): Likewise. * pdp11.c (aout_link_check_archive_element): Likewise. * vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise. * xcofflink.c (xcoff_link_check_archive_element): Likewise. * aoutx.h (aout_link_check_archive_element): Free symbols from old bfd if !keep_memory. * cofflink.c (coff_link_check_archive_element): Likewise. * pdp11.c (aout_link_check_archive_element): Likewise. * xcofflink.c (xcoff_link_check_archive_element): Likewise.
2010-12-13*** empty log message ***gdbadmin1-1/+1
2010-12-12 * plugin.c (bfd_plugin_mkobject): Delete.Alan Modra2-8/+6
(plugin_vec): Use bfd_false instead.
2010-12-12daily updateAlan Modra1-1/+1
2010-12-12 * dwarf2read.c (dwarf2_per_objfile): New member quick_file_names_table.Doug Evans2-124/+240
(dwarf2_per_cu_quick_data): Move definition down to "quick functions" section. Delete members lines full_names. Rename read_lines to no_file_data. (quick_file_names): New struct. (hash_file_name_entry, eq_file_name_entry): New functions. (delete_file_name_entry, create_quick_file_names_table): New functions. (dwarf2_read_index): Initialize quick_file_names_table. (dw2_get_file_names): Renamed from dw2_require_line_header. Return pointer to quick_file_names entry. All callers updated. (dw2_get_real_path): Renamed from dw2_require_full_path. Replace per_cu arg with pointer to quick_file_names entry. All callers updated. (dw2_free_cached_file_names): New function. (dw2_forget_cached_source_info): Call it (via htab_traverse_noresize). (dwarf2_initialize_objfile): Initialize quick_file_names_table in the OBJF_READNOW case. (dwarf2_free_objfile): Rewrite freeing of quick file names tables.
2010-12-12Fix mail addres in ChangeLog.Mark Kettenis1-1/+1
2010-12-12* mips64obsd-tdep.c (floatformats_mips64_quad): New define.Mark Kettenis2-0/+13
(mips64obsd_init_abi): Set long_double_bit and long_double_format.
2010-12-12* sparc-tdep.c: Fix typo in comment.Mark Kettenis2-1/+5
2010-12-12Fix typos in elfedit documentation.H.J. Lu2-4/+9
2010-12-12 Peter Breitenlohner <peb@mppmu.mpg.de> PR binutils/12306 * doc/binutils.texi: Fix typos in elfedit documentation.
2010-12-12Optimize for add_archive_element.H.J. Lu4-8/+12
bfd/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_archive_symbols): Remove subsbfd. ld/ 2010-12-12 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (load_symbols): Optimize for add_archive_element.