X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=f09f3ca220838bdddd67043220b70d4d300af8cc;hb=f997c383549db91a3f3b994a89201ad6498942b5;hp=0405847394aea56b5a73dc2175a3f7b2e8e23274;hpb=6caca83cb89f391d936c4a2a6cefea8cc1e167c8;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0405847394..f09f3ca220 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,706 @@ +2011-11-20 Sanjoy Das + + * Makefile.in: Add jit-reader.h as a header. Have it installed in + $(includedir)/gdb. + * configure.ac: Generate a correct value for TARGET_PTR for + jit-reader.h. Tell configure to generate jit-reader.h from + jit-reader.in. + * configure: Re-generated by autoconf. + * jit-reader.in: New file. + * jit.c: Include jit-reader.h. + +2011-11-20 Sanjoy Das + + * MAINTAINERS (Write After Approval): Add myself to the list. + +2011-11-18 Ulrich Weigand + + * findvar.c (read_frame_register_value): Respect value_offset + of the register value. Remove big-endian special case. + +2011-11-18 Tom Tromey + + PR build/7196: + * remote.c (putpkt_for_catch_errors): New function. + (remote_kill): Use it. + +2011-11-18 Yao Qi + + * breakpoint.c (create_breakpoint): Produce query message according to + breakpoint's type. + Allocate tracepoint per correct type. + Don't check SALs for pending fast tracepoints. + * tracepoint.c (process_tracepoint_on_disconnect): New. + (disconnect_tracing): Call process_tracepoint_on_disconnect. + +2011-11-18 Yao Qi + + * breakpoint.c (install_breakpoint): Add one more parameter so that + update_global_location_list is called conditionally. + (create_fork_vfork_event_catchpoint): Update. + (create_syscall_event_catchpoint): Update. + (create_breakpoint_sal): Update. + (create_breakpoint_sal): Update. Call do_cleanups before + install_breakpoint. + * ada-lang.c (create_ada_exception_catchpoint): Update. + * breakpoint.h (install_breakpoint): Update declaration. + +2011-11-16 Ulrich Weigand + + * spu-tdep.c (spu_return_value): Fix handling of + TYPE_CALLING_CONVENTION annotation. + +2011-11-16 Ulrich Weigand + + * skip.c (skip_function_command): Work around uninitialized + variable warning. + +2011-11-16 David S. Miller + + * utils.c (report_command_stats): Cast delta_wall_time 'tv_sec' and + 'tv_usec' to long for printf since these fields have a type which + varies. + +2011-11-15 Doug Evans + + * buildsym.c (add_symbol_to_list): Delete outdated comment. + +2011-11-15 Paul Koning + + * python/py-type.c (typy_get_composite): New function. + (typy_nonzero): New function. + (typy_values): Rename from typy_fields. + (typy_fields): New function. + (typy_length): Raise exception if not struct, union, or enum type. + (typy_getitem): Ditto. + (typy_has_key): Ditto. + (typy_make_iter): Ditto. + +2011-11-15 Doug Evans + + * NEWS: Mention new parameter basenames-may-differ. + * dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if + ! basenames_may_differ. + * psymtab.c (lookup_partial_symtab): Ditto. + * symtab.c (lookup_symtab): Ditto. + (basenames_may_differ): New global. + (_initialize_symtab): New parameter basenames-may-differ. + * symtab.h (basenames_may_differ): Declare. + +2011-11-15 Pedro Alves + Luis Machado + + * auxv.c: Include observer.h. + (auxv_inferior_data_cleanup): New. + (invalidate_auxv_cache_inf): New. + (invalidate_auxv_cache): New. + (get_auxv_inferior_data): New. + (auxv_inferior_data): New static global. + (auxv_info): New structure. + (target_auxv_search): Use get_auxv_inferior_data instead of + target_read_alloc and don't free cached buffers. + (fprint_target_auxv): Likewise + (_initialize_auxv): Register per-inferior auxv cache and register + observers to invalidate auxv cache when needed. + +2011-11-14 Doug Evans + + Make "!" an alias for "shell". + * NEWS: Add mention. + * cli/cli-cmds.c (init_cli_cmds): Remove xdb_commands condition on + adding "!" command, always add it. + * cli/cli-decode.c (find_command_name_length): Recognize "!" as a + command of length one. + +2011-11-14 Stan Shebs + Kwok Cheung Yeung + + * NEWS: Document shorter fast tracepoints and qTMinFTPILen packet. + * i386-tdep.c (i386_fast_tracepoint_valid_at): Query target for + the minimum instruction size for fast tracepoints. + * target.h (struct target_ops): Add new method + to_get_min_fast_tracepoint_insn_len. + (target_get_min_fast_tracepoint_insn_len): New. + * target.c (update_current_target): Set up new target operation. + * remote.c (remote_write_bytes_aux): Fix typo. + (remote_get_min_fast_tracepoint_insn_len): New. + (init_remote_ops): Initialize new field. + +2011-11-14 Tom Tromey + + * tracepoint.c (encode_actions_1): Use the location's gdbarch. + (encode_actions): Likewise. + +2011-11-14 Yao Qi + + * remote.c (struct remote_state): new field. + (PACKET_InstallInTrace): New enum value. + (remote_install_in_trace_feature): Support InstallInTrace. + (remote_supports_install_in_trace): Likewise. + (remote_protocol_features): Likewise. + (_initialize_remote): Likewise. + (remote_can_download_tracepoint): New. + * target.h (struct target): New field + `to_can_download_tracepoint'. + (target_can_download_tracepoint): New macro. + * target.c (update_current_target): Update. + * breakpoint.h (struct bp_location): Add comment on field + `duplicate'. + * breakpoint.c (should_be_inserted): Don't differentiate breakpoint + and tracepoint. + (remove_breakpoints): Don't remove tracepoints. + (tracepoint_locations_match ): New. + (breakpoint_locations_match): Call it. + (disable_breakpoints_in_unloaded_shlib): Handle tracepoint. + (download_tracepoint_locations): New. + (update_global_location_list): Call it. + * tracepoint.c (find_matching_tracepoint): Delete. + (find_matching_tracepoint_location): Renamed from + find_matching_tracepoint. Return bp_location rather than + tracepoint. + (merge_uploaded_tracepoints): Set `inserted' field to 1 if + tracepoint is found. + +2011-11-14 Yao Qi + + * target.h (struct target): Change type + of parameter from tracepoint to bp_location. + * target.c (update_current_target): Update. + * tracepoint.c (start_tracing): Update. + * remote.c (remote_download_tracepoint): Remove loop for each location + of a tracepoint. + +2011-11-14 Maciej W. Rozycki + + * i386-nat.c (i386_insert_hw_breakpoint): Call + i386_update_inferior_debug_regs. + (i386_remove_hw_breakpoint): Likewise. + +2011-11-14 Yao Qi + + * breakpoint.c (init_raw_breakpoint): Call + add_location_to_breakpoint to replace duplicated code. + (add_location_to_breakpoint): Adjust the breakpoint's + address prior to allocating a location. + +2011-11-12 Matt Rice + + * macrocmd.c (macro_no_macro_info): New function. + (macro_expand_command): Use macro_no_macro_info. + (macro_expand_once_command): Ditto. + (info_macro_command): Add argument processing, + move info_definitions_command here. + (_initialize_macrocmd): Remove info definitions command. + Add arguments to info macro help text. + * NEWS: Replace info definitions command with new info macro options. + +2011-11-11 Keith Seitz + + PR gdb/12843 + * linespec.c (locate_first_half): Keep ':' if it looks + like it could be part of a Windows path starting with + a drive letter. + +2011-11-10 Pedro Alves + + * linux-nat.c (linux_nat_wait): Don't force waking up the event + loop when returning a TARGET_WAITKIND_NO_RESUMED. + +2011-11-10 Pedro Alves + + * target.c (target_waitstatus_to_string): Handle + TARGET_WAITKIND_NO_RESUMED. + +2011-11-10 Doug Evans + + * dwarf2read.c (dw2_map_symbol_filenames): New parameter + `need_fullname'. + * psymtab.c (map_symbol_filenames_psymtab): Ditto. + (map_partial_symbol_filenames): Ditto. All callers updated. + * psymtab.h (map_partial_symbol_filenames): Update prototype. + * symfile.h (struct quick_symbol_functions, map_symbol_filenames): New + parameter need_fullname. + + * psymtab.c (psymtab_to_fullname): Use cached copy if it exists. + * source.c (symtab_to_fullname): Ditto. + + * defs.h (is_cplus_marker, set_demangling_style): Moved to ... + * gdb-demangle.h: ... here. New file. + * demangle.c: #include "gdb-demangle.h". + (_initialize_demangler): Use initialize_file_ftype for prototype. + Move "set demangle" and "set asm-demangle" parameters here from utils.c + (demangle, show_demangle, asm_demangle, show_asm_demangle): Move here + from utils.c + * utils.c: Update. #include "gdb-demangle.h". + * symtab.h (asm_demangle): Delete. + (demangle): Move declaration next to use. + * breakpoint.c: #include "gdb-demangle.h" instead of "demangle.h". + * dwarf2read.c: #include "gdb-demangle.h". + * gnu-v2-abi.c: Ditto. + * jv-typeprint.c: Ditto. + * mdebugread.c: Ditto. + * p-typeprint.c: Ditto. + * stabsread.c: Ditto. + * printcmd.c: Ditto. + (asm_demangle): Delete declaration. + * tui/tui-stack.c: #include "gdb-demangle.h". + + * python/py-type.c (typy_fields_items): Call check_typedef. + +2011-11-10 Joel Brobecker + + * findvar.c (read_frame_register_value): Read the correct bytes + from registers on big-endian architectures. + +2011-11-10 Tom Tromey + + * procfs.c (load_syscalls): Make a cleanup. + (open_procinfo_files): fd==0 is ok. + +2011-11-10 Joel Brobecker + + * procfs.c (iterate_over_mappings): Call do_cleanups before + returning. + +2011-11-09 Doug Evans + + * gdbtypes.c (check_typedef): Document that this function can + throw an exception. + +2011-11-09 Tom Tromey + + PR c++/13342: + * valops.c (value_full_object): Return early if real type is + smaller than the enclosing type. + +2011-11-08 Yao Qi + + * amd64-tdep.c (amd64_relocate_instruction): Make it static. + +2011-11-08 Meador Inge + + * arm-tdep.c (thumb_analyze_prologue): Always fallback on the SP + register when the frame can't be determined. + * arm-tdep.c (arm_analyze_prologue): Ditto. + +2011-11-07 Stan Shebs + + * MAINTAINERS: Move Michael Snyder to Past Maintainers. + +2011-11-07 Joel Brobecker + + * infrun.c (handle_inferior_event): Minor reformatting. + +2011-11-05 Doug Evans + + * source.c (forget_cached_source_info_for_objfile): Move call to + objfile->sf->qf->forget_cached_source_info outside of + ALL_OBJFILE_SYMTABS loop. + (forget_cached_source_info): Delete unused variable `s'. + +2011-11-05 Jan Kratochvil + + * i386-nat.c (dr_ref_count): Remove unused variable. + +2011-11-05 Doug Evans + + * main.c (captured_main): Set lim_at_start before calling + make_command_stats_cleanup. + +2011-11-04 Doug Evans + + * utils.c: #include "timeval-utils.h". + (cmd_stats): Rename start_time to start_cpu_time. + New member start_wall_time. + (report_command_stats): Report wall time. + (make_command_stats_cleanup): Record start wall time. + +2011-11-04 Tom Tromey + + * cp-namespace.c (cp_lookup_symbol_imports): Reindent. + +2011-11-04 Rainer Orth + + * coff-pe-read.c: Include defs.h before bfd.h. + +2011-11-04 Phil Muldoon + + PR Python/13345 + + * python/python.c (python_run_simple_file): Expand tilde in path. + +2011-11-04 Phil Muldoon + + PR Python/13363 + + * python/py-type.c (typy_lookup_type): Do not return a type in + an exception handler. + +2011-11-03 Jan Kratochvil + Eli Zaretskii + + * linux-nat.c (_initialize_linux_nat): Improve help + for `info proc stat', `info proc status', `info proc cwd', + `info proc cmdline' and `info proc exe'. + +2011-11-02 Stan Shebs + + String collection for tracepoints. + * NEWS: Mention string collection. + * common/ax.def (tracenz): New bytecode. + * ax-gdb.h (trace_string_kludge): Declare. + * ax-gdb.c: Include valprint.h and c-lang.h. + (trace_string_kludge): New global. + (gen_traced_pop): Add string case. + (agent_command): Add string case. + * tracepoint.h (decode_agent_options): Declare. + * tracepoint.c: Include cli-utils.h. + (decode_agent_options): New function. + (validate_actionline): Call it. + (encode_actions_1): Ditto. + * target.h (struct target_ops): New method to_supports_string_tracing. + (target_supports_string_tracing): New macro. + * target.c (update_current_target): Add to_supports_string_tracing. + * remote.c (struct remote_state): New field string_tracing. + (remote_string_tracing_feature): New function. + (remote_protocol_features): New feature tracenz. + (remote_supports_string_tracing): New function. + (init_remote_ops): Set to_supports_string_tracing. + +2011-11-02 Pedro Alves + Jan Kratochvil + + * linux-nat.c: Include cli/cli-utils.h. + (enum info_proc_what): New. + (linux_nat_info_proc_cmd): Rename to ... + (linux_nat_info_proc_cmd_1): ... here. Remove variables argv and all. + New parameter what. Initialize cmdline_f, cwd_f, exe_f, mappings_f, + status_f and stat_f from WHAT. Throw error on extra parameters. + (linux_nat_info_proc_cmd, linux_nat_info_proc_cmd_mappings) + (linux_nat_info_proc_cmd_stat, linux_nat_info_proc_cmd_status) + (linux_nat_info_proc_cmd_cwd, linux_nat_info_proc_cmd_cmdline) + (linux_nat_info_proc_cmd_exe, linux_nat_info_proc_cmd_all): New. + (_initialize_linux_nat): New variable info_proc_cmdlist. Install `info + proc mappings', `info proc stat`, `info proc status', `info proc cwd', + `info proc cmdline', `info proc exe' and `info proc all' as real + subcommands of `info proc'. + +2011-11-01 Justin Lebar + + * Makefile.in: (SFILES): Add skip.c. + (HFILES_NO_SRCDIR): Add skip.h. + (COMMON_OBS): Add skip.o. + * skip.h, skip.c: New. + * breakpoint.h (set_default_breakpoint): Remove. + (get_sal_arch): Declare. + * breakpoint.c: Remove default_breakpoint_valid, + default_breakpoint_address, default_breakpoint_symtab, + default_breakpoint_line, default_breakpoint_pspace variables. + (get_sal_arch): Make public. + (set_default_breakpoint): Remove. + (parse_breakpoint_sals, create_breakpoint, clear_command, + decode_line_spec_1): Remove uses of default_breakpoint variables; + replaced with function calls into stack.c. + * cli/cli-cmds.h: Add cmd_list_element *skiplist. + * cli/cli-cmds.c: Add skiplist. + (init_cmd_lists): Initialize skiplist. + (init_cli_cmds): Fix comment (classes of commands appear in + alphabetical order). + * infrun.c (handle_inferior_event): Add check that we don't step into + a function whose pc is marked for skip. + * stack.c: Declare last_displayed_sal_valid, last_displayed_pspace, + last_displayed_addr, last_displayed_symtab, last_displayed_line + variables. + (set_last_displayed_sal): New static function. + (print_frame_info): Switch call to set_default_breakpoint to call to + set_last_displayed_sal. + (clear_last_displayed_sal, last_displayed_sal_is_valid, + get_last_displayed_pspace, get_last_displayed_addr, + get_last_displayed_symtab, get_last_displayed_line, + get_last_displayed_sal): New public functions. + * stack.h (clear_last_displayed_sal, last_displayed_sal_is_valid, + get_last_displayed_pspace, get_last_displayed_addr, + get_last_displayed_symtab, get_last_displayed_line, + get_last_displayed_sal): Declare. + +2011-11-01 Justin Lebar + + * MAINTAINERS (Write After Approval): Add myself to the list. + +2011-10-29 Yao Qi + + * infcmd.c (disconnect_command): Call disconnect_tracing. + +2011-10-29 Jan Kratochvil + + Code cleanup. + * symtab.c (skip_prologue_sal): Code reformatting. + +2011-10-28 Jan Kratochvil + + PR symtab/13208 + * jit.c (jit_register_code): Remove unused variable my_cleanups. Check + for NULL from bfd_open_from_target_memory. Fix ownership of NBFD and + SAI. + +2011-10-28 Pedro Alves + + * linux-nat.c (linux_nat_filter_event): Remove `options' + parameter, and dead code that used it. If we're handling a + PTRACE_EVENT_EXEC event, and the thread group leader is no longer + in our lwp list, re-add it. + (check_zombie_leaders): New. + (linux_nat_wait_1): Remove `options' and `pid' locals. Always + wait for children with WNOHANG, and always wait for all children. + Don't check for no resumed children upfront. Simplify wait loop. + Check for zombie thread group leaders after handling all wait + statuses. Return TARGET_WAITKIND_NO_RESUMED if there no + unwaited-for children left. + * infrun.c (fetch_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED. + (handle_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED. + (normal_stop): Handle TARGET_WAITKIND_NO_RESUMED. + * target.h (enum target_waitkind) : New. + +2011-10-28 Sterling Augustine + + * psymtab.c (map_symbol_filenames_psymtab): Call QUIT. + * symtab.c (free_completion_list): New function. + (do_free_completion_list): Likewise. + (default_make_symbol_completion_list_break_on): New variable + back_to. Call make_cleanup and discard_cleanups. + (make_source_files_completion_list): Likewise. + +2011-10-28 Paul Koning + + * python/lib/gdb/types.py (deep_items): Rename from deepitems. + * NEWS: Mention deep_items. + +2011-10-28 Alen Skondro + + * ser-tcp.c [USE_WIN32API] (ETIMEDOUT): Don't define if already + defined. + +2011-10-27 Meador Inge + + * MAINTAINERS (Write After Approval): Add myself to the list. + +2011-10-27 Joel Brobecker + + * value.h (read_frame_register_value): Add declaration. + * findvar.c (read_frame_register_value): New function. + (value_from_register): Use read_frame_register_value + instead of get_frame_register_value + value_contents_copy + to get value contents. + +2011-10-27 Doug Evans + + * cli/cli-cmds.c (source_script_with_search): Pass full path to + source_script_from_stream if it may have been found on the search path. + * python/py-auto-load.c (source_section_scripts): Pass full path to + source_python_script_for_objfile. + * python/python.c (source_python_script): Delete stream parameter. + All callers updated. + (source_python_script_for_objfile): Ditto. + * python/python-internal.h (source_python_script_for_objfile): Update. + * python/python.h (source_python_script): Update. + +2011-10-27 Tom Tromey + + * ada-lang.h (ada_start_decode_line_1, ada_finish_decode_line_1) + (ada_sals_for_line): Remove declarations. + +2011-10-27 Kevin Pouget + + Move unwind reasons to an external .def file + * frame.c (frame_stop_reason_string): Rewrite using + unwind_stop_reasons.def. + * frame.h (enum unwind_stop_reason): Likewise. + * python/py-frame.c (gdbpy_initialize_frames): Likewise. + (gdbpy_frame_stop_reason_string): Use new enum unwind_stop_reason + constants for bound-checking. + * unwind_stop_reasons.def: New file. + * stack.c (backtrace_command_1): Handle UNWIND_FIRST_ERROR as an alias + instead of a distinct value. + +2011-10-27 Phil Muldoon + + PR python/13331 + + * python/py-function.c (fnpy_call): Check 'args' is not NULL. + (convert_values_to_python): Return on Python tuple allocation + failure. Return NULL on value conversion error. + +2011-10-27 Phil Muldoon + + * python/py-breakpoint.c (bppy_set_enabled): Use TRY_CATCH. + (bppy_set_task): Ditto. + (bppy_delete_breakpoint): Ditto. + * python/py-symbol.c (gdbpy_lookup_symbol): Ditto. + (gdbpy_lookup_global_symbol): Ditto. + * python/py-lazy-string.c (stpy_convert_to_value): Ditto. + * python/py-frame.c (frapy_is_valid): Ditto. + (frame_info_to_frame_object): Ditto. + * python/py-type.c (typy_lookup_type): Ditto. + (typy_getitem): Ditto. + (typy_has_key): Ditto. + (typy_richcompare): Use TRY_CATCH. Do not return Py_NE on error. + +2011-10-26 Joel Brobecker + + * gdbarch.h: Regenerate. + +2011-10-26 Meador Inge + + * gdbarch.sh (function_list): Use 'pstring' when printing + 'gcore_bfd_target'. + * gdbarch.c: Regenerate. + +2011-10-26 Ulrich Weigand + + * regcache.c (registers_changed_ptid): Invalidate thread architecture + and frame caches if PTID refers to all threads of a process. + +2011-10-26 Ulrich Weigand + + * spu-tdep.c (spu_catch_start): Pass non-NULL breakpoint ops + to create_breakpoint. + +2011-10-26 Ulrich Weigand + + * ppc-sysv-tdep.c (ppc_sysv_use_opencl_abi): New function. + (ppc_sysv_abi_push_dummy_call): Use it. + (do_ppc_sysv_return_value): Likewise. + (ppc64_sysv_abi_push_dummy_call): Likewise. + (ppc64_sysv_abi_return_value): Likewise. + +2011-10-26 Paul Koning + + * python/lib/gdb/types.py (deepitems): New function. + +2011-10-25 Paul Koning + + PR python/13327 + + * python/py-value.c (value_to_value_object): Remove fetching of + the value if it was lazy. + (valpy_get_is_lazy): New function. + (valpy_fetch_lazy): New function. + +2011-10-24 Joel Brobecker + + * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Do not check + FUNC_TYPE's calling convention if FUNC_TYPE is not a function. + +2011-10-24 Pedro Alves + + * linux-nat.c (linux_handle_extended_wait): When handling a clone + event, in non-stop, if not stopping, make sure the new lwp has + last_resume_kind set to resume_continue. Assert that when we're + resuming the new lwp, its last_resume_kind is resume_continue. + +2011-10-24 Pedro Alves + + * infrun.c (handle_inferior_event): Don't assume inferior_ptid is + already set when marking the event thread as not executing in + non-stop mode. + +2011-10-24 Pedro Alves + + * infrun.c (handle_inferior_event): Add debug output for + TARGET_WAITKIND_NO_HISTORY. + +2011-10-24 Phil Muldoon + + * NEWS: Move set/show extended-prompt to "New Options". Expand + description. Fix typos. + +2011-10-24 Phil Muldoon + + PR python/13310 + + * python/py-param.c (call_doc_function): Correctly deference on + function exit. + +2011-10-21 Joel Brobecker + + * ada-tasks.c (print_ada_task_info): Fix computation of + number of tasks displayed in command output. + +2011-10-20 Jan Kratochvil + Ulrich Weigand + + * dwarf2-frame-tailcall.c: Include dwarf2-frame.h. + (dwarf2_tailcall_prev_register_first): Use dwarf2_frame_cfa. + (dwarf2_tailcall_sniffer_first): Remove variable pc_regnum. Replace + gdbarch_pc_regnum and frame_unwind_register_unsigned by + gdbarch_unwind_pc. + +2011-10-20 Cary Coutant + + * dwarf2read.c (dw2_get_file_names): Move adjustment for type + section to... + (partial_read_comp_unit_head): ...here. Add is_debug_type_section + flag. Adjust all callers. + (process_psymtab_comp_unit): Remove adjustment for type section. + +2011-10-20 Aleksandar Ristovski + + * cp-namespace.c (cp_scan_for_anonymous_namespaces): Changed function + arguments by adding OBJFILE. Instead of getting objfile from + symbol's symtab, use new argument OBJFILE. + * cp-support.h (cp_scan_for_anonymous_namespaces): Changed function + arguments by adding OBJFILE. + * gdb/dwarf2read.c (new_symbol_full): Change call to + cp_scan_for_anonymous_namespaces to match new signature. + * gdb/stabsread.c (define_symbol): Change call to + cp_scan_for_anonymous_namespaces to match new signature. + +2011-10-20 Phil Muldoon + + PR python/13308 + PR python/13309 + + * python/py-breakpoint.c (gdbpy_breakpoints): Fix List reference + leak. + * python/py-inferior.c (gdbpy_inferiors): Fix List reference + leak. Delete unused variables. + +2011-10-20 Phil Muldoon + + PR python/12656 + + * python/py-frame.c (frapy_read_var): Use const struct *block. + * python/py-type.c (typy_lookup_typename): Likewise. + (typy_lookup_type): Likewise. + (typy_legacy_template_argument): Likewise. + (typy_template_argument): Likewise. + (gdbpy_lookup_type): Likewise. + * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. + * python/py-block.c (blpy_block_object): Likewise. + (blpy_iter): Likewise. + (blpy_get_start): Likewise. + (blpy_get_end): Likewise. + (blpy_get_function): Likewise. + (blpy_get_superblock): Likewise. + (set_block): Likewise. + (block_to_block_object): Likewise. + (block_object_to_block): Likewise. + (blpy_is_valid): Likewise. + (blpy_get_global_block): New function. + (blpy_get_static_block): New function. + (blpy_is_global): New function. + (blpy_is_static): New function. + * blockframe.c (block_innermost_frame): Likewise. + * valops.c (value_of_variable): Likewise. + * frame.h: Update prototypes. + * python/python-internal.h: Likewise. + * value.h: Likewise. + +2011-10-19 Cary Coutant + + * dwarf2read.c (create_debug_types_hash_table): Fix size of + type_offset field. + 2011-10-19 Cary Coutant * dwarf2read.c (peek_abbrev_code): New function.