aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-25daily updateAlan Modra1-1/+1
2008-12-25*** empty log message ***gdbadmin1-1/+1
2008-12-24Fix the LM32 port entry timestamp for the time of its application.Jan Kratochvil1-1/+1
2008-12-24opcodes/Jan Kratochvil3-0/+33
* Makefile.am (CFILES, ALL_MACHINES): Add LM32 source and object files. * Makefile.in: Regenerate.
2008-12-24 * gold.cc (gold_exit): Call plugin cleanup handlers on exit.Cary Coutant4-8/+46
* plugin.cc (Plugin_manager::finish): Rename as layout_deferred_objects. Move cleanup to separate function. (Plugin_manager::cleanup): New function. (Plugin_finish::run): Call layout_deferred_objects and cleanup separately. * plugin.h (Plugin_manager::finish): Rename as layout_deferred_objects. (Plugin_manager::cleanup): New function. (Plugin_manager::cleanup_done): New field.
2008-12-24daily updateAlan Modra1-1/+1
2008-12-24*** empty log message ***gdbadmin1-1/+1
2008-12-23 * plugin.cc (is_visible_from_outside): New function.Cary Coutant5-13/+129
(Pluginobj::get_symbol_resolution_info): Call is_visible_from_outside so we don't return "IR only" status for exported symbols or -r links. * testsuite/Makefile.am (plugin_test_3): New test case. * testsuite/Makefile.in: Regenerate. * testsuite/plugin_test_3.sh: New file.
2008-12-23Add LM32 port.Nick Clifton64-20/+10500
2008-12-23 * gdb.cp/punctuator.exp: Backslash the '$' signs.Jan Kratochvil2-12/+16
2008-12-23gas/H.J. Lu22-111/+616
2008-12-23 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (match_template): Changed to return const template *. Handle i.swap_operand for 3 operands. (build_vex_prefix): Take const template *. Swap operand for 2-byte VEX prefix if possible. (md_assemble): Updated. (build_modrm_byte): Handle RegMem bit for SSE2AVX. gas/testsuite/ 2008-12-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run x86-64-avx-swap and x86-64-avx-swap-intel. * gas/i386/opts.s: Add tests for movsd, movss, vmovsd and vmovss. * gas/i386/x86-64-opts.s: Likewise. * gas/i386/opts.d: Updated. * gas/i386/opts-intel.d: Likewise. * gas/i386/sse2avx-opts.d: Likewise. * gas/i386/sse2avx-opts-intel.d: Likewise. * gas/i386/x86-64-opts.d: Likewise. * gas/i386/x86-64-opts-intel.d: Likewise. * gas/i386/x86-64-sse2avx-opts.d: Likewise. * gas/i386/x86-64-sse2avx-opts-intel.d: Likewise. * gas/i386/x86-64-avx-swap.d: New. * gas/i386/x86-64-avx-swap.s: Likewise. * gas/i386/x86-64-avx-swap-intel.d: Likewise. opcodes/ 2008-12-23 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (EXdS): New. (EXdVexS): Likewise. (EXqVexS): Likewise. (d_swap_mode): Likewise. (q_mode): Updated. (prefix_table): Use EXdS on movss and EXqS on movsd. (vex_len_table): Use EXdVexS on vmovss and EXqVexS on vmovsd. (intel_operand_size): Handle d_swap_mode. (OP_EX): Likewise. * i386-opc.h (S): Update comments. * i386-opc.tbl: Add S to movss, movsd, vmovss and vmovsd. * i386-tbl.h: Regenerated.
2008-12-232008-12-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+20
PR ld/7036 * elfxx-ia64.c (elfNN_ia64_relax_section): Assume linker will always insert 32byte between the .plt and .text sections after the the first relaxation pass.
2008-12-232008-12-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-2/+10
* Makefile.am (EXTRA_DIST): Add deffilep.c and deffilep.h * Makefile.in: Regenerate.
2008-12-23 PR 7093Nick Clifton2-0/+10
* elf32-arm.c (bfd_elf32_arm_init_maps): Only process ARM ELF object files.
2008-12-23 * lib/ld-lib.exp (run_dump_test): New option ld_after_inputfiles.Hans-Peter Nilsson8-1/+177
* ld-cris/libdso-1c.d, ld-cris/expdref2.s, ld-cris/libdso-15b.d, ld-cris/expdyn1w.s, ld-cris/libdso-1d.d, ld-cris/tls-ie-78.d: New tests.
2008-12-232008-12-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-16/+133
* mach-o.c (bfd_mach_o_make_bfd_section): Use the standard ELF name .eh_frame for __TEXT.__eh_frame so that it is recognized by gdb. Use shorter sections name for well known sections. (bfd_mach_o_scan_read_dylinker): Only put dylinker name in the section content. (bfd_mach_o_scan_read_segment): Use shorter sections name for well known segments. (bfd_mach_o_scan_read_command): Ignore some new commands. (bfd_mach_o_openr_next_archived_file): Use more descriptive names for members filename. (bfd_mach_o_fat_extract): New function to easily extract members of a fat binary. * mach-o.h (bfd_mach_o_load_command_type): Add new constants. (bfd_mach_o_dylinker_command): Fix comment and reindent. (bfd_mach_o_fat_extract): New prototype.
2008-12-23 * coffcode.h (coff_write_object_contents): Always initialiseNick Clifton4-0/+20
section.s_page. * ti.h (COFF_ADJUST_SCNHDR_OUT_PRE): Define.
2008-12-23* elf32-m68k.c (elf_m68k_discard_copies): Use SYMBOL_CALLS_LOCAL.Andreas Schwab2-29/+22
(elf_m68k_relocate_section): Use SYMBOL_CALLS_LOCAL and SYMBOL_REFERENCES_LOCAL. (elf_m68k_relocate_section): Likewise.
2008-12-232008-12-23 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+8
* rcparse.y (rcdata_data): Allow empty comma elements.
2008-12-23 * po/ga.po: Updated Irish translation.Nick Clifton2-89/+167
2008-12-23 * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,Nick Clifton3-8/+33
atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1, atmega64m1, atmega32u6, atmega128rfa1, at90pwm81, at90scr100, m3000f, m3000s and m3001b devices. * doc/c-avr.texi: Likewise.
2008-12-23Remove STT_IFUNC support.Nick Clifton32-640/+83
2008-12-23 * object.cc (Sized_relobj::layout_section): New function.Cary Coutant5-42/+193
(Sized_relobj::do_layout): Defer layout of input sections until after plugin has provided replacement files. (Sized_relobj::do_layout_deferred_sections): New function. * object.h (Relobj::set_section_offset): Remove virtual keyword. (Relobj::layout_deferred_sections): New function. (Relobj::do_layout_deferred_sections): New function. (Sized_relobj::do_layout_deferred_sections): New function. (Sized_relobj::layout_section): New function. (Sized_relobj::Deferred_layout): New structure. (Sized_relobj::deferred_layout_): New field. * plugin.cc (Plugin_manager::finish): Renamed, was cleanup. Change all callers. Layout deferred sections. (class Plugin_finish): Renamed, was Plugin_cleanup. Change all references. (Plugin_hook::run): Move code from do_plugin_hook inline. (Plugin_hook::do_plugin_hook): Remove. * plugin.h (Plugin_manager::Plugin_manager): Add missing initializers. (Plugin_manager::finish): Renamed, was cleanup. (Plugin_manager::should_defer_layout): New function. (Plugin_manager::add_deferred_layout_object): New function. (Plugin_manager::Deferred_layout_list): New type. (Plugin_manager::deferred_layout_objects_): New field. (Plugin_hook::do_plugin_hook): Remove.
2008-12-23 * arch.c, arch.h, cpu.c, cpu.h, cpuall.h, decode.c, decode.h,Hans-Peter Nilsson10-149/+163
model.c, sem.c: Regenerate.
2008-12-23*** empty log message ***gdbadmin1-1/+1
2008-12-23daily updateAlan Modra1-1/+1
2008-12-22 * stack.c (print_block_frame_locals): Print spaces, not tabs.Tom Tromey5-21/+37
Update for call to print_variable_and_value. (print_frame_arg_vars): Update. * value.h (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. * printcmd.c (print_variable_and_value): Rename from print_variable_value. Add 'name' and 'indent' parameters. Use common_val_print. * f-valprint.c (info_common_command): Update.
2008-12-22 * python/python-value.c (valpy_length): Remove #if.Tom Tromey2-4/+4
2008-12-222008-12-22 Paul Pluzhnikov <ppluzhnikov@google.com>Tom Tromey2-0/+5
* python/python-internal.h (PyEval_ReleaseLock): New define.
2008-12-22gdbTom Tromey4-82/+139
* c-exp.y (ident_tokens): New global. (struct token) <cxx_only>: New field. (tokentab3): Update. (tokentab2): Update. (yylex): Use ident_tokens. gdb/testsuite * gdb.cp/punctuator.exp: New file.
2008-12-222008-12-22 Adam Denton <adenton@yahoo.com>Tom Tromey2-0/+6
PR gdb/8307: * environ.c (free_environ): Free e->vector.
2008-12-22gdb/Jan Kratochvil4-2/+31
Fix memory double-free. * completer.c (line_completion_function): Clear LIST after called xfree. gdb/testsuite/ * gdb.base/completion.exp (Completing non-existing component): New test.
2008-12-22 * breakpoint.c (update_watchpoint): Adjust and extend the descriptionJoel Brobecker2-7/+13
of this function. Fix one error message accordingly.
2008-12-22daily updateAlan Modra1-1/+1
2008-12-22*** empty log message ***gdbadmin1-1/+1
2008-12-21 * gas/cris/rd-dtpoffd1.d, gas/cris/rd-dtpoffd1.s: New test.Hans-Peter Nilsson3-0/+37
2008-12-21 * config/tc-cris.c (s_cris_dtpoff): New function.Hans-Peter Nilsson2-0/+31
(md_pseudo_table): Add "dtpoffd".
2008-12-21 Fix for PR gdb/8648.Jan Kratochvil5-14/+10
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c, gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test, gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test, gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
2008-12-21gdb/Jan Kratochvil5-0/+110
Fix hw watchpoints created before the inferior was started. * breakpoint.c (update_watchpoint): Convert the bp_watchpoint and bp_hardware_watchpoint types according to the current runtime state. gdb/testsuite/ * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
2008-12-21Add missing ChangeLog entries for my last commit.Ralf Wildenhues7-0/+34
2008-12-21*** empty log message ***gdbadmin1-1/+1
2008-12-21daily updateAlan Modra1-1/+1
2008-12-202008-12-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-12/+13
* config/tc-i386.c (parse_insn): Optimize ".s" handling.
2008-12-20gas/H.J. Lu21-7477/+8819
2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (_i386_insn): Add swap_operand. (parse_insn): Handle ".s". (match_template): Handle swap_operand. * doc/c-i386.texi: Document .s suffix. gas/testsuite/ 2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts, sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel, x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel. * gas/i386/opts.d: New. * gas/i386/opts-intel.d: Likewise. * gas/i386/opts.s: Likewise. * gas/i386/sse2avx-opts.d: Likewise. * gas/i386/sse2avx-opts-intel.d: Likewise. * gas/i386/x86-64-opts.d: Likewise. * gas/i386/x86-64-opts-intel.d: Likewise. * gas/i386/x86-64-opts.s: Likewise. * gas/i386/x86-64-sse2avx-opts.d: Likewise. * gas/i386/x86-64-sse2avx-opts-intel.d: Likewise. opcodes/ 2008-12-20 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (EbS): New. (EvS): Likewise. (EMS): Likewise. (EXqS): Likewise. (EXxS): Likewise. (b_swap_mode): Likewise. (v_swap_mode): Likewise. (q_swap_mode): Likewise. (x_swap_mode): Likewise. (v_mode): Updated. (w_mode): Likewise. (t_mode): Likewise. (xmm_mode): Likewise. (swap_operand): Likewise. (dis386): Use EbS on movB. Use EvS on moveS. (dis386_twobyte): Use EXxS on movapX. (prefix_table): Use EXxS on movups, movupd, movdqu, movdqa, vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq. (vex_table): Use EXxS on vmovapX. (vex_len_table): Use EXqS on vmovq. (intel_operand_size): Handle b_swap_mode, v_swap_mode, q_swap_mode and x_swap_mode. (OP_E_register): Handle b_swap_mode and v_swap_mode. (OP_EM): Handle v_swap_mode. (OP_EX): x_swap_mode and q_swap_mode. * i386-gen.c (opcode_modifiers): Add S. * i386-opc.h (S): New. (Modrm): Updated. (i386_opcode_modifier): Add s. * i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq, movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq. * i386-tbl.h: Regenerated.
2008-12-20 * ld-cris/tls-err-77.d, ld-cris/tls-gc-79.d, ld-cris/tls-ie-8e.s,Hans-Peter Nilsson5-0/+96
ld-cris/tls-ie-8e1.d: New tests.
2008-12-20 * gas/cris/rd-tls-1.s, gas/cris/rd-tls-1.d: Test :IE andHans-Peter Nilsson4-1/+14
decoration on double-indirect. * gas/cris/tls-err-1.s: Test :IE on wrong-size operand.
2008-12-20 * config/tc-cris.c (cris_process_instruction): HandleHans-Peter Nilsson2-0/+17
BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits. (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the "double indirect" addressing mode. (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE. (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
2008-12-20 * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.Hans-Peter Nilsson5-6/+43
(cris_reloc_map): Similarly. (cris_elf_relocate_section, cris_elf_gc_sweep_hook) (cris_elf_check_relocs): Handle R_CRIS_32_IE. * reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE. * bfd-in2.h, libbfd.h: Regenerate.
2008-12-20 * cris.h (R_CRIS_32_IE): New relocation.Hans-Peter Nilsson2-0/+9
2008-12-20*** empty log message ***gdbadmin1-1/+1