aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-21 * elf-bfd.h (struct elf_backend_data): New memberRainer Orth6-4/+56
static_tls_alignment. * elfxx-target.h (elf_backend_static_tls_alignment): Provide default. (elfNN_bed): Initialize static_tls_alignment. * elflink.c (bfd_elf_final_link): Don't round end of TLS section if static TLS has special alignment requirements. * elf32-i386.c (elf_i386_tpoff): Define bed, static_tls_size. Consider static_tls_alignment. (elf_backend_static_tls_alignment): Redefine for Solaris 2. Undef again for VxWorks. * elf64-x86-64.c (elf64_x86_64_tpoff): Define bed, static_tls_size. Consider static_tls_alignment. (elf_backend_static_tls_alignment): Redefine for Solaris 2. Undef again for Intel L1OM.
2010-10-21*** empty log message ***gdbadmin1-1/+1
2010-10-202010-10-20 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+8
* gdb.threads/fork-child-threads.exp: Don't run on remote target.
2010-10-20daily updateAlan Modra1-1/+1
2010-10-20 * gdbint.texinfo (Misc Guidelines): Renamed from Coding.Doug Evans2-216/+247
All references updated. Correct sections marked as subsections. (Coding Standards): New chapter. Move the coding standard related subsections here. Add section on Python coding standards.
2010-10-20cvs add smartp.cc smartp.expSami Wagiaalla2-0/+240
Original changelog: Support overloading of 'operator->'. [...] 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/smartp.exp: New test. * gdb.cp/smartp.cc : New test.
2010-10-20 * plugin.c (get_symbols): Check symbol type correctly.Dave Korn2-1/+5
2010-10-20 * Makefile.def (target_modules): Set lib_path to src/.libs forIan Lance Taylor4-4/+11
libstdc++-v3 module. * Makefile.tpl: Fix typo in TARGET_LIB_PATH comment. * Makefile.in: Rebuild.
2010-10-202010-10-20 Doug Kwan <dougkwan@google.com>Doug Kwan3-1/+16
* arm.cc (Arm_relobj::do_read_symbols): Warn about ARM EXIDX sections without SHF_LINK_ORDER flags. * layout.cc (Layout::choose_output_section): Do not filter SHF_LINK_ORDER flag in a relocatable link.
2010-10-20 * ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, ifDave Korn2-2/+9
no suitable target compiler is available.
2010-10-202010-10-20 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+42
* tracepoint.c (tfile_get_traceframe_address): Call extract_signed_integer. (tfile_trace_find): Call extract_signed_integer and extract_unsigned_integer. Change data_size to unsigned int. (tfile_fetch_registers): Call extract_unsigned_integer. (tfile_xfer_partial): Ditto. (tfile_get_trace_state_variable_value): Call extract_signed_integer and extract_unsigned_integer.
2010-10-20 * remote.c (remote_get_threadlist): If we got emptyVladimir Prus2-1/+7
response, bail out immediately, and don't emit any warnings.
2010-10-20*** empty log message ***gdbadmin1-1/+1
2010-10-19daily updateAlan Modra1-1/+1
2010-10-19 * arm-tdep.c (thumb_get_next_pc_raw): Handle Thumb-16 encodingUlrich Weigand2-0/+18
for "mov pc, REG" as well. (thumb_instruction_changes_pc): Likewise.
2010-10-19 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.Ulrich Weigand2-7/+13
Skip test completely if gdb,no_hardware_watchpoints.
2010-10-19 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits moreUlrich Weigand2-5/+11
strict, but do not check for any particular function name within libc.
2010-10-19Support overloading of 'operator->'.Sami Wagiaalla5-4/+74
2010-10-19 Sami Wagiaalla <swagiaal@redhat.com> PR C++/11500: * valarith.c (value_x_unop): Handle STRUCTOP_PTR. * eval.c (evaluate_subexp_standard): Check for overload of 'operator->'. * valarith.c (value_x_binop): Throw NOT_FOUND_ERROR. (value_x_unop): Ditto. * valops.c: Include "exceptions.h". (find_overload_match): Throw NOT_FOUND_ERROR. (value_struct_elt): Ditto. 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/smartp.exp: New test. * gdb.cp/smartp.cc : New test.
2010-10-19 * python/py-cmd.c (cmdpy_function): Unreference exception state.Tom Tromey2-1/+10
2010-10-19Add testcase for PR gas/12049.H.J. Lu6-0/+64
2010-10-19 H.J. Lu <hongjiu.lu@intel.com> PR gas/12049 * gas/i386/i386.exp: Run relax-1 and relax-2. * gas/i386/relax-1.d: New. * gas/i386/relax-1.s: Likewise. * gas/i386/relax-2.d: Likewise. * gas/i386/relax-2.s: Likewise.
2010-10-19Support pointer to bool conversion.Sami Wagiaalla7-9/+26
2010-10-19 Sami Wagiaalla <swagiaal@redhat.com> * gdbtypes.h: Introduce BOOL_PTR_CONVERSION_BADNESS. * gdbtypes.c (rank_one_type): Use BOOL_PTR_CONVERSION_BADNESS for conversion. Make all other conversions illegal. 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/converts.exp: Test pointer to bool conversion. Test pointer to long conversion. * gdb.cp/oranking.exp: Removed relevant kfail.
2010-10-19 * write.c (relax_segment): Correct address on frag added to stopAlan Modra2-6/+10
leb128/align frags bouncing.
2010-10-19 PR gas/12049Alan Modra3-9/+33
* frags.h (struct frag): Add "region" field. * write.c (relax_frag): Don't add "stretch" to forward reference target if there is an intervening org or align. (relax_segment): Set region.
2010-10-19 * c-typeprint.c (c_type_print_base, case TYPE_CODE_TYPEDEF): VerifyDoug Evans2-0/+12
assumptions of when this case happens. Print "<unnamed typedef>".
2010-10-19*** empty log message ***gdbadmin1-1/+1
2010-10-18daily updateAlan Modra1-1/+1
2010-10-18gdbTom Tromey6-4/+31
* valprint.c (val_print_string): Pass 'encoding' to LA_PRINT_STRING. gdb/testsuite * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding argument to lazy_string. * gdb.python/py-prettyprint.py (pp_ls_encoding): New global. (pp_ls.to_string): Use it. * gdb.python/py-prettyprint.c (main): Move declarations to top. Add "estring2" local.
2010-10-18merge from gccDJ Delorie1-0/+5
2010-10-182010-10-18 Kai Tietz <kaI.tietz@onevision.com>Kai Tietz3-2/+7
* gas/i386/disp32.d: Adjust initial symbol check. * gas/i386/x86-64-disp32.d: Likewise.
2010-10-18 * output.h (Output_segment::set_section_addresses): Change functionCary Coutant4-24/+45
signature. Update all callers. * output.cc (Output_segment::is_first_section_relro): Ignore TLS sections. (Output_segment::set_section_addresses): Align after last TLS section. Add padding before last relro section instead of after.
2010-10-18 * gas/mips/ld.d: Spell out section offsets and addendsMaciej W. Rozycki5-785/+801
explicitly. Clean up some regexps. * gas/mips/ld-ilocks.d: Likewise. Add missing "$" prefixes to the names of FP registers. * gas/mips/ld-ilocks-addr32.d: Likewise. * gas/mips/ld.s: Align sections to 4k, adjust padding.
2010-10-18 * gas/mips/ld.d: Use wildcard address matching.Maciej W. Rozycki4-1872/+1878
* gas/mips/ld-ilocks.d: Likewise. * gas/mips/ld-ilocks-addr32.d: Likewise.
2010-10-18 * gas/mips/mips.exp (run_dump_test_arch): Get the name of theMaciej W. Rozycki2-4/+14
architecture to check against for an architecture-specific test from the properties instead of the name passed.
2010-10-18 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variantMaciej W. Rozycki2-20/+6
for absolute addressing.
2010-10-18 opcodes/Maciej W. Rozycki7-27/+47
* mips-opc.c (mips_builtin_opcodes): Move M_LD_OB and M_SD_OB macros before their corresponding MIPS III hardware instructions. gas/ * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs. gas/testsuite/ * gas/mips/lineno.s: Convert to o32. * gas/mips/lineno.d: Adjust patterns accordingly. Force the o32 ABI.
2010-10-18 * config/tc-mips.c (mips_pseudo_table): Add "sbss".Maciej W. Rozycki2-0/+19
(s_change_sec): Handle it.
2010-10-18*** empty log message ***gdbadmin1-1/+1
2010-10-17daily updateAlan Modra1-1/+1
2010-10-17gdb/testsuite/Jan Kratochvil3-3/+15
Fix s390x compatibility. * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice. * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
2010-10-17gdb/Jan Kratochvil5-5/+31
Fix the `stopped language detection' testcase for gcc-4.5. * dwarf2read.c (read_partial_die): Set also LANGUAGE_OF_MAIN. * symfile.c (set_initial_language): Move variable filename to a more inner block. Prefer LANGUAGE_OF_MAIN. * symtab.c (language_of_main): New variable. (set_main_name): Always reset LANGUAGE_OF_MAIN. * symtab.h (language_of_main): New declaration.
2010-10-17gdb/Jan Kratochvil8-7/+175
* gdbthread.h (currently_stepping): New declaration. * infrun.c (currently_stepping): Remove the forward declaration. (currently_stepping): Make it global. * linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New variables tp and step, initialized them. Pass STEP to to_resume. Print also possibly "PTRACE_SINGLESTEP" if STEP. Initialize LP->STEP. * remote.c (currently_stepping_callback): New. (remote_vcont_resume) <ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>: New variable tp. Call currently_stepping_callback and step such thread. gdb/testsuite/ * gdb.threads/sigstep-threads.exp: New file. * gdb.threads/sigstep-threads.c: New file.
2010-10-17gdb/Jan Kratochvil11-15/+199
* infrun.c (follow_exec): Replace symbol_file_add_main by symbol_file_add with SYMFILE_DEFER_BP_RESET, set_initial_language and breakpoint_re_set. * m32r-rom.c (m32r_load, m32r_upload_command): Use parameter 0 for clear_symtab_users. * objfiles.c (free_all_objfiles): Likewise. * remote-m32r-sdi.c (m32r_load): Likewise. * solib-som.c (som_solib_create_inferior_hook): Likewise. * symfile.c (new_symfile_objfile): New comment for add_flags. Call clear_symtab_users with ADD_FLAGS. (reread_symbols): Use parameter 0 for clear_symtab_users. (clear_symtab_users): New parameter add_flags. Do not call breakpoint_re_set if SYMFILE_DEFER_BP_RESET. (clear_symtab_users_cleanup): Use parameter 0 for clear_symtab_users. * symtab.h (clear_symtab_users): New parameter add_flags. gdb/testsuite/ * gdb.base/pie-execl.exp: New file. * gdb.base/pie-execl.c: New file.
2010-10-172010-10-17 Doug Kwan <dougkwan@google.com>Doug Kwan2-5/+8
* gold/arm.cc (Target_arm::got_section): Use correct order and set GOT output section to be writable.
2010-10-17gdb/Jan Kratochvil2-1/+7
Fix GCC false warning. * varobj.c (value_get_print_value) <str_addr>: Initialize it.
2010-10-17*** empty log message ***gdbadmin1-1/+1
2010-10-16daily updateAlan Modra1-1/+1
2010-10-16Add CpuNop to CPU_GENERIC64_FLAGS.H.J. Lu7-3/+174
gas/testsuite/ 2010-10-16 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run x86-64-nops-1-g64. * gas/i386/x86-64-nops-1.d: Remove -mtune=generic64. * gas/i386/x86-64-nops-1-g64.d: New. opcodes/ 2010-10-16 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (cpu_flag_init): Add CpuNop to CPU_GENERIC64_FLAGS. * i386-init.h: Regenerated.
2010-10-162010-10-16 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-1/+5
* ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl.
2010-10-16 * layout.cc (Layout::set_segment_offsets): Don't try to realign dataCary Coutant7-15/+129
segment that has been aligned for relro. * output.cc (Output_segment::set_section_addresses): Change signature; adjust all callers. Account for alignment when totalling size of relro sections. * output.h (Output_segment::set_section_addresses): Change signature. * testsuite/Makefile.am (relro_test.sh, relro_test.stdout): New targets. * testsuite/Makefile.in: Regenerate. * testsuite/relro_test.cc: Add alignment attributes to test proper alignment of relro sections when padding is necessary. * testsuite/relro_test.sh: New script.
2010-10-16*** empty log message ***gdbadmin1-1/+1