aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-01 * testsuite/icf_virtual_function_folding_test.cc (class Bar): AddIan Lance Taylor2-0/+6
virtual destructor.
2010-12-01 * README: Update compilers known to work and fail.Ian Lance Taylor2-2/+6
2010-12-01 * valops.c (value_assign): Returned value is never lazy. If aUlrich Weigand3-9/+32
C++ class type is returned, fix incorrect enclosing type / embedded offset. If internal variable is returned, allocate new internalvar value using value_of_internalvar. * NEWS: Document changes in behavior of "print x = 0" and similar expressions.
2010-12-012010-12-01 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+22
PR binutils/11065 * dlltool.c (dll_name_set_by_exp_name): New variable. (def_name): Allow setting of dll_name by .def file. (def_library): Likewise. (main): Set dll_name_set_by_exp_name, if dll_name is set indirect by exp_name.
2010-12-01*** empty log message ***gdbadmin1-1/+1
2010-11-30daily updateAlan Modra1-1/+1
2010-11-30 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.Doug Evans11-279/+256
(gdb_expect_list): Fix spelling errors in comments. * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of send_gdb/gdb_expect_list where applicable. * gdb.base/call-ar-st.exp: Ditto. * gdb.base/funcargs.exp: Ditto. * gdb.base/gcore.exp: Ditto. * gdb.base/page.exp: Ditto. * gdb.base/sigaltstack.exp: Ditto. * gdb.base/siginfo.exp: Ditto. * gdb.base/sigstep.exp: Ditto. * gdb.base/trace-commands.exp: Ditto.
2010-11-30 * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS testMatthew Gretton-Dann2-2/+8
names.
2010-11-30Add sparc64-rtems.Alan Modra6-3/+17
2010-11-30*** empty log message ***gdbadmin1-1/+1
2010-11-29 * python/lib/gdb/printing.py (register_pretty_printer): ChangeDoug Evans7-17/+41
printer-name:subprinter-name to printer-name;subprinter-name. * python/lib/gdb/command/pretty_printers.py (parse_printer_regexps): Ditto. (InfoPrettyPrinter, EnablePrettyPrinter, DisablePrettyPrinter): Ditto. doc/ * gdb.texinfo (Pretty-Printer Introduction): Change printer-name:subprinter-name to printer-name;subprinter-name. testsuite/ * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to printer-name;subprinter-name.
2010-11-29daily updateAlan Modra1-1/+1
2010-11-29gdbTom Tromey20-50/+1583
* opencl-lang.c (lval_func_check_synthetic_pointer): New function. * value.h (struct lval_funcs) <indirect, check_synthetic_pointer>: New fields. (value_bits_synthetic_pointer): Declare. * value.c (value_bits_synthetic_pointer): New function. * valprint.c (valprint_check_validity): Handle synthetic pointers. * valops.c (value_ind): Use new 'indirect' lval_funcs method. * valarith.c (value_ptradd): Use set_value_component_location. * p-valprint.c (pascal_object_print_value_fields): Handle synthetic pointers. * jv-valprint.c (java_print_value_fields): Handle synthetic pointers. * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_implicit_pointer. (dwarf2_fetch_die_location_block): Add get_frame_pc, baton arguments. Handle location lists. (fill_in_loclist_baton): New function. (dwarf2_symbol_mark_computed): Use it. * dwarf2loc.h (dwarf2_find_location_expression): Declare. (dwarf2_fetch_die_location_block): Add get_frame_pc, baton arguments. * dwarf2loc.c (dwarf2_find_location_expression): Rename from find_location_expression. No longer static. Update all callers. (dwarf_expr_frame_pc): New function. (per_cu_dwarf_call): Add get_frame_pc, baton arguments. Update all callers. (struct piece_closure) <per_cu>: New field. (allocate_piece_closure): Add per_cu argument. (read_pieced_value): Handle DWARF_VALUE_IMPLICIT_POINTER. (check_pieced_value_bits): Remove validity argument, add check_for argument. Handle DWARF_VALUE_IMPLICIT_POINTER. (check_pieced_value_validity, check_pieced_value_invalid): Update. (check_pieced_synthetic_pointer): New function. (get_frame_address_in_block_wrapper): New function. (indirect_pieced_value): New function. (pieced_value_funcs): Update. (invalid_synthetic_pointer): New function. (dwarf2_evaluate_loc_desc_full): Rename from dwarf2_evaluate_loc_desc. Add byte_offset argument. (dwarf2_evaluate_loc_desc): Rewrite. (dwarf2_loc_desc_needs_frame): Set new field on context. (get_ax_pc): New function. (disassemble_dwarf_expression): Handle DW_OP_GNU_implicit_pointer. * dwarf2expr.h (enum dwarf_value_location) <DWARF_VALUE_IMPLICIT_POINTER>: New constant. (struct dwarf_expr_context) <get_frame_pc>: New field. (struct dwarf_expr_piece) <v.ptr>: New field. * dwarf2expr.c (add_piece): Handle DWARF_VALUE_IMPLICIT_POINTER. (execute_stack_op): Handle DW_OP_GNU_implicit_pointer. * dwarf2-frame.c (no_get_frame_pc): New function. (execute_stack_op): Set new field on context. * cp-valprint.c (cp_print_value_fields): Handle synthetic pointers. gdb/testsuite * gdb.dwarf2/implptr.exp: New file. * gdb.dwarf2/implptr.c: New file. * gdb.dwarf2/implptr.S: New file.
2010-11-29merge from gccDJ Delorie4-6/+11
2010-11-292010-11-29 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-0/+66
PR python/12199 * python/py-breakpoint.c (bppy_delete_breakpoint): New function. 2010-11-29 Phil Muldoon <pmuldoon@redhat.com> PR python/12199 * gdb.python/py-breakpoint.exp: Test the delete method. 2010-11-29 Phil Muldoon <pmuldoon@redhat.com> PR python/12199 * gdb.texinfo (Breakpoints In Python): Document "delete" method.
2010-11-29* configure.ac: Move comment to remove extra space in last argumentAndreas Schwab2-1/+7
of GCC_TARGET_TOOL.
2010-11-29*** empty log message ***gdbadmin1-1/+1
2010-11-28daily updateAlan Modra1-1/+1
2010-11-28gdb/Jan Kratochvil8-32/+163
Fix step_resume_breakpoint unsaved during an infcall. * gdbthread.h (struct thread_control_state): Move here field step_resume_breakpoint ... (struct thread_info): ... from here. * infrun.c (save_infcall_control_state): Reset control.step_resume_breakpoint to NULL. (restore_infcall_control_state, discard_infcall_control_state): Delete control.step_resume_breakpoint. * arm-linux-tdep.c, infrun.c, thread.c: Update all the references to the moved field. gdb/testsuite/ Fix step_resume_breakpoint unsaved during an infcall. * gdb.base/step-resume-infcall.exp: New file. * gdb.base/step-resume-infcall.c: New file.
2010-11-28gdb/Jan Kratochvil24-466/+552
Rename and move inferior_thread_state and inferior_status. * gdbthread.h (struct thread_control_state): New struct, move fields step_range_start, step_range_end, step_frame_id, step_stack_frame_id, trap_expected, proceed_to_finish, in_infcall, step_over_calls, stop_step and stop_bpstat here from struct thread_info. (struct thread_suspend_state): New struct, move field stop_signal here from struct thread_info. (struct thread_info): Move the fields above from this struct. * inferior.h: Move the inferior_thread_state and inferior_status declarations comment to their definitions at infrun.c. (struct inferior_control_state): New struct, move field stop_soon from struct inferior here. (struct inferior_suspend_state): New empty struct. (struct inferior): New fields control and suspend. Move out field stop_soon. * infrun.c (struct inferior_thread_state): Rename to ... (infcall_suspend_state): ... here. Replace field stop_signal by fields thread_suspend and inferior_suspend. (save_inferior_thread_state): Rename to ... (save_infcall_suspend_state): ... here. New variable inf. Update the code for new fields. (restore_inferior_thread_state): Rename to ... (restore_infcall_suspend_state): ... here. New variable inf. Update the code for new fields. (do_restore_inferior_thread_state_cleanup): Rename to ... (do_restore_infcall_suspend_state_cleanup): ... here. (make_cleanup_restore_inferior_thread_state): Rename to ... (make_cleanup_restore_infcall_suspend_state): ... here. (discard_inferior_thread_state): Rename to ... (discard_infcall_suspend_state): ... here. (get_inferior_thread_state_regcache): Rename to ... (get_infcall_suspend_state_regcache): ... here. (struct inferior_status): Rename to ... (struct infcall_control_state): ... here. Replace fields step_range_start, step_range_end, step_frame_id, step_stack_frame_id, trap_expected, proceed_to_finish, in_infcall, step_over_calls, stop_step, stop_bpstat and stop_soon by fields thread_control and inferior_control. (save_inferior_status): Rename to ... (save_infcall_control_state): ... here. Update the code for new fields. (restore_inferior_status): Rename to ... (restore_infcall_control_state): ... here. Update the code for new fields. (do_restore_inferior_status_cleanup): Rename to ... (do_restore_infcall_control_state_cleanup): ... here. (make_cleanup_restore_inferior_status): Rename to ... (make_cleanup_restore_infcall_control_state): ... here. (discard_inferior_status): Rename to ... (discard_infcall_control_state): ... here. * alpha-tdep.c, breakpoint.c, dummy-frame.c, dummy-frame.h, exceptions.c, fbsd-nat.c, gdbthread.h, infcall.c, infcmd.c, inferior.c, inferior.h, infrun.c, linux-nat.c, mi/mi-interp.c, mips-tdep.c, procfs.c, solib-irix.c, solib-osf.c, solib-spu.c, solib-sunos.c, solib-svr4.c, thread.c, windows-nat.c: Update all the references to the moved fields and renamed functions.
2010-11-28*** empty log message ***gdbadmin1-1/+1
2010-11-27daily updateAlan Modra1-1/+1
2010-11-27 * bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.Eric Botcazou2-3/+4
2010-11-27*** empty log message ***gdbadmin1-1/+1
2010-11-26daily updateAlan Modra1-1/+1
2010-11-26 * dwarf.c (decode_location_expression, display_debug_frames): MoveAlan Modra2-12/+19
code handling DW_EH_PE_pcrel into.. (get_encoded_value): ..here.
2010-11-26PR other/46020Alexandre Oliva6-4/+54
* configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3. * Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass. * Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New. (BASE_FLAGS_TO_PASS): Use it. * configure: Rebuilt. * Makefile.in: Rebuilt.
2010-11-26gdb/Jan Kratochvil2-1/+11
* infcall.c (struct inferior_thread_state) <siginfo_gdbarch>: Fix up the comment. (save_inferior_thread_state): Reset tp->stop_signal.
2010-11-26Fix ChangeLog entry.Jan Kratochvil1-1/+2
2010-11-26gdb/Jan Kratochvil2-2/+5
* infcall.c (caller_state_cleanup): Remove variable caller_state_cleanup.
2010-11-26update japanese translationAlan Modra4-460/+542
2010-11-26*** empty log message ***gdbadmin1-1/+1
2010-11-252010-11-25 Marc Khouzam <marc.khouzam@ericsson.com>Marc Khouzam2-1/+7
PR breakpoints/12217 * breakpoint.c (is_marker_spec): Check for NULL.
2010-11-25daily updateAlan Modra1-1/+1
2010-11-25 * breakpoint.h: No longer include python.h or python-internal.h.Pedro Alves5-13/+18
(struct breakpoint_object): Forward declare. * defs.h (PyObject) [!HAVE_PYTHON]: Don't define. * varobj.c (PyObject) [!HAVE_PYTHON]: Define. * python/py-breakpoint.c (build_bp_list): Cast py_bp_object to PyObject pointer. (gdbpy_breakpoint_created): Remove casts around py_bp_object accesses.
2010-11-25 * ld/testsuite/ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument inMatthew Gretton-Dann2-3/+8
jump-reloc-veneers* tests with --section-start .text=0x8000.
2010-11-252010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel4-10/+18
* config/tc-s390.c (current_cpu): Initialize with latest CPU. (init_default_arch): Default to z/Architecture mode if CPU provides it. Remove the check setting the CPU default. 2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU.
2010-11-25Update translationsAlan Modra29-14521/+28933
2010-11-25 * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hotAlan Modra2-0/+8
sections.
2010-11-25 PR gas/12264Alan Modra2-4/+7
* compress-debug.c: Include config.h first.
2010-11-25Add rs6000-core.c/.o to the list of optional backend files...Joel Brobecker3-0/+11
This makes sure that rs6000-core.c gets recompiled whenever any of its dependencies get changed. bfd/ChangeLog: * Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo. (OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c. * Makefile.in: Regenerate.
2010-11-25Build failure on ppc-aix (bfd_elf_get_obj_attr_int is undefined)Joel Brobecker2-0/+7
bfd_uses_spe_extensions should only be used when BFD has been built with ELF support. The typical way of checking that in GDB is to use the HAVE_ELF macro. gdb/ChangeLog: * rs6000-tdep.c (bfd_uses_spe_extensions): Use bfd_elf_get_obj_attr_int only if HAVE_ELF is defined.
2010-11-25*** empty log message ***gdbadmin1-1/+1
2010-11-24daily updateAlan Modra1-1/+1
2010-11-24gas: bfin: convert to new doc styleMike Frysinger3-11/+25
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-11-24gdb/Jan Kratochvil2-4/+13
Code cleanup. * infrun.c (struct inferior_status) <stepping_over_breakpoint> (save_inferior_status) <stepping_over_breakpoint> (restore_inferior_status) <stepping_over_breakpoint>: Rename to trap_expected. (struct inferior_status) <step_resume_break_address>: Remove.
2010-11-24gdb/Jan Kratochvil2-26/+51
* infrun.c (struct inferior_status, save_inferior_status) (restore_inferior_status): Group and reorder the fields, comment their groups.
2010-11-24gdb/Jan Kratochvil6-50/+55
Code cleanup. * dictionary.c (struct dict_vector) <iter_match_first, iter_match_next> (iter_match_first_hashed, iter_match_next_hashed) (iter_match_first_linear, iter_match_next_linear) (dict_iter_match_first, dict_iter_match_next, iter_match_first_hashed) (iter_match_next_hashed, iter_match_first_linear) (iter_match_next_linear): Use symbol_compare_ftype. * dictionary.h: Include symfile.h. (dict_iter_match_first, dict_iter_match_next): Use symbol_compare_ftype. * dwarf2read.c (dw2_map_matching_symbols): Likewise. * psymtab.c (match_partial_symbol, match_partial_symbol, map_block) (map_matching_symbols_psymtab): Likewise. * symfile.h (symbol_compare_ftype): New typedef. (struct quick_symbol_functions) <map_matching_symbols): Use symbol_compare_ftype.
2010-11-242010-11-24 Edjunior Machado <emachado@br.ibm.com>Thiago Jung Bauermann2-3/+7
* gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
2010-11-242010-11-24 Edjunior Machado <emachado@br.ibm.com>Thiago Jung Bauermann3-7/+103
* gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.' on ppc64's symbols; "finish" and "return" commands must accept to show the caller line again as well as the line after. * gdb.asm/powerpc64.inc: New file.