aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-29daily updateAlan Modra1-1/+1
2008-12-28 * gdbint.texinfo (gdbarch_cannot_fetch_register): Don't mentionPedro Alves2-33/+16
FETCH_INFERIOR_REGISTERS. (Native Conditionals): Remove obsolete CHILD_PREPARE_TO_STORE, FETCH_INFERIOR_REGISTERS descriptions. Remove gdbarch_get_longjmp_target descrition, since already described in Target Conditionals. Move gdbarch_fp0_regnum description to ... (Target Conditionals): ... here.
2008-12-28 * linux-fork.c (linux_fork_detach): New.Pedro Alves6-12/+80
* linux-fork.h (linux_fork_detach): Declare. * linux-nat.c (linux_child_follow_fork): When following the fork child, add the child inferior before possibly detaching from the parent. Don't reinstall ourselves. (linux_nat_detach): Call linux_fork_detach if there are other forks to debug. * linux-thread-db.c (thread_db_detach): Don't call target_mourn_inferior. Instead inline the necessary bits. * inf-ptrace.c (inf_ptrace_detach): Don't unpush the target if there are other inferiors to debug.
2008-12-28 Fix TYPE_HIGH_BOUND for TYPE_CODE_RANGE using arbitrary TYPE_NFIELDS inJan Kratochvil10-54/+78
preparation for supporting DW_AT_byte_stride. * ada-lang.c (packed_array_type, ada_index_type): Use TYPE_INDEX_TYPE. (ada_array_bound_from_type): Move `index_type' declaration to the function start. New variable `retval'. Return the bounds for TYPE_CODE_RANGE using TYPE_LOW_BOUND and TYPE_HIGH_BOUND. Abort on invalid index type codes. * ada-typeprint.c (print_range): Set `upper_bound' for TYPE_CODE_RANGE now using TYPE_HIGH_BOUND. * ada-valprint.c (val_print_packed_array_elements): Use `index_type'. * eval.c (evaluate_subexp_standard): Use TYPE_INDEX_TYPE. * gdbtypes.c (create_range_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND, refer to the number of fields only through TYPE_NFIELDS. (create_array_type): Use TYPE_INDEX_TYPE. (check_typedef): Use TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND. * gdbtypes.h (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED) (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED): Use TYPE_INDEX_TYPE. (TYPE_ARRAY_UPPER_BOUND_VALUE, TYPE_ARRAY_LOWER_BOUND_VALUE): Use TYPE_INDEX_TYPE, TYPE_LOW_BOUND, TYPE_HIGH_BOUND, * hppa-tdep.c (hppa_alignof <TYPE_CODE_ARRAY>): Use TYPE_INDEX_TYPE. * mdebugread.c (parse_type): Use TYPE_LOW_BOUND, TYPE_HIGH_BOUND, * valarith.c (value_bit_index): Use TYPE_INDEX_TYPE.
2008-12-28daily updateAlan Modra1-1/+1
2008-12-28*** empty log message ***gdbadmin1-1/+1
2008-12-27daily updateAlan Modra1-1/+1
2008-12-27*** empty log message ***gdbadmin1-1/+1
2008-12-262008-12-26 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore2-6/+15
gdb/ * breakpoint.c (update_watchpoint): Refactor to avoid compiler warning.
2008-12-26*** empty log message ***gdbadmin1-1/+1
2008-12-26daily updateAlan Modra1-1/+1
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.