aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-18 * objcopy.c (is_strip_section_1): Don't stripKai Tietz2-2/+13
.reloc section by default.
2012-10-18 * config/obj-coff.c: Add include of struc-symbol.h header.Kai Tietz2-2/+10
(coff_frob_symbol): Check that function-aux entries are generated for defined symbols only.
2012-10-18 * tic54x-dis.c (print_instruction): Don't use K&R style.Tom Tromey2-38/+37
(print_parallel_instruction, sprint_dual_address) (sprint_indirect_address, sprint_direct_address, sprint_mmr) (sprint_cc2, sprint_condition): Likewise.
2012-10-18 * valprint.c (generic_emit_char, generic_printstr): Pass size ofTom Tromey2-2/+7
gdb_wchar_t to convert_between_encodings.
2012-10-18 * aarch64-asm.c (aarch64_ins_ldst_reglist): InitializeKai Tietz3-7/+16
value with a default. (do_special_encoding): Likewise. (aarch64_ins_ldst_elemlist): Pre-initialize QSsize, and opcodeh2 variables with default. * arc-dis.c (write_comments_): Don't use strncat due size of state->commentBuffer pointer isn't predictable.
2012-10-18 * doc/as.texinfo: Add missing documentation about section flagKai Tietz2-0/+7
exclude.
2012-10-18 PR gold/14727Alan Modra2-1/+9
* object.cc (Relobj::is_section_name_included): Also match .sdata personality section.
2012-10-18 * target-reloc.h (class Default_comdat_behavior): New, package up..Alan Modra8-63/+80
(get_comdat_behaviour): ..this. (relocate_section): Add Relocate_comdat_behavior template arg, adjust code to suit. * arm.cc (Target_arm::relocate_section): Adjust to suit. (Target_arm::scan_reloc_section): Likewise. * i386.cc (Target_i386::relocate_section): Likewise. * sparc.cc (Target_sparc::relocate_section): Likewise. * tilegx.cc (Target_tilegx::relocate_section): Likewise. * x86_64.cc (Target_x86_64::relocate_section): Likewise. * powerpc.cc (class Relocate_comdat_behavior): New. (Target_powerpc::relocate_section): Don't zap opd relocs. Supply gold::relocate_section with new template arg.
2012-10-18*** empty log message ***gdbadmin1-1/+1
2012-10-17daily updateAlan Modra1-1/+1
2012-10-17 * powerpc.cc (Target_powerpc::Scan::local, global): Always emitAlan Modra2-21/+79
dynamic relocs for GOT_TPREL got entries, without symbol if resolving locally. (Target_powerpc::do_gc_add_reference): Don't add for dynamic objects. (Target_powerpc::scan_relocs): Define _GLOBAL_OFFSET_TABLE_ early. (Target_powerpc::Relocate:relocate): REL32 reloc may be unaligned.
2012-10-17 PR gold/14726Alan Modra2-3/+14
* gold.cc (queue_middle_tasks): Call gc_mark_symbol on _init and _fini.
2012-10-17gdb:Yao Qi13-6/+186
* breakpoint.c (invalidate_bp_value_on_memory_change): Add one more parameter 'inferior'. * corefile.c (write_memory_with_notification): Caller update. * mi/mi-cmd-var.c: Include "mi-main.h". (mi_cmd_var_assign): Set mi_suppress_notification.data_write_memory to 1 and restore it later. * mi/mi-cmds.c (mi_cmd mi_cmds): Update for "data-write-memory" and "data-write-memory-bytes. * mi/mi-interp.c: Include objfiles.h. (mi_interpreter_init): Call observer_attach_memory_changed. (mi_memory_changed): New. * mi/mi-main.h (struct mi_suppress_notification) <memory>: New field. * NEWS: Mention new MI notification "memory-changed". gdb/doc: * observer.texi (GDB Observers): Update observer 'memory_changed'. * gdb.texinfo (GDB/MI Async Records): Document for "memory-changed" notification. gdb/testsuite: * gdb.mi/mi-memory-changed.exp: New.
2012-10-17*** empty log message ***gdbadmin1-1/+1
2012-10-16daily updateAlan Modra1-1/+1
2012-10-16Add missing ChangeLog entry for previous commit:Joel Brobecker1-0/+6
2012-10-16 Joel Brobecker <brobecker@adacore.com> * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (aix5coff64_vec): Likewise.
2012-10-16dangling pointer in coff64-rs6000 archive cache.Joel Brobecker1-2/+2
bfd/ChangeLog: * coff64-rs6000.c (rs6000coff64_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (aix5coff64_vec): Likewise.
2012-10-16Dangling bfd pointer in archive cache.Joel Brobecker2-2/+8
This dandling pointer eventually leads to a crash when trying to run on ppc-aix a program using threading... bfd/ChangeLog: * coff-rs6000.c (rs6000coff_vec): Set _close_and_cleanup field to _bfd_archive_close_and_cleanup. (pmac_xcoff_vec): Likewise.
2012-10-162012-10-16 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2-1/+7
* layout.cc (Layout::include_section): Keep sections marked SHF_EXCLUDE when doing relocatable links.
2012-10-16 Fixed AArch64 TLS relocation resolution.Yufeng Zhang6-8/+54
bfd/ * elf64-aarch64.c (elf64_aarch64_tls_howto_table): Fix shift value for R_AARCH64_TLSIE_LD_GOTTPREL_PREL19, R_AARCH64_TLSLE_MOVW_TPREL_G2, R_AARCH64_TLSLE_MOVW_TPREL_G1, R_AARCH64_TLSLE_MOVW_TPREL_G1_NC, R_AARCH64_TLSLE_ADD_TPREL_HI12. (elf64_aarch64_tlsdesc_howto_table): Fix shift value for R_AARCH64_TLSDESC_LD64_PREL19 and R_AARCH64_TLSDESC_OFF_G1. (elf64_aarch64_final_link_relocate): Add signed_addend when resolving AARCH64_TLSLE_*_TPREL_* relocations. ld/testsuite/ * ld-aarch64/tlsle-symbol-offset.s: New file. * ld-aarch64/tlsle-symbol-offset.d: New file. * ld-aarch64/aarch64-elf.exp: Add tlsle-symbol-offset test.
2012-10-16gdb/testsuite/Yao Qi3-2/+15
* gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test returns true. Call gdb_load_shlibs. * gdb.reverse/solib-reverse.exp: Likewise.
2012-10-16gdb/Jan Kratochvil2-3/+4
* dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Remove comment.
2012-10-16 * elf32-xtensa.c (free_section_cache): Renamed fromAlan Modra2-6/+13
clear_section_cache. Don't zero cache. (section_cache_section): Remove ineffectual zero of cache. Call init_section_cache instead.
2012-10-16 * powerpc.cc (Target_powerpc::define_save_restore_funcs): New func.Alan Modra2-0/+371
(Target_powerpc::do_finalize_sections): Call it. (Output_data_save_res): New class and supporting functions. (Target_powerpc::symval_for_branch): Only look up .opd entry for normal symbols defined in object files.
2012-10-16*** empty log message ***gdbadmin1-1/+1
2012-10-15daily updateAlan Modra1-1/+1
2012-10-15 * lib/cp-support.exp (cp_test_ptype_class): Add supportKeith Seitz3-0/+51
for class typedefs. * gdb.cp/derivation.exp: Add tests for g_instance.
2012-10-15 New option -nh: inhibit loading of ~/.gdbinit.Doug Evans6-9/+62
* NEWS: Mention -nh. * main.c (captured_main): Recognize and process -nh. (print_gdb_help): Mention -nh. * gdb.1: Mention -nh. Remove erroneous docs on -nx behavior. doc/ * gdb.texinfo (Mode Options): Document -nh. Elaborate on docs for -nx.
2012-10-15Remove sp_regnum_from_eax and pc_regnum_from_eaxH.J. Lu4-22/+11
PR backtrace/14646 PR gdb/14647 * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and pc_regnum_from_eax. * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax nor pc_regnum_from_eax. * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax nor pc_regnum_from_eax.
2012-10-15 * elf.c (special_sections_d): Add comment.Doug Evans2-0/+7
2012-10-15gdb/Jan Kratochvil6-4/+791
Fix entry values resolving in inlined frames. * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Move func_addr, gdbarch and caller_frame initialization later. Skip INLINE_FRAME entries of FRAME. gdb/testsuite/ Fix entry values resolving in inlined frames. * gdb.arch/amd64-entry-value-inline.S: New file. * gdb.arch/amd64-entry-value-inline.c: New file. * gdb.arch/amd64-entry-value-inline.exp: New file.
2012-10-15gdb/testsuite/Jan Kratochvil3-4/+12
Fix recent gdb_breakpoint regression. * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly braces from the parameter. * gdb.java/jprint.exp: Likewise.
2012-10-15 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.Doug Evans2-1/+8
2012-10-15Remove trailing '#' in gdb.dwarf2/dw2-icc-opaque.SJoel Brobecker2-1/+5
gdb/testsuite/ChangeLog: * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
2012-10-15Build with -DMS_WIN64 on amd64-windows if Python enabled...Joel Brobecker3-0/+34
... and building with GCC. gdb/ChangeLog: * configure.ac: Build with -DMS_WIN64 if building with Python enabled using GCC on amd64-windows. * configure: Regenerate.
2012-10-15 PR python/14635:Tom Tromey4-1/+17
* python/py-symtab.c (del_objfile_sal): Set 'symtab' field to Py_None. testsuite * gdb.python/py-symtab.exp: Test sal and symtab destructors.
2012-10-15 PR python/14634:Tom Tromey4-1/+11
* python/py-symbol.c (sympy_dealloc): Check for NULL symbol. testsuite * gdb.python/py-symbol.exp: Test symbol destructor.
2012-10-15Updated the system register table.Yufeng Zhang7-4/+30
opcodes/ * aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and rmr_el3; remove daifset and daifclr. gas/testsuite/ * gas/aarch64/sysreg-1.s: Add tests of rmr_el1, rmr_el2 and rmr_el3. * gas/aarch64/sysreg-1.d: Update. * gas/aarch64/illegal.s: Add tests of daifset and daifclr. * gas/aarch64/illegal.d: Update.
2012-10-15Added the changelog for the previous commit.Yufeng Zhang2-0/+11
2012-10-15Added missing alignment check to load/store uimm12 immediate offset.Yufeng Zhang3-1/+4
opcodes/ * aarch64-opc.c (operand_general_constraint_met_p): Change to check the alignment of addr.offset.imm instead of that of shifter.amount for operand type AARCH64_OPND_ADDR_UIMM12. gas/testsuite/ * gas/aarch64/illegal-2.s: Add test case. * gas/aarch64/illegal-2.l: Likewise.
2012-10-15 * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqxDave Anglin2-4/+9
opcodes. Likewise, use "cM" instead of "cm" in fstqs opcodes.
2012-10-15*** empty log message ***gdbadmin1-1/+1
2012-10-14 * config/tc-hppa.c (pa_get_number): New.Dave Anglin2-43/+52
(pa_get_absolute_expression): Simplify. (pa_ip): Use pa_get_number instead of pa_get_absolute_expression to get SOP, SFU and COPR identifiers.
2012-10-14 * config/tc-hppa.c (pa_ip): Reject double floating point stores andDave Anglin2-1/+9
loads that reference the right half of a floating point register.
2012-10-14 * gas/hppa/basic/fmemLRbug.s: Remove double load and store instructionsDave Anglin3-56/+46
which reference the right half of a floating point register. * gas/hppa/basic/basic.exp: Adjust expected results.
2012-10-14daily updateAlan Modra1-1/+1
2012-10-14gdb/testsuite/Yao Qi22-3395/+29
* gdb.mi/mi2-cli.exp: Move to mi-cli.exp. * gdb.mi/mi-cli.exp: New. * gdb.mi/mi2-basics.exp: Remove. * gdb.mi/mi2-break.exp: Remove. * gdb.mi/mi2-console.exp: Remove. * gdb.mi/mi2-disassemble.exp: Remove. * gdb.mi/mi2-eval.exp: Remove. * gdb.mi/mi2-file.exp: Remove. * gdb.mi/mi2-hack-cli.exp: Remove. * gdb.mi/mi2-pthreads.exp: Remove. * gdb.mi/mi2-read-memory.exp: Remove. * gdb.mi/mi2-regs.exp: Remove. * gdb.mi/mi2-return.exp: Remove. * gdb.mi/mi2-simplerun.exp: Remove. * gdb.mi/mi2-stack.exp: Remove. * gdb.mi/mi2-stepi.exp: Remove. * gdb.mi/mi2-syn-frame.exp: Remove. * gdb.mi/mi2-until.exp: Remove. * gdb.mi/mi2-watch.exp: Remove. * gdb.mi/mi2-var-block.exp: Remove. * gdb.mi/mi2-var-cmd.exp: Remove. * gdb.mi/mi2-var-display.exp: Remove.
2012-10-14*** empty log message ***gdbadmin1-1/+1
2012-10-13daily updateAlan Modra1-1/+1
2012-10-13 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to thoseDave Anglin2-8/+17
not involving a carry.