aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-10-19 * compress.c: Revert previous patch.Tom Tromey2-7/+12
2012-10-19 * compress.c (bfd_get_full_section_contents): Don't cacheTom Tromey2-8/+12
decompressed contents.
2012-10-19Correct my ChangeLog entryxuepeng guo1-3/+3
2012-10-19 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.xuepeng guo4-0/+18
* gdb.base/print-file-var.exp: Likewise. * gdb.base/type-opaque.exp: Likewise.
2012-10-19*** empty log message ***gdbadmin1-1/+1
2012-10-18daily updateAlan Modra1-1/+1
2012-10-18Add missed file on my last commitKai Tietz1-0/+2
2012-10-18 * tracepoint.c (print_one_static_tracepoint_marker): Constify.Tom Tromey8-8/+20
* symtab.c (iterate_over_some_symtabs): Constify. * source.h (symtab_to_fullname): Return 'const char *'. * source.c (symtab_to_fullname): Return 'const char *'. * python/py-symtab.c (stpy_fullname): Constify. * cli/cli-cmds.c (edit_command): Constify. * breakpoint.c (print_breakpoint_location) (update_static_tracepoint): Constify.
2012-10-18 * breakpoint.c (compare_breakpoints): Fix comparison.Tom Tromey2-1/+5
2012-10-18Remove some extraneous changes in readline/terminal.cJoel Brobecker2-19/+7
This patch removes some unnecessary differences between the official version of readline, and GDB's copy of it. readline/ChangeLog.gdb: * terminal.c: Remove duplicate includes of windows.h and wincon.h. (_rl_get_screen_size): Remove redundant code for MinGW getting the console size from the Windows API.
2012-10-18ChangeLog bfdKai Tietz18-20/+306
2012-10-18 Kai Tietz <ktietz@redhat.com> PR binutils/14067 * coff-i386.c (bfd_target): Add section flag SEC_EXCLUDE. Allow BFD_COMPRESS and BFD_DECOMPRESS flags. * coff-x86_64.c: Likewise. * coffcode.h (DOT_ZDEBUG): New define. (sec_to_styp_flags): Check for .zdebug. (styp_to_sec_flags): Likewise. * coffgen.c (make_a_section): Handle .debug_* section compression/decompression flags. * cofflink.c (mark_relocs): Ignore relocations for a section, which isn't marked as used. (_bfd_coff_link_input_bfd): Add support of compressed debug sections. * compress.c (decompress_contents): Loop as long as there is input available and there is room for output. * bfd/pe-arm.c: Add .zdebug_ partial match entry. * pe-i386.c: Likewise. * pe-x86_64.c: Likewise. * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't clear all data-directories as this might destroy content. * coff-i386.c (_bfd_generic_find_nearest_line_discriminator): define as coff_find_nearest_line_discriminator. * libcoff-in.h (coff_find_nearest_line_discriminator): New * libcoff.h: Regenerated. * coff-x86_64.c: Likewise. * coffgen.c (coff_find_nearest_line_discriminator): New function. prototype. ChangeLog binutils 2012-10-18 Kai Tietz <ktietz@redhat.com> * objdump.c (dump_bfd): Call dump headers after call of slurp_symtab. ChangeLog ld 2012-10-18 Kai Tietz <ktietz@redhat.com> PR binutils/14067 * NEWS: Menition new feature. * scripttempl/pep.sc: Add zdebug sections. * scripttempl/pe.sc: L
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