Add 'getthrds' declaration check in configure for AIX
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6a26ea41431e58f269a8fa2eca14b92970ca634c..67fed20c88a3d1eda935bcccbe53e5012099ef5a 100644 (file)
@@ -1,3 +1,708 @@
+2011-03-17  Joel Brobecker  <brobecker@gnat.com>
+
+       PR gdb/12116:
+       * configure.ac: Add getthrds declaration check.
+       * configure, config.in: Regenerate.
+       * aix-thread.c (getthrds): Declare only if not already declared
+       in procinfo.h.  More declaration out of get_signaled_thread to
+       global scope.
+
+2011-03-17  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/py-symtab.c: Populate symtab_object_methods,
+       sal_object_methods.
+       (stpy_is_valid): New function.
+       (salpy_is_valid): Ditto.
+       * python/py-symbol.c: Declare symbol_object_methods.  Populate.
+       (sympy_is_valid): New function.
+       * python/py-objfile.c: Declare objfile_object_methods.  Populate.
+       (objfpy_is_valid): New function.
+       * python/py-inferior.c: Populate inferior_object_methods.
+       (infpy_is_valid): New function.
+       * python/py-infthread.c: Populate thread_object_methods.
+       (thpy_is_valid): New function.
+       * python/py-block.c: Declare block_object_methods.  Populate.  Declare
+       block_iterator_object_methods.  Populate.
+       (blpy_is_valid): New function.
+       (blpy_iter_is_valid): Ditto.
+
+2011-03-16  Keith Seitz  <keiths@redhat.com>
+
+       * linespec.c (find_methods): Canonicalize NAME before looking
+       up the symbol.
+       (name_end): New function.
+       (keep_name_info): New function.
+       (decode_line_1): Use keep_name_info.
+       (decode_compound): Likewise.
+       * cli/cli-utils.h (remove_trailing_whitespace): New function.
+       * cli/cli-utils.c (remove_trailing_whitespace): Likewise.
+
+       PR c++/12273
+       * linespec.c (locate_first_half): Keep overload information, too.
+       (decode_compound): Use a string to represent break characters
+       to escape the loop.
+       If P points to a break character, do not increment it.
+       For C++ and Java, keep overload information and relevant keywords.
+       If we cannot find a symbol, search the minimal symbols.
+
+       PR c++/11734
+       * linespec.c (decode_compound): Rename SAVED_ARG to
+       THE_REAL_SAVED_ARG.
+       Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip
+       single-quotes.
+       Pass a valid block to lookup_symbol.
+       (lookup_prefix_sym): Likewise.
+       (find_method): Construct search name based on SYM_CLASS instead
+       of SAVED_ARG.
+       * psymtab.c (lookup_partial_symbol): Add language parameter.
+       (lookup_symbol_aux_psymtabs): Likewise.
+       Don't assume that the psymtab we found was the right one. Search
+       for the desired symbol in the symtab to be certain.
+       (psymtab_search_name): New function.
+       (lookup_partial_symbol): Use psymtab_search_name.
+       Add language parameter.
+       (read_symtabs_for_function): Add language parameter and pass to
+       lookup_partial_symbol.
+       (find_symbol_file_from_partial): Likewise.
+
+2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       PR gdb/12528
+       * dwarf2read.c (noop_record_line): New function.
+       (dwarf_decode_lines): Ignore line tables for GCd functions.
+
+2011-03-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Fix ARI warnings about new lines at the end of messages, which
+       are unneeded as there is a new line added at the end of the message
+       automatically.
+       * darwin-nat.c (darwin_stop_inferior): Ditto.
+       * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto.
+       * dfp.c (decimal_to_number): Ditto.
+       * exec.c (print_section_info): Ditto.
+       * i386-darwin-nat.c (darwin_set_sstep): Ditto.
+       * osdata.c (get_osdata): Ditto.
+       * record.c (bfdcore_write): Ditto.
+       * remote-mips.c (mips_readchar): Ditto.
+       * remote.c (read_ptid): Ditto.
+       * ser-mingw.c (ser_windows_raw): Ditto.
+       * tracepoint.c (add_local_symbols): Ditto.
+       * windows-nat.c (fake_create_process): Ditto.
+
+2011-03-16  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (stop_tracing): Don't declare.
+       * event-top.c (after_char_processing_hook): Add `(void)'.
+
+2011-03-16  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS: Add Parameter sub-classing description.
+
+2011-03-16  Kai Tietz  <ktietz@redhat.com>
+
+       * MAINTAINERS: Update my e-mail address.
+
+2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
+
+       * MAINTAINERS: Add myself for write after approval privileges.
+
+2011-03-15  Michael Snyder  <msnyder@vmware.com>
+
+       * frame.c (find_frame_sal): Assert sym is not null.
+
+       * dbxread.c (process_one_symbol): Assert 'name' is not null.
+
+       * objc-lang.c (selectors_info): Check strchr for null result.
+
+       * stabsread.c (define_symbol): Guard against bad stabstring input.
+
+2011-03-15  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Remove trailing spaces and tabulations from pascal language
+       support sources.
+       p-exp.y: Ditto.
+       p-lang.c: Ditto.
+       p-lang.h: Ditto.
+       p-valprint.c: Ditto.
+
+2011-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher
+       than LOW.  Comment it.
+       (read_partial_die): Call complaint for inappropriate zero LOWPC or
+       HIGHPC not strictly higher than LOWPC.
+
+2011-03-15  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Fix formatting of function declarations returning a pointer in
+       previous commit.
+       * varobj.c (varobj_add_child): Ditto.
+       * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto.
+       * inferior.h (get_displaced_step_closure_by_addr): Ditto.
+
+2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support
+       for the "generic" vector ABI used with GCC 4.3 and later.
+       (ppc64_sysv_abi_return_value): Likewise.
+
+2011-03-15  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * infcall.c (call_function_by_hand): Function return value is
+       always a non_lval, even when using struct_return.
+
+2011-03-15  Pedro Alves  <pedro@codesourcery.com>
+
+       * printcmd.c (ALL_DISPLAYS_SAFE): New.
+       (map_display_numbers): New.
+       (do_delete_display): New.
+       (undisplay_command): Use map_display_numbers.
+       (do_enable_disable_display): New.
+       (enable_disable_display_command): New function.
+       (enable_display): Delete.
+       (enable_display_command): New.
+       (disable_display_command): Reimplement.
+       (_initialize_printcmd): Adjust "enable display" command to use
+       `enable_display_command' as callback.
+
+2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS: Add Python breakpoint 'stop' operation.
+
+2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS: Delete duplicate entry. Fix typo.
+
+2011-03-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Fix ARI warning about function names in first column.
+       Put prototype declaration on same line as return type.
+       * objc-exp.y: Ditto.
+       * p-exp.y: Ditto.
+       * python/py-stopevent.h: Ditto.
+       For long function names, split parameters to
+       allow function name on same line as return type.
+       * solib-pa64.c: Ditto.
+       * varobj.c: Ditto.
+       * varobj.h: Ditto.
+       For long function declaration, use single line.
+       * hppa-tdep.h: Ditto.
+       * inferior.h: Ditto.
+
+2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/python.h: Declare gdbpy_should_stop and
+       gdbpy_breakpoint_has_py_cond.
+       * python/python.c: Add python.h to includes.  Remove python.h from
+       HAVE_PYTHON definition
+       (gdbpy_should_stop): New dummy function.
+       (gdbpy_breakpoint_has_py_cond): New dummy function.
+       * python/py-breakpoint.c (bppy_init): Rewrite to allow
+       sub-classing capabilities.
+       (gdbpy_should_stop): New function.
+       (gdbpy_breakpoint_has_py_cond): New function.
+       (local_setattro): New function.
+       * breakpoint.c (condition_command): Add check for Python 'stop'
+       operation.
+       (bpstat_check_breakpoint_conditions): Execute Python 'stop'
+       operation function as part of stop/continue tests.
+
+2011-03-14  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/12576:
+       * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
+       (needs_frame_dwarf_call): Likewise.
+
+2011-03-14  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Fix ARI warning about functions without parameters that do not
+       use (void).
+       * breakpoint.c (all_tracepoints): Replace () by (void).
+       * f-exp.y (match_string_literal): Ditto.
+       (yylex): Ditto.
+       * m2-exp.y (yylex): Ditto.
+       * mep-tdep.c (current_me_module): Ditto.
+       (current_options): Ditto.
+       (current_cop_data_bus_width): Ditto.
+       (current_cr_names): Ditto.
+       (current_cr_is_float): Ditto.
+       (current_ccr_names): Ditto.
+       * objc-exp.y (yylex): Ditto.
+       * p-exp.y (yylex): Ditto.
+       * remote.c (send_interrupt_sequence): Ditto.
+       * tracepoint.c (current_trace_status): Ditto.
+       * python/py-evts.c (gdbpy_initialize_py_events): Ditto.
+       * python/py-prettyprint.c (push_dummy_python_frame): Ditto.
+
+2011-03-11  Michael Snyder  <msnyder@vmware.com>
+
+       * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
+       * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
+       (lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
+       * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
+       * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
+
+       * event-loop-c (delete_async_signal_handler): Assert prev_ptr.
+       (delete_async_event_handler): Ditto.
+
+       * python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
+
+       * python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
+
+       * top.c (set_verbose): Assert showcmd was found.
+
+2011-03-11  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (warning_once): Correct style issues.
+
+2011-03-11  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
+
+2011-03-11  Andreas Schwab  <schwab@redhat.com>
+
+       * common/aclocal.m4: Remove.
+
+2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (windowing_enabled): Remove inline attribute.
+       (xtensa_write_register, xtensa_read_register): Likewise.
+       (xtensa_hextochar): Removed.
+       (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
+
+2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (xtensa_c0reg_t): Update comments.
+       (xtensa_call0_frame_cache_t): Update comments.  New fields added.
+       (xtensa_alloc_frame_cache): Add initialization for new fields.
+       (xtensa_frame_cache): Change the way how call0_frame_cache () is called.
+       (warning_once): New function.
+       (xtensa_insn_kind): New item c0opc_and.
+       (call0_classify_opcode): Add the case for AND instruction.
+       (call0_track_op): Change arguments.  New local variable litbase.
+       Add the case to handle c0opc_and.  Update algorithms for c0opc_mov,
+       c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments
+       in the prologue.
+       Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
+       (call0_analyze_prologue): Update the comments.  Change arguments.
+       Add the variety of updates to handle extended prologues, which now can
+       conduct dynamic stack adjustments.
+       (call0_frame_cache): Likewise.
+       (xtensa_skip_prologue): Update call0_analyze_prologue () function call.
+       (xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
+
+2011-03-10  Michael Snyder  <msnyder@vmware.com>
+
+       * tracepoint.c (cmd_qtv): Discard unused value 'packet'.
+       (cmd_qtframe): Ditto.
+       (cmd_qtbuffer): Ditto.
+       (cmd_bigqtbuffer): Ditto.
+
+2011-03-10  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (trace_actions_command): Update.
+       * thread.c (thread_apply_command): Update.
+       * reverse.c (delete_bookmark_command): Update.
+       (bookmarks_info): Update.
+       * printcmd.c (undisplay_command): Update.
+       * memattr.c (mem_enable_command): Update.
+       (mem_disable_command): Update.
+       (mem_delete_command): Update.
+       * inferior.c (detach_inferior_command): Update.
+       (kill_inferior_command): Update.
+       (remove_inferior_command): Update.
+       * cli/cli-utils.h (struct get_number_or_range_state): New.
+       (init_number_or_range): Declare.
+       (get_number_or_range): Update.
+       * cli/cli-utils.c (init_number_or_range): New function.
+       (get_number_or_range): Change 'pp' parameter to 'state'.  Remove
+       static variables.
+       (number_is_in_list): Update.
+       * breakpoint.h (get_tracepoint_by_number): Update.
+       * breakpoint.c (map_breakpoint_numbers): Update for change to
+       get_number_or_range.
+       (find_location_by_number): Use get_number, not
+       get_number_or_range.
+       (trace_pass_set_count): New function.
+       (trace_pass_command): Update for change to get_number_or_range.
+       Rework loop logic.
+       (get_tracepoint_by_number): Remove 'multi_p' parameter; add
+       'state' parameter.
+
+2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/py-param.c (add_setshow_generic): Add set/show callback
+       parameters.  Register Python object context.
+       (get_show_value): New function.
+       (get_set_value): New function.
+       (call_doc_function): New function.
+       (get_doc_string): Move behind get_show_value/get_set_value.
+
+2011-03-10  Andreas Tobler  <andreast-list@fgznet.ch>
+
+       * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
+
+2011-03-09  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (xtensa_read_register): Add comment.
+       (xtensa_write_register): Likewise.
+       (xtensa_hextochar): Add comment and update to match coding conventions.
+       (xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
+       (execute_l32e, execute_s32e, execute_code): Update comments.
+       (xtensa_exception_handler_t): Update to match coding conventions.
+       (xtensa_insn_kind): Likewise.
+
+2011-03-09  Michael Snyder  <msnyder@vmware.com>
+
+       * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
+
+2011-03-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+       * thread.c (restore_selected_frame): Handle frame_level == -1.
+       (make_cleanup_restore_current_thread): Use
+       get_selected_frame_if_set.
+       * frame.h (get_selected_frame_if_set): Declare.
+       * frame.c (get_selected_frame_if_set): New function.
+
+2011-03-09  Pedro Alves  <pedro@codesourcery.com>
+
+       * cli/cli-cmds.c (shell_escape): Use lbasename.
+       * coffread.c (coff_start_symtab): Constify parameter.
+       (complete_symtab): Constify `name' parameter.
+       (coff_symtab_read): Constify `filestring' local.
+       (coff_getfilename): Constify return and `result' local.
+       Use lbasename.
+       * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
+       * linux-fork.c (info_checkpoints_command): Use lbasename.
+       * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
+       * minsyms.c (lookup_minimal_symbol): Use lbasename.
+       * nto-tdep.c (nto_find_and_open_solib): Use lbasename.
+       * procfs.c (procfs_make_note_section): Use lbasename.
+       * tui/tui-io.c (printable_part): Constity return and parameter.
+       Use lbasename.
+       (print_filename): Constify parameters, and local `s'.
+       (tui_rl_display_match_list): Constify local `temp'.
+
+2011-03-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Revert:
+       2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+       Fix DWARF-3+ DW_AT_accessibility default assumption.
+       * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
+       cu->header.version >= 3.
+
+2011-03-09  Yao Qi  <yao@codesourcery.com>
+
+       * common/Makefile.in: Remove.
+       * common/configure: Remove.
+       * common/configure.ac: Remove.
+
+2011-03-09  Yao Qi  <yao@codesourcery.com>
+
+       Revert:
+       2011-02-11  Yao Qi  <yao@codesourcery.com>
+
+       * common/Makefile.in: Add copyright header.
+
+       2011-02-11  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in: Remove signals.o from COMMON_OBS.  Link
+       libcommon.a.
+       * configure.ac: Add common to sub dir.
+       * configure: Regenerate.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (call0_ret): New function.
+       (xtensa_skip_prologue): Speed up analysis.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
+       while executing MI command -data-list-changed-registers.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (xtensa_read_register): New function.
+       (xtensa_write_register): New function.
+       (xtensa_find_register_by_name): New function.
+       (xtensa_windowed_frame_cache): Update comments in type description.
+       (xtensa_frame_cache): Likewise.
+       (xtensa_window_interrupt_insn): New function.
+       (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
+       (xtensa_insn_kind): Add new instructions.
+       (rwx_special_register): New function.
+       (call0_classify_opcode): Add new instructions to the analysis.
+       (a0_saved, a7_saved, a11_saved): New variables.
+       (a0_was_saved, a7_was_saved, a11_was_saved): New variables.
+       (execute_l32e): New function.
+       (execute_s32e): New function.
+       (xtensa_exception_handler_t): New type.
+       (execute_code): New function.
+       (xtensa_window_interrupt_frame_cache): New function to conduct frame
+       analysis for Xtensa Window Exception handlers.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.c (TX_PS): New.
+       (windowing_enabled): Update to count for Call0 ABI.
+       (xtensa_hextochar): New.
+       (xtensa_init_reggroups): Make algorithm generic.
+       (xtensa_frame_cache): Use TX_PS on Tiny Xtensa.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+       * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update.
+
+2011-03-08  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-tdep.c (i386_follow_jump): Check return value of
+       target_read_memory.
+       (i386_analyze_struct_return): Ditto.
+       (i386_skip_probe): Ditto.
+       (i386_match_insn): Ditto.
+       (i386_skip_noop): Ditto.
+       (i386_analyze_frame_setup): Ditto.
+       (i386_analyze_register_saves): Ditto.
+       (i386_skip_prologue): Ditto.
+       (i386_skip_main_prologue): Ditto.
+
+       * target.c (read_whatever_is_readable): Fix memory leak.
+
+       * i386-tdep.c (i386_process_record): Document fall through.
+
+2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix DWARF-3+ DW_AT_accessibility default assumption.
+       * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
+       cu->header.version >= 3.
+
+2011-03-08  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (remote_check_symbols): Skip if the target has no
+       execution.
+
+2011-03-08  Joel Brobecker  <brobecker@adacore.com>
+
+       * target.c (read_whatever_is_readable): Reformat comment,
+       with a minor typo fix. Minor reformatting of the code.
+
+2011-03-08  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
+       (displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
+       Use cached result instead of calling displaced_in_arm_mode again.
+       (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
+       (displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
+       (cleanup_copro_load_store, copy_copro_load_store): Likewise.
+       (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
+       (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
+       (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
+       (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
+       (cleanup_block_load_all, cleanup_block_store_pc): Likewise.
+       (cleanup_block_load_pc, copy_block_xfer): Likewise.
+       * arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
+       (arm_catch_kernel_helper_return): Likewise.
+       * gdb/arm-tdep.h : Update function declarations.
+
+2011-03-07  Michael Snyder  <msnyder@vmware.com>
+
+       * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
+
+       * ser-unix.c (hardwire_get_tty_state): Stop memory leak.
+
+       * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
+
+       * elfread.c (elf_symtab_read): Stop memory leak.
+
+       * main.c (captured_main): Fix memory leak.
+
+2011-03-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * ada-lang.c (compare_names): Call is_name_suffix with string1
+       instead of string2.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * xcoffread.c (xcoff_sym_fns): Update.
+       * symfile.h (struct sym_fns) <sym_read_psymbols>: New field.
+       (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant.
+       * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ.
+       (symbol_file_add_with_addrs_or_offsets): Likewise.
+       (reread_symbols): Handle OBJF_PSYMTABS_READ.
+       * somread.c (som_sym_fns): Update.
+       * psymtab.h (require_partial_symbols): Declare.
+       * psymtab.c (require_partial_symbols): New function.
+       (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro.
+       (ALL_OBJFILE_PSYMTABS): Undef.
+       (ALL_PSYMTABS): Move from psympriv.h.
+       (lookup_partial_symtab, find_pc_sect_psymtab)
+       (lookup_symbol_aux_psymtabs, relocate_psymtabs)
+       (find_last_source_symtab_from_partial)
+       (forget_cached_source_info_partial)
+       (print_psymtab_stats_for_objfile, read_symtabs_for_function)
+       (expand_partial_symbol_tables, read_psymtabs_with_filename)
+       (map_symbol_names_psymtab, map_symbol_filenames_psymtab)
+       (find_symbol_file_from_partial, map_matching_symbols_psymtab)
+       (expand_symtabs_matching_via_partial, maintenance_info_psymtabs):
+       Use ALL_OBJFILE_PSYMTABS_REQUIRED.
+       * psympriv.h (ALL_PSYMTABS): Move to psymtab.c.
+       * objfiles.h (OBJF_PSYMTABS_READ): New macro.
+       * objfiles.c (objfile_has_partial_symbols): Handle lazily-read
+       psymtabs.
+       * mipsread.c (ecoff_sym_fns): Update.
+       * machoread.c (macho_sym_fns): Update.
+       * elfread.c (elf_symfile_read): Set up for lazy psymtab reading.
+       (read_psyms): New function.
+       (elf_sym_fns, elf_sym_fns_gdb_index): Update.
+       (elf_sym_fns_lazy_psyms): New global.
+       * dwarf2read.c (dwarf2_initialize_objfile): Don't call
+       dwarf2_build_psymtabs.
+       * dbxread.c (aout_sym_fns): Update.
+       * coffread.c (coff_sym_fns): Update.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * infrun.c (print_exited_reason): Include inferior id and pid in
+       message.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (struct target_ops) <to_has_execution>: Add ptid_t
+       parameter.
+       (target_has_execution_1): Update.
+       (target_has_execution_current): Declare.
+       (target_has_execution): Call target_has_execution_current.
+       (default_child_has_execution): Update.
+       * target.c (default_child_has_execution): Add 'the_ptid'
+       parameter.
+       (target_has_execution_1): Likewise.
+       (target_has_execution_current): New function.
+       (add_target): Update.
+       (init_dummy_target): Update.
+       * remote-m32r-sdi.c (m32r_has_execution): New function.
+       (init_m32r_ops): Use it.
+       * record.c (record_core_has_execution): Now static.  Add
+       'the_ptid' parameter.
+       * inferior.c (have_live_inferiors): Don't save current thread.
+       Use target_has_execution_1.
+
+2011-03-07  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * elfread.c (elf_symtab_read): Minor reformatting.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * objc-lang.c (selectors_info): Minor reformatting.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (compare_names): Add FALLTHROUGH comment.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+           Michael Snyder  <msnyder@vmware.com>
+
+       * ada-valprint.c (ada_val_print_array): Move the declaration of
+       "byte_order" and "elttype" inside the block where these variables
+       are actually used.  Remove some special handling for the case
+       where "elttype" and "eltlen" are null.  Replace by a comment
+       and a couple of assertion checks.
+
+2011-03-05  Michael Snyder  <msnyder@vmware.com>
+
+       * source.c (add_path): Replace semicolon at end of block.
+       * dwarf2expr.c (execute_stack_op): Ditto.
+
+2011-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+       * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h.
+       * configure.tgt (bfin-*-*linux*): Define gdb_sim.
+       (bfin-*-*): Likewise.
+
+2011-03-05  Michael Snyder  <msnyder@vmware.com>
+
+       * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
+       * mdebugread.c (parse_symbol): Ditto.
+       * parse.c (parse_exp_in_context): Ditto.
+       * source.c (add_path): Ditto.
+       * utils.c (gnu_debuglink_crc32): Ditto.
+       * varobj.c (variable_language): Ditto.
+
+       * linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
+
+2011-03-04  Michael Snyder  <msnyder@vmware.com>
+
+       * linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
+
+       * symfile.c (simple_overlay_update): Check for null return value
+       from lookup_minimal_symbol.
+
+       * xml-syscall.c (syscall_start_syscall): Assert name is non null.
+
+2011-03-04  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * eval.c (parse_and_eval_address_1): Remove function.
+       * linespec.c (decode_indirect): Call parse_to_comma_and_eval
+       instead of parse_and_eval_address_1.
+       * value.h (parse_and_eval_address_1): Remove prototype.
+
+2011-03-04  Michael Snyder  <msnyder@vmware.com>
+
+       * remote.c (putpkt_binary): Document that case stmt falls through.
+
+2011-03-04  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * breakpointc (print_it_typical): Move NULL check from here...
+       (print_bp_stop_message): ... to here.
+
+2011-03-04  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
+
+       * breakpoint.c (enable_command): Use break instead of continue,
+       and fill in a missing break.
+       (disable_command): Ditto.
+
+2011-03-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.
+       (terminal_save_ours): Remove misleading comment.
+       (inflow_inferior_data_cleanup): Free ttystate.
+       (inflow_inferior_exit): Likewise.
+       (copy_terminal_info): Copy ttystate.
+
+       * serial.c (serial_copy_tty_state): New function.
+       * serial.h (serial_copy_tty_state): Add prototype.
+       (struct serial_ops): Add copy_tty_state callback.
+       * ser-base.c (ser_base_copy_tty_state): New function.
+       * ser-base.h (ser_base_copy_tty_state): Add prototype.
+       * ser-go32.c (dos_copy_tty_state): New function.
+       (dos_ops): Install copy_tty_state callback.
+       * ser-mingw.c (_initialize_ser_windows): Likewise.
+       * ser-pipe.c (_initialize_ser_pipe): Likewise.
+       * ser-unix.c (hardwire_copy_tty_state): New function.
+       (_initialize_ser_hardwire): Install it.
+
+2011-03-04  Michael Snyder  <msnyder@vmware.com>
+
+       * breakpoint.c (create_breakpoint): Add missing break statement.
+
+       Reverting this patch:
+       * infcall.c (call_function_by_hand): Add break statements for lint.
+
+       Reverting this patch:
+       * cli/cli-script.c (script_from_file): Add break for lint.
+
+2011-03-04  Michael Snyder  <msnyder@vmware.com>
+
+       * solib.c (reload_shared_libraries_1): Close memory leak.
+
 2011-03-03  Tom Tromey  <tromey@redhat.com>
 
        PR gdb/12538:
@@ -6,6 +711,9 @@
 
 2011-03-03  Michael Snyder  <msnyder@vmware.com>
 
+       * remote-fileio.c (remote_fileio_func_fstat): Initialize all
+       fields of struct 'st' to zero.
+
        * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize
        sal.pspace before calling set_current_source_symtab_and_line.
 
 
        * mdebugread.c (parse_partial_symbols): Fix indent.
 
-       * gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc 
-       with xmalloc.
-
        * target-descriptions.c (tdesc_gdb_type): No need to call
        xstrdup, callee saves a copy.
 
 
        * utils.c (parse_escape): Escape the escape char.
 
-       * python/py-inferior.c (build_inferior_list): Error out if 
+       * python/py-inferior.c (build_inferior_list): Error out if
        PyList_Append fails.
        (gdbpy_inferiors): Error out if build_inferior_list fails.
 
 
        * coffread.c (coff_getfilename): Add check to avoid overflow.
 
-       * objc-lang.c (selectors_info): Add a small safety margin to 
+       * objc-lang.c (selectors_info): Add a small safety margin to
        avoid overflow.
        (classes_info): Error out on too long REGEXP.
 
        * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one
        error in strncpy.
 
-       * symtab.c (rbreak_command): Move variable 'file_name' to 
+       * symtab.c (rbreak_command): Move variable 'file_name' to
        outer scope.
 
        * d-valprint.c (dynamic_array_type): Avoid shadowing a function
 
        * breakpoint.c (breakpoint_1): Change first argument from an int
        to a char pointer, so that the function now accepts a list of
-       breakpoints rather than just one.  Use new function 
+       breakpoints rather than just one.  Use new function
        'number_is_in_list' to implement.
        (breakpoints_info): Pass char * instead of int to breakpoint_1.
        (watchpoints_info): Ditto.
        (info_threads_command): Pass char* to print_thread_info.
        * cli/cli-utils.c (number_is_in_list): New function.
        * cli/cli-utils.h (number_is_in_list): Export.
-       * mi/mi-main.c (mi_cmd_thread_info): Pass char* to 
+       * mi/mi-main.c (mi_cmd_thread_info): Pass char* to
        print_thread_info.
        (print_one_inferior): Ditto.
        (mi_cmd_list_thread_groups): Ditto.
 
 2011-02-18  Michael Snyder  <msnyder@vmware.com>
 
-       * thread.c (info_threads_command): Re-implement using 
+       * thread.c (info_threads_command): Re-implement using
        get_number_or_range.
        (thread_apply_command): Ditto.
 
        (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
        (hpux_major_release): Make global, change default value to
        DEFAULT_HPUX_MAJOR_RELEASE.
-       (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. 
+       (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
        * hppa-hpux-nat.c: Add <sys/utsname.h> include.
        Add "solib-som.h" header.
        (set_hpux_major_release): New function.
        Make value allocations more lazy.
        * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
        instead of allocate_value and set_value_lazy when possible.
-       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy 
+       * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
        instead of allocate_value and set_value_lazy.
        * findvar.c (value_of_register_lazy): Likewise.
        (read_var_value): Remove V preallocation, call just check_typedef in
-       advance.  Move allocate_value to LOC_CONST, LOC_LABEL, 
+       advance.  Move allocate_value to LOC_CONST, LOC_LABEL,
        LOC_CONST_BYTES.  Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
        LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK.  Set ADDR instead of
        set_value_address and break in LOC_BLOCK.  Use allocate_value_lazy and
            Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
        Implement support for PowerPC BookE ranged watchpoints.
-       * breakpoint.h 
+       * breakpoint.h
        (struct breakpoint_ops) <resources_needed>: New method.
        Initialize to NULL in all existing breakpoint_ops instances.
        (struct breakpoint) <exact>: New field.
        <insert_location>: ... this.  Return int instead of void.
        Accept pointer to struct bp_location instead of pointer to
        struct breakpoint.  Adapt all implementations.
-       (breakpoint_ops) <remove>: Rename to... 
+       (breakpoint_ops) <remove>: Rename to...
        <remove_location>: ... this.  Accept pointer to struct bp_location
        instead of pointer to struct breakpoint.  Adapt all implementations.
        * breakpoint.c (insert_catchpoint): Delete function.
 
        * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
        for i18n.
-       * tui/tui-layout.c (tui_set_layout_for_display_command): 
+       * tui/tui-layout.c (tui_set_layout_for_display_command):
        Split line so that operator goes to beginning of line.
        * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
        assignment out of if statement.
This page took 0.032971 seconds and 4 git commands to generate.