+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * c-typeprint.c (c_type_print_base): For no fields check include also
+ TYPE_TYPEDEF_FIELD_COUNT. Print new typedefs section.
+ * dwarf2read.c (struct typedef_field_list)
+ (struct field_info) <typedef_field_list, typedef_field_list_count>: New.
+ (dwarf2_add_typedef): New.
+ (read_structure_type): Call dwarf2_add_typedef for DW_TAG_typedef.
+ Copy also FI.TYPEDEF_FIELD_LIST.
+ * gdbtypes.h (struct typedef_field)
+ (struct cplus_struct_type) <typedef_field, typedef_field_count>
+ (TYPE_TYPEDEF_FIELD_ARRAY, TYPE_TYPEDEF_FIELD, TYPE_TYPEDEF_FIELD_NAME)
+ (TYPE_TYPEDEF_FIELD_TYPE, TYPE_TYPEDEF_FIELD_COUNT): New.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cp-namespace.c (cp_lookup_nested_type): New variable
+ concatenated_name. Turn the current return condition into a reverse
+ one. Call also lookup_static_symbol_aux on the constructed qualified
+ name.
+ * symtab.c (lookup_symbol_aux): Move variable objfile and searching in
+ other files into a called ...
+ (lookup_static_symbol_aux): ... new function here.
+ * symtab.h (lookup_static_symbol_aux): New prototype.
+ * valops.c (value_maybe_namespace_elt): Call also
+ lookup_static_symbol_aux if we failed otherwise.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix PR c++/11703 and PR gdb/1448.
+ * c-exp.y (yylex) <last_was_coloncolon && first_was_coloncolon>: Add
+ FIRST_ITER check.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix modification of cplus_struct_default.
+ * dwarf2read.c (dwarf2_add_member_fn) <no DW_AT_vtable_elem_location>:
+ Call ALLOCATE_CPLUS_STRUCT_TYPE.
+ * gdbtypes.c (cplus_struct_default): New empty initializer, comment it.
+
+2010-06-28 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Add entry announcing the python directory.
+
+2010-06-28 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (read_structure_type): Allocate null cleanup later.
+
+2010-06-28 Doug Evans <dje@google.com>
+
+ * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
+ All callers updated.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields) <recurse == 0>: Call
+ obstack_begin after each obstack_free.
+
+2010-06-27 Doug Evans <dje@google.com>
+
+ * value.c (value_static_field): Use `switch' instead of `if'.
+ Assert-fail if passed invalid TYPE_FIELD_LOC_KIND.
+
+ * valops.c (search_struct_field): Fix typo in error message.
+
+2010-06-26 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * dwarf2expr.c (execute_stack_op): Place preprocessor
+ directives at the start of the source line.
+
+2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
+
+ * defs.h (make_command_stats_cleanup): Declare.
+ (set_display_time): Declare.
+ (set_display_space): Declare.
+ * event-top.c (command_handler): Use make_command_stats_cleanup.
+ * main.c (display_time, display_space): Move definitions to utils.c.
+ (captured_main): Use make_command_stats_cleanup to get start-up
+ statistics.
+ Use set_display_time and set_display_space for processing OPT_STATISTICS
+ case.
+ * maint.c (maintenance_time_display): Use set_display_time.
+ (maintenance_space_display): Use set_display_space.
+ * top.c (execute_command): Remove obsolete 'maint time' code.
+ (command_loop): Use make_command_stats_cleanup.
+ * utils.c (struct cmd_stats): Structure for storing initial time
+ and space usage.
+ (display_time, display_space): Move definitions here from utils.c.
+ (set_display_time): New function.
+ (set_display_space): New function.
+ (make_command_stats_cleanup): New function.
+ (report_command_stats): New auxiliary function for
+ make_command_stats_cleanup.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib-spu.c (append_ocl_sos): Fix xsnprintf statement for
+ hosts where CORE_ADDR is long long.
+
+2010-06-25 Tom Tromey <tromey@redhat.com>
+
+ PR python/10808:
+ * python/python.c (execute_gdb_command): Add keywords. Accept
+ "to_string" argument.
+ (struct restore_ui_file_closure): New.
+ (restore_ui_file): New function.
+ (make_cleanup_restore_ui_file): Likewise.
+ (GdbMethods) <execute>: Update.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * s390-tdep.c (s390_push_dummy_call): Error on stack overflow
+ during inferior call stack frame setup.
+
+2010-06-25 Ken Werner <ken.werner@de.ibm.com>
+
+ * solib-spu.c: Include "exception.h".
+ (ocl_program_data_key): New variable.
+ (append_ocl_sos): New function.
+ (ocl_enable_break): Likewise.
+ (spu_current_sos): Call append_ocl_sos.
+ (spu_solib_loaded): Call ocl_enable_break.
+ (_initialize_spu_solib): Register ocl_program_data_key.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cp-support.c (reset_directive_searched): New function.
+ (make_symbol_overload_list_using): Prevent recursive calls.
+
+2010-06-25 Phil Muldoon <pmuldoon@redhat.com>
+
+ * printcmd.c (print_variable_and_value): Print error message on
+ caught exception.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * dwarf2expr.h (struct dwarf_value_location): Use ULONGEST as type
+ of stack values.
+ (struct dwarf_expr_piece): Rename "expr" member to "mem". Add new
+ "value" member.
+ (dwarf_expr_push): Change input type to ULONGEST.
+ (dwarf_expr_fetch): Change return type to ULONGEST.
+ (dwarf_expr_fetch_address): Add prototype.
+ (dwarf2_read_address): Remove prototype.
+ * dwarf2expr.c (dwarf_expr_push): Use ULONGEST as type of stack values.
+ Truncate stack values to ctx->addr_size bytes.
+ (dwarf_expr_fetch): Change return value to ULONGEST.
+ (dwarf_expr_fetch_address): New function.
+ (add_piece): Use dwarf_expr_fetch_address instead of dwarf_expr_fetch
+ when appropriate. Update for struct dwarf_expr_piece changes.
+ (dwarf2_read_address): Remove.
+ (unsigned_address_type): Remove.
+ (signed_address_type): Remove.
+ (execute_stack_op): Use dwarf_expr_fetch_address instead of
+ dwarf_expr_fetch when appropriate. Use ULONGEST as type of stack
+ values. Perform operations on ULONGEST instead of on GDB values,
+ sign-extending from ctx->addr_size bytes as needed. Read DW_OP_addr
+ values and DW_OP_deref results as unsigned integers.
+ * dwarf2loc.c (read_pieced_value): Update for struct dwarf_expr_piece
+ changes.
+ (write_pieced_value): Likewise.
+ (dwarf2_evaluate_loc_desc): Use dwarf_expr_fetch_address instead of
+ dwarf_expr_fetch when appropriate.
+ (compile_dwarf_to_ax): Read DW_OP_addr values as unsigned integers.
+ * dwarf2-frame.c (execute_stack_op): Use dwarf_expr_fetch_address
+ instead of dwarf_expr_fetch when appropriate.
+
+2010-06-25 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * c-typeprint.c (c_print_typedef): Append new type name for typedefs.
+
+2010-06-24 Joel Brobecker <brobecker@adacore.com>
+
+ * python/python.c (_initialize_python): Add new "constant"
+ PYTHONDIR in gdb module. Insert this path at the head of
+ sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and
+ exec its __init__.py script if it exists in that directory.
+
+2010-06-24 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_ACC_REGNUM): Define.
+ (RX_NUM_REGS): Redefine to 26.
+ (rx_register_name): Add register "acc". Change order of several
+ registers. Change name of "vct" register to "fintv" to match RX
+ documentation.
+ (rx_register_type): Add case for RX_ACC_REGNUM.
+
+2010-06-24 Tom Tromey <tromey@redhat.com>
+
+ * psymtab.c (lookup_partial_symbol): Mark definition as static.
+
+2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ Fix GDB startup on readonly filesystem.
+ * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
+
+2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ Fix PR 9436.
+ * breakpoint.c (handle_jit_event): New function.
+ (bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl,
+ jit, err, table and bs_class. New variables shlib_event, jit_event,
+ this_action and bptype. Change bs_class assignments to this_action
+ assignments. new unhandled bptype internal error. Move here
+ shlib_event and jit_event handling from handle_inferior_event.
+ * breakpoint.h (enum bpstat_what_main_action): Extend the comment.
+ Reorder items. Remove BPSTAT_WHAT_CHECK_SHLIBS and
+ BPSTAT_WHAT_CHECK_JIT.
+ * inferior.h (debug_infrun, stop_on_solib_events): New declarations.
+ * infrun.c (debug_infrun, stop_on_solib_events): Remove static.
+ (handle_inferior_event): Reinitialize frame and gdbarch after
+ bpstat_what call. Move BPSTAT_WHAT_CHECK_SHLIBS and
+ BPSTAT_WHAT_CHECK_JIT handling to bpstat_what. Reinitialize even
+ gdbarch when frame gets reinitialized.
+
+2010-06-24 Hui Zhu <teawater@gmail.com>
+
+ * printcmd.c (ui_printf): New function.
+ (printf_command): Call ui_printf.
+ (_initialize_printcmd): New command "eval".
+
+2010-06-23 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * infrun.c (handle_inferior_event): Handle presence of single-step
+ breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED.
+ Cancel single-step breakpoints for TARGET_WAITKIND_EXITED,
+ TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD.
+ * breakpoint.c (detach_single_step_breakpoints): New function.
+ (detach_breakpoints): Call it.
+ (cancel_single_step_breakpoints): New function.
+ * breakpoint.h (cancel_single_step_breakpoints): Add prototype.
+
+ * spu-tdep.c (spu_memory_remove_breakpoint): New function.
+ (spu_gdbarch_init): Install it.
+
+2010-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure.ac: Always set RDYNAMIC at least as `-rdynamic'.
+ * configure: Regenerate.
+
+2010-06-22 Hui Zhu <teawater@gmail.com>
+
+ * i386-tdep.c (i386_record_lea_modrm): Change warning to query.
+ (i386_process_record): Ditto.
+ * record.c (record_memory_query): New variable.
+ (_initialize_record): New command "set record memory-query".
+ * record.h (record_memory_query): New extern.
+
+2010-06-21 Doug Evans <dje@google.com>
+
+ * i386-tdep.h (i386_displaced_step_copy_insn): Declare.
+ * i386-tdep.c (i386_displaced_step_copy_insn): New function.
+ (i386_syscall_p): Change type of lengthp to int.
+ (i386_displaced_step_fixup): Handle kernels that run one past a
+ syscall insn.
+ * i386-linux-tdep.c (i386_linux_init_abi): Use
+ i386_displaced_step_copy_insn instead of
+ simple_displaced_step_copy_insn.
+
+2010-06-21 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (read_base_type): Handle DW_ATE_UTF.
+ (dwarf_type_encoding_name): Likewise.
+
+2010-06-21 Tom Tromey <tromey@redhat.com>
+
+ * p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME.
+ * p-typeprint.c (pascal_type_print_base): Use TYPE_ERROR_NAME.
+ * m2-valprint.c (m2_val_print): Use TYPE_ERROR_NAME.
+ * gdbtypes.h (TYPE_ERROR_NAME): New macro.
+ * f-valprint.c (f_val_print): Use TYPE_ERROR_NAME.
+ * f-typeprint.c (f_type_print_base): Use TYPE_ERROR_NAME.
+ * dwarf2read.c (tag_type_to_type): Create a new error type on
+ failure.
+ * c-valprint.c (c_val_print): Use TYPE_ERROR_NAME.
+ * c-typeprint.c (c_type_print_base): Use TYPE_ERROR_NAME.
+
+2010-06-21 Michael Snyder <msnyder@vmware.com>
+
+ * breakpoint.c (_initialize_breakpoint): Use add_prefix_cmd,
+ not add_abbrev_prefix_cmd, for "enable breakpoints".
+
+2010-06-21 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * dwarf2loc.c (find_location_expression): Add relocation offset
+ to base-address-selection entry base addresses. Read addresses
+ (and offsets) as signed/unsigned integers, depending on the
+ BFD's sign_extend_vma flag. Do not call dwarf2_read_address.
+ (loclist_describe_location): Likewise.
+ (disassemble_dwarf_expression): Read DW_OP_addr operand as
+ unsigned integer. Do not call dwarf2_read_address.
+ (locexpr_describe_location): Likewise for DW_OP_GNU_push_tls_address.
+
+2010-06-19 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-tdep.c (spu_frame_unwind_cache): Use LSLR register
+ value instead of hard-coded SPU_LS_SIZE.
+ (spu_software_single_step): Likewise.
+ * spu-tdep.h (SPU_LS_SIZE): Remove.
+
+2010-06-19 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * spu-multiarch.c (spu_xfer_partial): Wrap around local store
+ limit on local store memory accesses.
+ * spu-linux-nat.c (spu_xfer_partial): Likewise.
+ * spu-tdep.c (spu_lslr): Remove.
+ (spu_pointer_to_address): Do not truncate addresses.
+ (spu_integer_to_address): Likewise.
+ (spu_overlay_new_objfile): Use SPU_OVERLAY_LMA.
+ * spu-tdep.h: Add comments.
+ (SPUADDR_SPU): Respect SPU_OVERLAY_LMA bit.
+ (SPU_OVERLAY_LMA): Define.
+
+2010-06-18 Stan Shebs <stan@codesourcery.com>
+
+ * osdata.c (get_osdata): Warn separately if target does not report
+ type list.
+ (info_osdata_command): Allow empty type, report error if target
+ does not return available types of OS data.
+ * linux-nat.c (linux_nat_xfer_osdata): Report list of OS data
+ types if no annex supplied.
+
+ * thread.c (thread_id_make_value): Make a value representing the
+ current thread.
+ (_initialize_thread): Create $_thread.
+
+2010-06-17 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after
+ last local variable declaration. No real code change.
+
+2010-06-17 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (psymtabs_addrmap_cleanup): New function.
+ (dwarf2_build_psymtabs_hard): Use it. Create addrmap on a
+ temporary obstack.
+
+2010-06-16 Sergio Durigan Junior <sergiodj@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c: Include parser-defs.h.
+ (watchpoint_exp_is_const): New function.
+ (watch_command_1): Call watchpoint_exp_is_const to check
+ if the expression is constant.
+
+2010-06-15 Andreas Schwab <schwab@linux-m68k.org>
+
+ * configure.ac: Check for RDYNAMIC also for cross builds.
+ * configure: Regenerate.
+
+2010-06-15 Pedro Alves <pedro@codesourcery.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
+ (SFILES): Remove solib-null.c, add solib-target.c.
+ (COMMON_OBS): Remove solib-null.o, add solib-target.o.
+ (ALLDEPFILES): Remove solib-target.c.
+ * solib-target.c (_initialize_solib_target): Set
+ current_target_so_ops to solib_target_so_ops if not already set.
+ * solib-null.c: Delete.
+
+2010-06-14 Pedro Alves <pedro@codesourcery.com>
+
+ * NEWS: Mention GDBserver's JIT compilation of tracepoint
+ bytecode.
+
+2010-06-14 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cp-valprint.c (cp_print_static_field): Members of
+ dont_print_stat_array_obstack are of type "struct type *".
+ (_initialize_cp_valprint): Likewise.
+
+2010-06-14 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * frame.c (frame_register_unwind): Do not access contents
+ of "optimized out" unwound register value.
+
+2010-06-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * ada-lang.h (ada_print_type): Make varstring const.
+ * ada-typeprint.c (print_func_type): Make name const.
+ (ada_print_type): Make varstring const.
+ * c-lang.h (c_print_type): Make varstring const.
+ * c-typeprint.c (c_print_type): Likewise.
+ * f-lang.h (f_print_type): Likewise.
+ * f-typeprint.c (f_print_type): Likewise.
+ * jv-lang.h (java_print_type): Likewise.
+ * jv-typeprint.c (java_print_type): Likewise.
+ * language.c (unk_lang_print_type): Likewise.
+ * language.h (struct language_defn) <la_print_type>: Likewise.
+ * m2-lang.h (m2_print_type): Likewise.
+ * m2-typeprint.c (m2_print_type): Likewise.
+ * p-lang.h (pascal_print_type): Likewise.
+ * p-typeprint.c (pascal_print_type): Likewise.
+
+2010-06-11 Stan Shebs <stan@codesourcery.com>
+
+ Add per-operation permission flags.
+
+ * target.h (struct target_ops): New method to_set_permissions.
+ (target_set_permissions): New macro.
+ (target_insert_breakpoint): Change macro to function.
+ (target_remove_breakpoint): Ditto.
+ (target_stop): Ditto.
+ (may_write_registers): Declare.
+ (may_write_memory): Declare.
+ (may_insert_breakpoints): Declare.
+ (may_insert_tracepoints): Declare.
+ (may_insert_fast_tracepoints): Declare.
+ (may_stop): Declare.
+ * target.c (may_write_registers, may_write_registers_1): New globals.
+ (may_write_memory, may_write_memory_1): New globals.
+ (may_insert_breakpoints, may_insert_breakpoints_1): New globals.
+ (may_insert_tracepoints, may_insert_tracepoints_1): New globals.
+ (may_insert_fast_tracepoints, may_insert_fast_tracepoints_1): New
+ globals.
+ (may_stop, may_stop_1): New global.
+ (target_xfer_partial): Test for write permission.
+ (target_store_registers): Ditto.
+ (target_insert_breakpoint): New function.
+ (target_remove_breakpoint): New function.
+ (target_stop): New function.
+ (_initialize_targets): Add new set/show variables.
+ (set_write_memory_permission): New function.
+ (update_target_permissions): New function.
+ (set_target_permissions): New function.
+ (update_current_target): Default to_set_permissions.
+ (_initialize_targets): Use new globals and setter function.
+ * tracepoint.c (start_tracing): Test for permission.
+ * inferior.h (update_observer_mode): Declare.
+ * infrun.c (non_stop_1): Define earlier.
+ (observer_mode, observer_mode_1): New globals.
+ (set_observer_mode, show_observer_mode): New functions.
+ (update_observer_mode): New function.
+ (_initialize_infrun): Define "set observer" command.
+ * remote.c (PACKET_QAllow): New optional packet.
+ (remote_protocol_features): Add QAllow.
+ (remote_set_permissions): New function.
+ (remote_start_remote): Call it.
+ (init_remote_ops): Add it to target vector.
+ (_initialize_remote): Add config command for QAllow.
+
+2010-06-11 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_add_member_fn): Handle correct form of
+ DW_AT_vtable_elem_location even when GCC extension is seen.
+
+2010-06-11 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/9977, PR exp/11636:
+ * value.h (value_offset): Update.
+ (struct lval_funcs) <check_validity>: New field.
+ <copy_closure>: Make argument const.
+ (value_computed_closure): Update.
+ (value_contents_for_printing): Declare.
+ (value_bits_valid): Likewise.
+ (val_print): Likewise.
+ (set_value_component_location): Update.
+ (value_entirely_optimized_out): Declare.
+ * value.c (value_offset): Argument now const.
+ (require_not_optimized_out): New function.
+ (value_contents_for_printing): New function.
+ (value_contents_all): Call require_not_optimized_out.
+ (value_contents): Likewise.
+ (value_bits_valid): New function.
+ (value_computed_closure): Argument now const.
+ (set_value_component_location): Make 'whole' argument const.
+ (value_entirely_optimized_out): New function.
+ (value_bitsize): Argument now 'const'.
+ (value_bitpos): Likewise.
+ (value_type): Likewise.
+ * valprint.h (val_print_array_elements): Update.
+ * valprint.c (val_print): Add 'val' argument. Use
+ valprint_check_validity.
+ (valprint_check_validity): New function.
+ (value_check_printable): Use value_entirely_optimized_out.
+ (common_val_print): Update.
+ (value_print): Likewise.
+ (val_print_array_elements): Add 'val' argument.
+ * valops.c (value_fetch_lazy): Use value_contents_for_printing,
+ value_bits_valid. Reinit frame cache for lval_computed.
+ * sh64-tdep.c (sh64_do_register): Update.
+ * scm-valprint.c (scm_val_print): Add 'val' argument.
+ * scm-lang.h (scm_val_print): Update.
+ * python/python.h (apply_val_pretty_printer): Update.
+ * python/py-prettyprint.c (apply_val_pretty_printer): Add 'val'
+ argument. Call set_value_component_location.
+ * printcmd.c (print_scalar_formatted): Update.
+ * p-valprint.c (pascal_val_print): Add 'val' argument.
+ (pascal_object_print_value_fields): Likewise.
+ (pascal_object_print_value): Likewise.
+ (pascal_object_print_static_field): Update.
+ * p-lang.h (pascal_val_print): Update.
+ (pascal_object_print_value_fields): Update.
+ * mt-tdep.c (mt_registers_info): Update.
+ * mi/mi-main.c (get_register): Update.
+ (mi_cmd_data_evaluate_expression): Use common_val_print.
+ * m2-valprint.c (m2_print_array_contents): Add 'val' argument.
+ (m2_print_unbounded_array): Likewise.
+ (m2_val_print): Likewise.
+ * m2-lang.h (m2_val_print): Update.
+ * language.h (struct language_defn) <la_val_print>: Add 'val'
+ argument.
+ (LA_VAL_PRINT): Likewise.
+ * language.c (unk_lang_val_print): Add 'val' argument.
+ * jv-valprint.c (java_print_value_fields): Add 'val' argument.
+ (java_val_print): Likewise.
+ * jv-lang.h (java_val_print): Add 'val' argument.
+ * infcmd.c (default_print_registers_info): Update.
+ * f-valprint.c (f77_print_array_1): Add 'val' argument.
+ (f77_print_array): Likewise.
+ (f_val_print): Likewise.
+ * f-lang.h (f_val_print): Add 'val' argument.
+ * dwarf2loc.c (read_pieced_value): Use value_bitsize and
+ value_bitpos.
+ <DWARF_VALUE_OPTIMIZED_OUT>: Don't print warning. Call
+ set_value_optimized_out.
+ (write_pieced_value): Use value_bitsize and value_bitpos.
+ <default>: Don't exit loop.
+ (check_pieced_value_validity): New function.
+ (pieced_value_funcs): Reference check_pieced_value_validity,
+ check_pieced_value_invalid.
+ (copy_pieced_value_closure): Update.
+ (check_pieced_value_bits): New function.
+ (check_pieced_value_invalid): New function.
+ * d-valprint.c (dynamic_array_type): Add 'val' argument.
+ (d_val_print): Likewise.
+ * d-lang.h (d_val_print): Update.
+ * cp-valprint.c (cp_print_value_fields): Add 'val' argument.
+ (cp_print_value_fields_rtti): Likewise.
+ (cp_print_value): Likewise.
+ (cp_print_static_field): Update.
+ * c-valprint.c (c_val_print): Add 'val' argument.
+ (c_value_print): Update.
+ * c-lang.h (c_val_print): Update.
+ (cp_print_value_fields): Likewise.
+ (cp_print_value_fields_rtti): Likewise.
+ * ada-valprint.c (struct ada_val_print_args): Remove.
+ (val_print_packed_array_elements): Add 'val' argument.
+ (ada_val_print): Likewise. Rewrite.
+ (ada_val_print_stub): Remove.
+ (ada_val_print_array): Add 'val' argument.
+ (ada_val_print_1): Likewise.
+ (print_variant_part): Likewise.
+ (ada_value_print): Update.
+ (print_record): Add 'val' argument.
+ (print_field_values): Likewise.
+ * ada-lang.h (ada_val_print): Update.
+
+2010-06-11 Tom Tromey <tromey@redhat.com>
+
+ * vec.h (VEC_cleanup): New macro.
+ (DEF_VEC_ALLOC_FUNC_I): Update.
+ (DEF_VEC_ALLOC_FUNC_P): Likewise.
+ (DEF_VEC_ALLOC_FUNC_O): Likewise.
+ * dwarf2loc.c (struct axs_var_loc): Remove.
+ (unimplemented): New function.
+ (translate_register): Likewise.
+ (access_memory): Likewise.
+ (compile_dwarf_to_ax): Likewise.
+ (dwarf2_tracepoint_var_loc): Remove.
+ (dwarf2_tracepoint_var_access): Likewise.
+ (dwarf2_tracepoint_var_ref): Likewise.
+ (locexpr_tracepoint_var_ref): Use compile_dwarf_to_ax.
+ (loclist_tracepoint_var_ref): Likewise.
+ * dwarf2expr.h (dwarf_expr_require_composition): Declare.
+ * dwarf2expr.c (dwarf_expr_require_composition): Rename from
+ require_composition. No longer static.
+ (execute_stack_op): Update.
+ * ax-gdb.h (trace_kludge): Declare.
+
+2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (breakpoint_restore_shadows): New OWNER comment.
+ (should_be_inserted): Return zero also on NULL OWNER.
+ (breakpoint_program_space_exit): New OWNER comment.
+ (insert_breakpoint_locations): Extend comment for OWNER.
+ (remove_breakpoint_1, remove_breakpoint): Assert on OWNER.
+ (breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match):
+ New OWNER comment.
+ (print_it_typical): Return PRINT_UNKNOWN on NULL OWNER.
+ (watchpoint_check): New assert on BREAKPOINT_AT and OWNER.
+ (bpstat_check_location): New assert on OWNER.
+ (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL
+ and B initializations to the code block. New assert on them.
+ (print_one_breakpoint_location): New OWNER comment.
+ (watchpoint_locations_match): Assert on OWNER.
+ (breakpoint_locations_match): Move HW_POINT1 and HW_POINT2
+ initializations to the code block. New assert on OWNER.
+ (set_breakpoint_location_function): New assert on OWNER.
+ (disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib)
+ (bp_location_compare, update_global_location_list)
+ (update_global_location_list): New OWNER comment.
+
+2010-06-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h
+
+2010-06-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/nm-linux.h (struct target_ops): Remove forward declaration.
+ (lin_thread_get_thread_signals): Remove prototype.
+ (GET_THREAD_SIGNALS): Remove.
+ * linux-nat.h (lin_thread_get_thread_signals): Add prototype.
+ * linux-thread-db.c (check_thread_signals): Directly call
+ lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.
+
+2010-06-09 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gregset.h (GDB_FPXREGSET_T): Remove.
+ (gdb_fpxregset_t): Likewise.
+ (supply_fpxregset): Remove prototype.
+ (fill_fpxregset): Likewise.
+ * i386-linux-nat.c (supply_fpxregset): Remove.
+ (fill_fpxregset): Likewise.
+ (fetch_fpxregs): Inline supply_fpxregset call.
+ (store_fpxregs): Inline fill_fpxregset call.
+
+ * config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h.
+ * config/i386/nm-linux.h: Remove file.
+
+2010-06-09 Michael Snyder <msnyder@vmware.com>
+
+ * target.c (update_current_target): Fix spelling error in comment.
+ (target_mourn_inferior): Fix spelling error in error message.
+
+2010-06-08 Paul Hilfinger <hilfingr@adacore.com>
+
+ * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to
+ SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.
+
+2010-06-08 Michael Snyder <msnyder@vmware.com>
+
+ * remote.c (remote_close): Set inferior_ptid to null_ptid.
+
+2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure.ac <"${have_libpython}" != no>: New workaround of
+ python#4434.
+ * configure: Regenerate.
+
+2010-06-08 Hui Zhu <teawater@gmail.com>
+
+ * record.c (record_wait): Move signal out of replay code.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix PR 10640.
+ * dwarf2-frame.c (no_dwarf_call): New function.
+ (execute_stack_op): Set CTX->DWARF_CALL.
+ * dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New.
+ * dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New.
+ (struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field.
+ * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions.
+ (dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL.
+ (needs_frame_dwarf_call): New function.
+ (dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL.
+ * dwarf2read.c (follow_die_offset): Based on former follow_die_ref.
+ Update the comment. Move variables die, offset and error call to ...
+ (follow_die_ref): ... a new function.
+ (dwarf2_fetch_die_location_block): New function.
+ * dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
+ (dwarf_expr_tls_address): Use per_cu instead of objfile.
+ (dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
+ Initialize new BATON.PER_CU. Adjust CTX->GDBARCH initialization for
+ this change.
+ (struct needs_frame_baton): New field per_cu.
+ (dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
+ * dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.
+
+2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * cp-support.c (make_symbol_overload_list_namespace): Only search
+ static and global blocks.
+ (make_symbol_overload_list_block): New function.
+ (make_symbol_overload_list): Separate namespace search from block
+ search.
+ (make_symbol_overload_list_qualified): Use
+ make_symbol_overload_list_block.
+
+2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * value.h: Created oload_search_type enum.
+ (find_overload_match): Use oload_search_type enum.
+ * valops.c (find_overload_match): Support combined member and
+ non-member search.
+ * eval.c (evaluate_subexp_standard): Calls to
+ find_overload_match now use oload_search_type enum.
+ (oload_method_static): Verify index is a proper value.
+ * valarith.c (value_user_defined_cpp_op): Search for and handle
+ both member and non-member operators.
+ (value_user_defined_cpp_op): New function.
+ (value_user_defined_op): New function.
+ (value_x_unop): Use value_user_defined_op.
+ (value_x_binop): Ditto.
+ * cp-support.c (make_symbol_overload_list_using): Added block
+ iteration.
+ Add check for namespace aliases and imported declarations.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.h (owner): Extend the comment.
+
+2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Clear stale specific bp_location from former whole breakpoint.
+ * breakpoint.c (delete_breakpoint): Move the stale referencing clear
+ code ...
+ (free_bp_location): ... here. Rename there the called function to
+ bpstat_remove_bp_location_callback.
+ (bpstat_remove_breakpoint_callback): Rename to ...
+ (bpstat_remove_bp_location_callback): ... here, change DATA resolution
+ to struct bp_location. Change the called function to
+ bpstat_remove_bp_location. Create new declaration for the function.
+ (bpstat_remove_breakpoint): Rename to ...
+ (bpstat_remove_bp_location): ..., change the parameter to loc, adjust
+ code for the new parameter type.
+
+2010-06-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * README: Make version-agnostic.
+
+2010-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix duplicate types for single DIE.
+ * dwarf2read.c (read_structure_type): Move set_descriptive_type after
+ set_die_type.
+ (read_array_type): Remove type initialization. Recheck get_die_type
+ after initial die_type. Move set_die_type before set_descriptive_type.
+ (read_set_type): New variable domain_type. Recheck get_die_type after
+ initial die_type. Move attr initialization later.
+ (read_tag_pointer_type, read_tag_reference_type): New variable
+ target_type. Recheck get_die_type after initial die_type.
+ (read_tag_ptr_to_member_type): Recheck get_die_type after initial
+ die_type and die_containing_type.
+ (read_tag_const_type, read_tag_volatile_type, read_subroutine_type):
+ Recheck get_die_type after initial die_type.
+ (read_subrange_type): Recheck get_die_type after initial die_type.
+ Move set_die_type before set_descriptive_type.
+ (set_die_type): Extend the function comment. Call complaint if DIE has
+ some type already set.
+
+2010-06-05 Vladimir Prus <vladimir@codesourcery.com>
+
+ * mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
+ for current naming of thread groups (iN, not N).
+
+2010-06-04 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * ada-lang.c (ada_operator_length): Constify `struct expression'.
+ * parse.c (operator_length): Likewise.
+ (operator_length_standard): Likewise.
+ * parser-defs.h (operator_length): Likewise.
+ (operator_length_standard): Likewise.
+ (struct exp_descriptor <operator_length>): Likewise.
+
+2010-06-04 Doug Evans <dje@google.com>
+
+ Add support for enabling/disabling individual pretty-printers.
+ * python/py-prettyprint.c (search_pp_list): Skip disabled printers.
+ * python/python-internal.h (gdbpy_enabled_cst): Declare.
+ * python/python.c (gdbpy_enabled_cst): Define.
+ (_initialize_python): Initialize gdbpy_enabled_cst.
+ * NEWS: Add entry.
+
+2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * breakpoint.c (update_global_location_list): Fix comment typo.
+
+2010-06-04 Hui Zhu <teawater@gmail.com>
+
+ * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l.
+
+2010-06-03 Doug Evans <dje@google.com>
+
+ * configure.ac: Don't fail if python is unusable when
+ configured with --with-python=auto.
+ * configure: Regenerate.
+
+2010-06-03 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * dwarf2read.c (new_symbol): Remove redundant naming of symbol.
+
+2010-06-03 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * valprint.h (get_array_bounds): Change low and high parameter types
+ to LONGEST *.
+ * valprint.c (get_array_bounds): Use get_discrete_bounds call to
+ compute bounds.
+ (val_print_array_elements): Adapt to change above.
+ * ada-valprint.c (print_optional_low_bound): Adapt to change above.
+ * p-valprint.c (pascal_val_print): Likewise.
+
+2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * symfile.c (init_filename_language_table): New extensions .for, .FOR,
+ .ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and
+ .F08.
+
+2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Support DW_TAG_module as separate namespaces.
+ * dwarf2read.c (typename_concat): New parameter physname.
+ (read_module_type): New function and declaration.
+ (scan_partial_symbols): Scan also DW_TAG_module children.
+ (partial_die_parent_scope): Accept scope even from DW_TAG_module. Pass
+ to typename_concat backward compatible physname value 0.
+ (partial_die_full_name, read_namespace_type): Pass to typename_concat
+ backward compatible physname value 0.
+ (add_partial_module, read_module): Remove FIXME comment.
+ (process_die) <DW_TAG_module>: Set PROCESSING_HAS_NAMESPACE_INFO.
+ (die_needs_namespace) <DW_TAG_variable>: Allow returning true even for
+ DIEs under DW_TAG_module.
+ (dwarf2_compute_name): Move the ada block for DW_AT_linkage_name and
+ DW_AT_MIPS_linkage_name first, extend it for language_fortran
+ && physname and return there instead of just setting NAME. Extend
+ the main block for language_fortran. Pass physname parameter to the
+ typename_concat call.
+ (read_import_statement, read_func_scope, get_scope_pc_bounds)
+ (load_partial_dies, determine_prefix): Support also DW_TAG_module.
+ (new_symbol): Fill in cplus_specific.demangled_name if it is still
+ missing from SYMBOL_SET_NAMES in the language_fortran case.
+ (new_symbol) <DW_TAG_variable>: Force LOC_UNRESOLVED for gfortran module
+ variables.
+ (read_type_die) <DW_TAG_module>: New.
+ (MAX_SEP_LEN): Increase to 7.
+ (typename_concat): New parameter physname. New variable lead. Support
+ also language_fortran.
+ * f-exp.y (yylex): Consider : also as a symbol name character class.
+ * f-lang.c: Include cp-support.h.
+ (f_word_break_characters, f_make_symbol_completion_list): New functions.
+ (f_language_defn): Use cp_lookup_symbol_nonlocal,
+ f_word_break_characters and f_make_symbol_completion_list.
+ * f-typeprint.c (f_type_print_base) <TYPE_CODE_MODULE>: New.
+ * gdbtypes.h (enum type_code) <TYPE_CODE_MODULE>: New.
+ * symtab.c (symbol_init_language_specific): Support language_fortran.
+ (symbol_find_demangled_name): New comment on language_fortran.
+ (symbol_natural_name, symbol_demangled_name): Use demangled_name even
+ for language_fortran.
+ (lookup_symbol_aux_local): Check imports also for language_fortran.
+ (default_make_symbol_completion_list): Rename to ...
+ (default_make_symbol_completion_list_break_on): ... this name. New
+ parameter break_on, use it.
+ (default_make_symbol_completion_list): New stub.
+ * symtab.h (default_make_symbol_completion_list_break_on): New
+ prototype.
+
+2010-06-02 Joel Brobecker <brobecker@adacore.com>
+
+ * remote.c (remote_get_noisy_reply): Remove trailing "\n" in call
+ to error.
+
+2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (typename_concat): Add const to the variable sep.
+
+2010-06-02 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2loc.h (dwarf2_per_cu_data): Declare.
+ * dwarf2read.c (dwarf_stack_op_name): No longer static. Return
+ type is const. Add 'def' argument. Add missing operators, remove
+ unhandled ones.
+ (decode_locdesc): Update.
+ (dwarf2_always_disassemble): New global.
+ (show_dwarf2_always_disassemble): New function.
+ (_initialize_dwarf2_read): Add always-disassemble.
+ (dwarf2_per_cu_offset_size): New function.
+ * dwarf2loc.c (dwarf2_always_disassemble): Declare.
+ (piece_end_p): New function.
+ (locexpr_describe_location_piece): Replace 'size' argument with
+ 'end'. Use piece_end_p. Rewrite recognition of TLS. Recognize
+ some constants. Remove errors.
+ (disassemble_dwarf_expression): New function.
+ (locexpr_describe_location_1): Use disassemble_dwarf_expression.
+ Add 'offset_size' argument.
+ (loclist_describe_location): Change output formatting.
+ * dwarf2expr.h (dwarf_stack_op_name): Declare.
+
+2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * cp-support.c (make_symbol_overload_list_adl_namespace): Handle
+ anonymous type case.
+
+2010-06-02 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * dwarf2read.c (read_subrange_type): Handle missing base type
+ according to Dwarf-2 specifications.
+
+2010-06-01 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * expprint.c (print_subexp_standard): Remove exp_opcodes BINOP_INCL,
+ BINOP_EXCL.
+ (op_name_standard): Remove exp_opcodes BINOP_INCL, BINOP_EXCL,
+ UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
+ (dump_subexp_body_standard): Remove exp_opcodes BINOP_INCL,
+ BINOP_EXCL, UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD,
+ UNOP_CHMAX, UNOP_CHMIN.
+ * expression.h (enum exp_opcode) <BINOP_INCL, BINOP_EXCL,
+ UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD, UNOP_CHMAX,
+ UNOP_CHMIN>: Remove opcodes.
+
+2010-06-01 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * dwarf2read.c (read_func_scope): Do not complain for
+ external function if bounds are not found.
+
+2010-06-01 Pedro Alves <pedro@codesourcery.com>
+
+ * NEWS: Mention gdbserver fast tracepoints support.
+
+2010-05-31 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * windows-nat.c (GetConsoleFontSize, GetCurrentConsoleFont):
+ New macros.
+ (windows_set_console_info): New function.
+ (windows_create_inferior): Call windows_set_console_info
+ if NEW_CONSOLE is true.
+ (bad_GetCurrentConsoleFont, bad_GetConsoleFontSize): New functions.
+ (_initialize_loadable): Initialize GetConsoleFontSize and
+ GetCurrentConsoleFont.
+
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * Makefile.in (RDYNAMIC): New.
+ (SFILES): Add proc-service.list.
+ * config/alpha/alpha-linux.mh (NAT_CDEPS): New.
+ (LOADLIBES): Replace -rdynamic by $(RDYNAMIC).
+ * config/arm/linux.mh: Likewise.
+ * config/i386/linux.mh: Likewise.
+ * config/i386/linux64.mh: Likewise.
+ * config/ia64/linux.mh: Likewise.
+ * config/m32r/linux.mh: Likewise.
+ * config/m68k/linux.mh: Likewise.
+ * config/mips/linux.mh: Likewise.
+ * config/pa/linux.mh: Likewise.
+ * config/powerpc/linux.mh: Likewise.
+ * config/powerpc/ppc64-linux.mh: Likewise.
+ * config/s390/s390.mh: Likewise.
+ * config/sparc/linux.mh: Likewise.
+ * config/sparc/linux64.mh: Likewise.
+ * config/xtensa/linux.mh: Likewise.
+ * configure.ac: New RDYNAMIC on native host and GCC.
+ (solaris*): Replace -Wl,-export-dynamic by $RDYNAMIC.
+ * configure: Regenerate.
+ * proc-service.list: New.
+
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-nat.c (linux_nat_core_of_thread_1): Fix crash on invalid
+ CONTENT.
+
+2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * linux-nat.c (linux_nat_wait_1): Do not call
+ linux_nat_core_of_thread_1 on TARGET_WAITKIND_EXITED or
+ TARGET_WAITKIND_SIGNALLED.
+
+2010-05-27 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_inferior_data): New struct.
+ (ada_inferior_data): New static global.
+ (ada_inferior_data_cleanup, get_ada_inferior_data, ada_inferior_exit)
+ (ada_get_tsd_type): New functions.
+ (ada_tag_name_2): Use ada_get_tsd_type instead of ada_find_any_type
+ to look the tsd type up.
+ (_initialize_ada_language): Attach ada_inferior_exit to inferior_exit
+ event. Set ada_inferior_data.
+
2010-05-27 Pedro Alves <pedro@codesourcery.com>
* remote.c (unpack_varlen_hex): Remove forward declaration.
(value_object_type): Register valpy_hash.
2010-05-14 Hui Zhu <teawater@gmail.com>
- Michael Snyder <msnyder@vmware.com>
+ Michael Snyder <msnyder@vmware.com>
* linux-fork.c (gdbthread.h): New include.
(fork_info): Add parent_ptid.
2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
* procfs.c (proc_watchpoint_address): New function.
- (procfs_stopped_by_watchpoint): Remove useless check after
+ (procfs_stopped_by_watchpoint): Remove useless check after
find_procinfo_or_die call.
(procfs_stopped_data_address): New function.
(procfs_use_watchpoints): Register new watchpoint related function.
* python/python.c (execute_gdb_command): Remove unused variables.
* python/py-block.c (gdbpy_block_for_pc): Remove unused variable.
- * python/py-breakpoint.c (gdbpy_breakpoint_created):
+ * python/py-breakpoint.c (gdbpy_breakpoint_created):
Remove unused variable.
* python/py-cmd.c (cmdpy_function): Remove unused variable.
(cmdpy_completer): Remove unused variable.
* python/py-objfile.c (objfile_to_objfile_object):
Remove unused variable.
* python/py-param.c (parmpy_init): Remove unused variable.
- * python/py-prettyprint.c (apply_varobj_pretty_printer):
+ * python/py-prettyprint.c (apply_varobj_pretty_printer):
Remove unused variable.
(gdbpy_default_visualizer): Remove unused variable.
* python/py-progspace.c (pspace_to_pspace_object):
Remove unused variable.
- * python/py-symtab.c (symtab_and_line_to_sal_object):
+ * python/py-symtab.c (symtab_and_line_to_sal_object):
Remove unused variable.
- * python/py-type.c (typy_template_argument):
+ * python/py-type.c (typy_template_argument):
Remove unused variable.
* python/py-value.c (valpy_string): Remove unused variable.
(convert_value_from_python): Remove unused variables.
* jit.c (jit_inferior_init): Delete unused variable.
* progspace.c (clone_program_space): Delete unused variable.
(pspace_empty_p): Delete unused variable.
-
- * frame-unwind.c (frame_unwind_find_by_frame):
+
+ * frame-unwind.c (frame_unwind_find_by_frame):
Delete unused variable.
* gnu-v2-abi.c (gnuv2_value_rtti_type): Delete unused variable.
* cp-support.c (mangled_name_to_comp): Delete unused variable.
(method_name_from_physname): Delete unused variable.
(cp_func_name): Delete unused variable.
(cp_validate_operator): Delete unused variable.
- * cp-namespace.c (cp_scan_for_anonymous_namespaces):
+ * cp-namespace.c (cp_scan_for_anonymous_namespaces):
Delete unused variable.
- * trad-frame.c (trad_frame_get_prev_register):
+ * trad-frame.c (trad_frame_get_prev_register):
Delete unused variable.
* tramp-frame.c (tramp_frame_cache): Delete unused variable.
(m2_long_set): Delete unused variable.
* ada-valprint.c (ada_val_print_1): Delete unused variable.
* d-valprint.c (dynamic_array_type): Delete unused variable.
- * f-valprint.c (f77_get_dynamic_length_of_aggregate):
+ * f-valprint.c (f77_get_dynamic_length_of_aggregate):
Delete unused variable.
(f77_create_arrayprint_offset_tbl): Delete unused variable.
* m2-valprint.c (m2_val_print): Delete unused variable.
* gdbarch.sh (gdbarch_printable_names): Delete unused variable.
(_initialize_gdbarch): Delete unused variable.
* gdbarch.c, gdbarch.h: Regenerate.
- * arch-utils.c (initialize_current_architecture):
+ * arch-utils.c (initialize_current_architecture):
Delete unused variable.
(_initialize_gdbarch_utils): Delete unused variable.
* gdbtypes.c (make_cv_type): Delete unused variable.
* charset.c (wchar_iterate): Delete unused variable.
(find_charset_names): Delete unused variable.
(_initialize_charset): Delete unused variable.
- * disasm.c (do_mixed_source_and_assembly):
+ * disasm.c (do_mixed_source_and_assembly):
Delete unused variable.
- * source.c (set_default_source_symtab_and_line):
+ * source.c (set_default_source_symtab_and_line):
Delete unused variable.
(set_substitute_path_command): Delete unused variable.
* value.c (preserve_values): Delete unused variable.
(completion_list_add_name): Delete unused variable.
(expand_line_sal): Delete unused variable.
- * breakpoint.c (validate_commands_for_breakpoint):
+ * breakpoint.c (validate_commands_for_breakpoint):
Delete unused variables.
(insert_catchpoint): Delete unused variable.
(update_watchpoint): Delete unused variable.
(decode_locdesc): Delete unused variable.
(zeroed_partial_die): Delete unused global variable.
- * tui/tui-interp.c (_initialize_tui_interp):
+ * tui/tui-interp.c (_initialize_tui_interp):
Delete unused variable.
- * tui/tui-regs.c tui_display_registers_from):
+ * tui/tui-regs.c tui_display_registers_from):
Delete unused variable.
(tui_check_register_values): Delete unused variable.
(tui_register_format): Delete unused variable.
* tui/tui-win.c (_initialize_tui_win): Delete unused variable.
- * tui/tui-windata.c (tui_display_data_from_line):
+ * tui/tui-windata.c (tui_display_data_from_line):
Delete unused variables.
(tui_vertical_data_scroll): Delete unused variables.
(mi_cmd_var_list_children): Delete unused variable.
(varobj_update_one): Delete unused variable.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Delete unused variables.
- * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals):
+ * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals):
Delete unused variable.
(mi_cmd_stack_list_variables): Delete unused variable.
(list_args_or_locals): Delete unused variable.
- * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):
+ * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):
Delete unused variables.
(mi_cmd_file_list_exec_source_files): Delete unused variable.
- * mi/mi-cmd-target.c (mi_cmd_target_file_delete):
+ * mi/mi-cmd-target.c (mi_cmd_target_file_delete):
Delete unused variable.
* mi/mi-interp.c (mi_interpreter_exec): Delete unused variable.
(mi_cmd_interpreter_exec): Delete unused variable.
(disassemble_command): Delete unused variable.
* ax-gdb.c (gen_struct_elt_for_reference): Delete unused variables.
- * tracepoint.c (delete_trace_variable_command):
+ * tracepoint.c (delete_trace_variable_command):
Delete unused variables.
(encode_actions_1): Delete unused variables.
(start_tracing): Delete unused variable.
(enable_thread_event_reporting): Delete unused variable.
(check_for_thread_db): Delete unused variables.
(thread_db_find_new_threads_2): Delete unused variable.
-
+
* linux-fork.c (info_checkpoints_command): Delete unused variables.
(checkpoint_command): Delete unused variable.
(linux_fork_context): Delete unused variables.
* ser-pipe.c (pipe_ops): Delete unused global variable.
- * linux-record.c (record_linux_system_call):
+ * linux-record.c (record_linux_system_call):
Delete unused variables.
* corelow.c (core_xfer_partial): Delete unused variables.
* solib-svr4.c (find_program_interpreter): Delete unused variable.
- (svr4_solib_create_inferior_hook): Add ifdef around
+ (svr4_solib_create_inferior_hook): Add ifdef around
conditionally-used variable declarations.
* solib.c (solib_find): Delete unused variable.
2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
ARI fix: Remove ATTRIBUTE_UNUSED throughout.
- * arm-linux-tdep.c (arm_linux_cleanup_svc): Remove
+ * arm-linux-tdep.c (arm_linux_cleanup_svc): Remove
ATTRIBUTE_UNUSED.
(cleanup_kernel_helper_return): Likewise.
* arm-tdep.c (copy_unmodified): Likewise.
2010-05-04 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
- * exec.c (print_section_info): Display entry point without arch
+ * exec.c (print_section_info): Display entry point without arch
specific parts.
2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
PR pascal/11349.
* p-valprint.c (pascal_value_print): Always dereference a value with
type code TYPE_CODE_REF.
-
+
2010-05-03 Pedro Alves <pedro@codesourcery.com>
* remote.c (remote_notice_signals): New.
* arm-linux-tdep.c (ARM_LINUX_JB_PC): Remove.
(ARM_LINUX_JB_PC_FPA): Add, offset of PC in longjmp buffer for FPA.
- (ARM_LINUX_JB_PC_EABI): Add, offset of PC in longjmp buffer for
+ (ARM_LINUX_JB_PC_EABI): Add, offset of PC in longjmp buffer for
EABI.
- (arm_linux_init_abi): Set up JB_PC field dependent on FP model in
+ (arm_linux_init_abi): Set up JB_PC field dependent on FP model in
use.
2010-04-29 Pedro Alves <pedro@codesourcery.com>
* target.c (target_resume): Flush register caches.
2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
- Tom Tromey <tromey@redhat.com>
- Thiago Jung Bauermann <bauerman@br.ibm.com>
-
- * Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter.
- (SUBDIR_PYTHON_SRCS): Likewise.
- (py-parameter.o): New rule.
- * python/py-parameter.c: New file.
- * python/python-internal.h (gdbpy_initialize_parameter)
- (gdbpy_parameter, gdbpy_parameter_value)
- (gdbpy_parse_command_name): Declare.
- * python/py-cmd.c (parse_command_name): Rename to
- gdbpy_parse_command_name.
- (gdbpy_parse_command_name): Accept a starting list parameter and
- use over cmdlist.
- (cmdpy_init): Use gdbpy_parse_command_name.
- * python/python.c (parameter_to_python): Rename to
- gdbpy_parameter_to_python. Accept enum var_types and value.
- (gdbpy_parameter): Use gdbpy_parameter_value.
- (_initialize_python): Call gdbpy_initialize_parameters.
+ Tom Tromey <tromey@redhat.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter.
+ (SUBDIR_PYTHON_SRCS): Likewise.
+ (py-parameter.o): New rule.
+ * python/py-parameter.c: New file.
+ * python/python-internal.h (gdbpy_initialize_parameter)
+ (gdbpy_parameter, gdbpy_parameter_value)
+ (gdbpy_parse_command_name): Declare.
+ * python/py-cmd.c (parse_command_name): Rename to
+ gdbpy_parse_command_name.
+ (gdbpy_parse_command_name): Accept a starting list parameter and
+ use over cmdlist.
+ (cmdpy_init): Use gdbpy_parse_command_name.
+ * python/python.c (parameter_to_python): Rename to
+ gdbpy_parameter_to_python. Accept enum var_types and value.
+ (gdbpy_parameter): Use gdbpy_parameter_value.
+ (_initialize_python): Call gdbpy_initialize_parameters.
2010-04-29 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
and observer_attach_new_objfile to py-auto-load.c.
2010-04-23 Jerome Guitton <guitton@adacore.com>
-
+
* alpha-tdep.c (INSN_OPCODE, MEM_RA, MEM_RB, MEM_DISP, BR_RA)
(OPR_FUNCTION, OPR_HAS_IMMEDIATE, OPR_RA, OPR_RC, OPR_LIT): New macros.
(lda_opcode, stq_opcode, bne_opcode, subq_opcode, subq_function):
* gdbtypes.h (builtin_type): Add builtin_char16 and builtin_char32
fields.
- * gdbtypes.c (gdbtypes_post_init): Set builtin_char16 and
+ * gdbtypes.c (gdbtypes_post_init): Set builtin_char16 and
builtin_char32 fields.
* printcmd.c (decode_format): Set char size to '\0'
for strings unless explicit size is given.
for 16 or 32 bit strings.
(do_examine): Do not force byte size for strings.
Use builtin_char16 and builtin_char32 types to display
- 16 or 32 bit-wide strings.
+ 16 or 32 bit-wide strings.
(x_command): Set LAST_SIZE to 'b' for string type.
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
(dwarf_attr_name): Likewise.
2010-04-20 Chris Moller <cmoller@redhat.com>
-
+
PR 10867
* cp-valprint.c (global): Adding new static array recursion
(info_w32_command, info_w32_cmdlist): Removed from here...
to windows-tdep.c file.
* windows-tdep.h (info_w32_cmdlist): Declare.
- (init_w32_command_list): New external function
+ (init_w32_command_list): New external function
declaration.
* windows-tdep.c: Add several headers.
(info_w32_cmdlist): to here, made global.
PR gdb/9067
* cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
- cp_print_static_field) Fix use of obstacks.
+ (cp_print_static_field) Fix use of obstacks.
2010-02-08 Pedro Alves <pedro@codesourcery.com>