Add options to skip unavailable locals
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index ee43344b7d1875034a2543926e3eaad0fe6479f0..d41b1da9c6fb04e76ba76cab81d024c174a4eba8 100644 (file)
@@ -1,3 +1,811 @@
+2013-08-27  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmd-stack.c (list_args_or_locals): Adjust prototype.
+       (parse_no_frames_option): Remove.
+       (mi_cmd_stack_list_locals): Handle --skip-unavailable.
+       (mi_cmd_stack_list_args): Adjust.
+       (mi_cmd_stack_list_variables): Handle --skip-unavailable.
+       (list_arg_or_local): Add new parameter 'skip_unavailable'.  Return
+       early if SKIP_UNAVAILABLE is true and ARG->val is unavailable.
+       Caller update.
+       (list_args_or_locals): New parameter 'skip_unavailable'.
+       Handle it.
+       * valprint.c (scalar_type_p): Rename to ...
+       (val_print_scalar_type_p): ... this.  Make extern.
+       (val_print, value_check_printable): Adjust.
+       * valprint.h (val_print_scalar_type_p): Declare.
+       * value.c (value_entirely_unavailable): New function.
+       * value.h (value_entirely_unavailable): Declare.
+
+       * NEWS: Mention the new option "--skip-unavailable" to MI
+       commands '-stack-list-locals', '-stack-list-arguments' and
+       '-stack-list-variables'.
+
+2013-08-27  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmd-stack.c (parse_no_frames_option): Remove.
+       (mi_cmd_stack_list_args): Use mi_getopt_silent to handle
+       options.
+       * mi/mi-getopt.c (mi_getopt): Remove.
+       (mi_getopt_1): Renamed from mi_getopt.  Add one parameter
+       'error_on_unknown'.
+       (mi_getopt): Call mi_getopt_1.
+       (mi_getopt_silent): New.
+       * mi/mi-getopt.h (mi_getopt_silent): Declare.
+
+2013-08-26  Doug Evans  <dje@google.com>
+
+       PR symtab/15885
+       * dwarf2read.c (dw2_dump): Print some minimal information indicating
+       .gdb_index is in use.
+       * symfile.c (reread_symbols): Reset objfile->sf.
+
+       * NEWS: Document "mt print objfiles" now takes optional regexp.
+       * symmisc.c (maintenance_print_objfiles): Argument is now an optional
+       regexp of objfiles to print.
+       (_initialize_symmisc): Update doc string for "mt print objfiles".
+
+       * dwarf2read.c (write_psymtabs_to_index): Move error checks ahead of
+       missing debug info checks.
+
+2013-08-26  Raunaq Bathija  <raunaq12@in.ibm.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * xcoffread.c (arrange_linetable): Add fix to correctly handle
+       line tables generated by XLC compiled binaries.
+
+2013-08-23  Doug Evans  <dje@google.com>
+
+       * symmisc.c (dump_symtab): Delete prototype.
+       (dump_msymbols, dump_objfile): Ditto.
+       (maintenance_info_symtabs): Mark as dont_repeat.
+       (_initialize_symmisc): Improve doc string for "mt info symtabs".
+
+       * elfread.c (elf_symfile_read): Move "Done reading minimal symbols"
+       debugging printf to better location.
+
+2013-08-23  Pedro Alves  <palves@redhat.com>
+
+       * target.c (target_read_live_memory): Change type of 'ret' local
+       to LONGEST.
+
+2013-08-23  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (remote_write_bytes_aux, remote_write_bytes)
+       (remote_read_bytes): Change return type to LONGEST, and adjust to
+       return a target_xfer_error on error.
+       (remote_xfer_memory): Delete.
+       (remote_flash_write): Change type of 'ret' local to LONGEST.
+       (remote_xfer_partial, remote_xfer_partial): Adjust.
+       (init_remote_ops): Don't install a deprecated_xfer_memory hook.
+
+2013-08-23  Pierre Muller  <muller@sourceware.org>
+
+       ARI fix: Push # directives to start of line.
+       * rs6000-nat.c (rs6000_ptrace32, rs6000_ptrace64): Rule applied.
+
+2013-08-12  Muhammad Waqas  <mwaqas@codesourcery.com>
+
+       PR gdb/15501
+       * breakpoint.c (enable_command, disable_command): Iterate over
+       all specified breakpoint locations.
+
+2013-08-22  Luis Machado  <lgustavo@codesourcery.com>
+
+       * common/linux-ptrace.c (linux_fork_to_function): Push #
+       directives to the start of the line.
+       (linux_check_ptrace_features): Fix warning message to use
+       the "_" markup.
+
+2013-08-22  Luis Machado  <lgustavo@codesourcery.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-nat.h and
+       nat/linux-waitpid.h.
+       (linux-waitpid.o): New object file rule.
+       * common/linux-ptrace.c: Include nat/linux-waitpid.h.
+       (current_ptrace_options): Moved from linux-nat.c.
+       (linux_ptrace_test_ret_to_nx): Use type casts for ptrace
+       parameters.
+       (linux_fork_to_function): New function.
+       (linux_grandchild_function): Likewise.
+       (linux_child_function): Likewise.
+       (linux_check_ptrace_features): New function, heavily
+       based on linux-nat.c:linux_test_for_tracefork.
+       (linux_enable_event_reporting): New function.
+       (ptrace_supports_feature): Likewise.
+       (linux_supports_tracefork): Likewise.
+       (linux_supports_traceclone): Likewise.
+       (linux_supports_tracevforkdone): Likewise.
+       (linux_supports_tracesysgood): Likewise.
+       * common/linux-ptrace.h (HAS_NOMMU): Moved from
+       gdbserver/linux-low.c.
+       (linux_enable_event_reporting): New declaration.
+       (linux_supports_tracefork): Likewise.
+       (linux_supports_traceclone): Likewise.
+       (linux_supports_tracevforkdone): Likewise.
+       (linux_supports_tracesysgood): Likewise.
+       * config.in (PTRACE_TYPE_ARG4): Regenerate.
+       * config/aarch64/linux.mh (NATDEPFILES): Add linux-waitpid.o.
+       * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
+       * config/arm/linux.mh (NATDEPFILES): Likewise.
+       * config/i386/linux.mh (NATDEPFILES): Likewise.
+       * config/i386/linux64.mh (NATDEPFILES): Likewise.
+       * config/ia64/linux.mh (NATDEPFILES): Likewise.
+       * config/m32r/linux.mh (NATDEPFILES): Likewise.
+       * config/m68k/linux.mh (NATDEPFILES): Likewise.
+       * config/mips/linux.mh (NATDEPFILES): Likewise.
+       * config/pa/linux.mh (NATDEPFILES): Likewise..
+       * config/powerpc/linux.mh (NATDEPFILES): Likewise..
+       * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
+       * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
+       * config/sparc/linux.mh (NATDEPFILES): Likewise.
+       * config/sparc/linux64.mh (NATDEPFILES): Likewise.
+       * config/tilegx/linux.mh (NATDEPFILES): Likewise.
+       * config/xtensa/linux.mh (NATDEPFILES): Likewise.
+       * configure.ac (AC_CACHE_CHECK): Add void * to the list of
+       ptrace's 4th argument's types.
+       Check the type of PTRACE_TYPE_ARG4.
+       * configure: Regenerate.
+       * linux-nat.c: Include nat/linux-nat.h and nat/linux-waitpid.h.
+       (SYSCALL_SIGTRAP): Moved to nat/linux-nat.h.
+       (linux_supports_tracefork_flag): Remove.
+       (linux_supports_tracesysgood_flag): Likewise.
+       (linux_supports_tracevforkdone_flag): Likewise.
+       (current_ptrace_options): Moved to
+       common/linux-ptrace.c.
+       (linux_tracefork_child): Remove.
+       (my_waitpid): Remove.
+       (linux_test_for_tracefork): Renamed to
+       linux_check_ptrace_features and moved to common/linux-ptrace.c.
+       (linux_test_for_tracesysgood): Remove.
+       (linux_supports_tracesysgood): Remove.
+       (linux_supports_tracefork): Remove.
+       (linux_supports_tracevforkdone): Remove.
+       (linux_enable_tracesysgood): Remove.
+       (linux_enable_event_reporting): Remove.
+       (linux_init_ptrace): New function.
+       (linux_child_post_attach): Call linux_init_ptrace.
+       (linux_child_post_startup_inferior): Call linux_init_ptrace.
+       (linux_child_follow_fork): Call linux_supports_tracefork
+       and linux_supports_tracevforkdone.
+       (linux_child_insert_fork_catchpoint): Call
+       linux_supports_tracefork.
+       (linux_child_insert_vfork_catchpoint): Likewise.
+       (linux_child_set_syscall_catchpoint): Call
+       linux_supports_tracesysgood.
+       (lin_lwp_attach_lwp): Call linux_supports_tracefork.
+       * nat/linux-nat.h: New file.
+       * nat/linux-waitpid.c: New file.
+       * nat/linux-waitpid.h: New file.
+
+2013-08-22  Samuel Bronson  <naesten@gmail.com>
+
+       ARM Linux support for `catch syscall'.
+       * syscalls/arm-linux.py: New file.
+       * syscalls/arm-linux.xml: Likewise.
+       * arm-linux-tdep.c (arm_linux_get_syscall_number): New function.
+       (arm_linux_init_abi): Register the new function and syscall xml file.
+       * data-directory/Makefile.in: Install the new syscall xml file.
+       * NEWS: Brag about this.
+
+2013-08-22  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/15871
+       * corefile.c (target_xfer_memory_error): New function.
+       (memory_error): Defer EIO to target_memory_error.
+       (read_memory): Use target_xfer_partial, and handle finer-grained
+       target xfer errors.
+       * target.c (target_xfer_error_to_string): New function.
+       (memory_xfer_partial_1): If memory is known to be
+       unavailable, return TARGET_XFER_E_UNAVAILABLE instead of -1.
+       (target_xfer_partial): Make extern.
+       * target.h (enum target_xfer_error): New enum.
+       (target_xfer_error_to_string): Declare function.
+       (target_xfer_partial): Declare function.
+       (struct target_ops) <xfer_partial>: Adjust describing comment.
+
+2013-08-22  Alan Modra  <amodra@gmail.com>
+
+       * configure.host: Support powerpc64le-linux and powerpcle-linux hosts.
+       * configure.tgt: Likewise as targets.
+
+2013-08-20  Doug Evans  <dje@google.com>
+
+       * buildsym.c (subfile_stack): Move here from buildsym.h.
+       (pending_macros): Ditto.
+       (get_macro_table): New function.
+       (buildsym_init): Initialize subfile_stack.
+       * coffread.c (type_vector,type_vector_length): Moved here from
+       buildsym.h.
+       (INITIAL_TYPE_VECTOR_LENGTH): Ditto.
+       (coff_symtab_read): Use it.
+       * dbxread.c (read_ofile_symtab): Delete init of subfile_stack.
+       * dwarf2read.c (macro_start_file): Replace uses of pending_macros
+       with call to get_macro_table.
+       * stabsread.c (type_vector,type_vector_length): Moved here from
+       buildsym.h.
+       (INITIAL_TYPE_VECTOR_LENGTH): Ditto.
+       * buildsym.h (get_macro_table): Declare.
+
+2013-08-20  Tom Tromey  <tromey@redhat.com>
+
+       * dbxread.c (record_minimal_symbol): Make 'name' argument const.
+       Update.
+       (read_dbx_dynamic_symtab): Make 'name' const.  Remove casts.
+
+2013-08-20  Doug Evans  <dje@google.com>
+
+       * blockframe.c: Remove #include "psymtab.h".
+       * cp-support.c: Ditto.
+       * source.c: Ditto.
+       * stack.c: Ditto.
+
+2013-08-20  Tom Tromey  <tromey@redhat.com>
+
+       PR python/15816:
+       * exceptions.h (return_mask): Now an enum.
+       (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL): Now
+       enum constants.
+
+2013-08-20  Tom Tromey  <tromey@redhat.com>
+
+       * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
+       get_objfile_arch.
+       * elfread.c (elf_rel_plt_read, elf_gnu_ifunc_record_cache)
+       (elf_gnu_ifunc_resolve_by_got): Use get_objfile_arch.
+       * jit.c (jit_object_close_impl): Update.
+       * jv-lang.c (get_dynamics_objfile): Update.
+       * linespec.c (add_minsym): Use get_dynamics_objfile.
+       * objfiles.c (get_objfile_bfd_data): Initialize 'gdbarch' field.
+       (allocate_objfile): Don't initialize 'gdbarch' field.
+       (get_objfile_arch): Update.
+       * objfiles.h (struct objfile_per_bfd_storage) <gdbarch>: New field,
+       moved from...
+       (struct objfile) <gdbarch>: ... here.  Remove.
+       * stap-probe.c (stap_can_evaluate_probe_arguments): Use
+       get_objfile_arch.
+       * symfile.c (init_entry_point_info): Use get_objfile_arch.
+
+2013-08-20  Alan Modra  <amodra@gmail.com>
+
+       * doublest.c (convert_floatformat_to_doublest): Use fmt->split_half
+       for IBM long double nan and inf.
+       (floatformat_is_negative, floatformat_classify,
+       floatformat_mantissa): Similarly.
+       (floatformat_ieee_single, floatformat_ieee_double,
+       floatformat_ieee_quad, floatformat_arm_ext,
+       floatformat_ia64_spill): Delete unused vars.
+       (_initialize_doublest): Delete unused function.
+       * gdbtypes.c (floatformats_ibm_long_double): Use new big- and
+       little-endian variants of floatformat_ibm_long_double.
+
+2013-08-19  Luis Machado  <lgustavo@codesourcery.com>
+
+       * Makefile.in (SFILES): Remove common/target-common.c and
+       add target/waitstatus.c.
+       (HFILES_NO_SRCDIR): Remove common/target-common.h and add
+       target/resume.h, target/wait.h and target/waitstatus.h.
+       (COMMON_OBS): Remove target-common.o and add
+       waitstatus.o.
+       (target-common.o): Remove.
+       (waitstatus.o): New target object file.
+       * common/target-common.c: Move contents to
+       target/waitstatus.c and remove.
+       * common/target-common.h: Move contents to other files and
+       remove.
+       (enum resume_kind: Move to target/resume.h.
+       (TARGET_WNOHANG): Move to target/wait.h.
+       (enum target_waitkind): Move to target/waitstatus.h.
+       (struct target_waitstatus): Likewise.
+       * target.h: Do not include target-common.h and
+       include target/resume.h, target/wait.h and
+       target/waitstatus.h.
+       * target/resume.h: New file.
+       * target/wait.h: New file.
+       * target/waitstatus.h: New file.
+       * target/waitstatus.c: New file.
+
+2013-08-19  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_test_for_tracefork)
+       (linux_test_for_tracesysgood, linux_child_follow_fork)
+       (lin_lwp_attach_lwp, linux_nat_resume): Don't block child signals.
+       (linux_nat_wait_1): Extend comment.
+       (linux_async_pipe): Add comment.
+
+2013-08-15  Kevin Buettner  <kevinb@redhat.com>
+
+       * rl78-tdep.c (RL78_RAW_PC_REGNUM): New enum.
+       (RL78_PC_REGNUM): Move to list of pseudo-register enums.
+       (rl78_register_type, rl78_register_name, rl78_register_reggroup_p):
+       Update to account for fact that PC is now a pseudo-register.
+       (rl78_pseudo_register_write, rl78_pseudo_register_read):  Add
+       cases for RL78_PC_REGNUM.
+
+2013-08-15  Muhammad Bilal  <mbilal@codesourcery.com>
+
+       PR cli/15841
+       * top.c (quit_force): Skip writing history file
+       if input is not from terminal.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <echo_nextthread, nextthread,
+       resultthreadlist>: New fields.
+       (OPAQUETHREADBYTES, threadref, MAXTHREADLISTRESULTS): Move earlier.
+       (remote_get_threadlist, remote_threadlist_iterator): Use
+       new fields.  Remove static variables.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <remote_stopped_by_watchpoint_p,
+       remote_watch_data_address>: New fields.
+       (remote_stopped_by_watchpoint_p, remote_watch_data_address): Remove.
+       (process_stop_reply, remote_wait_as)
+       (remote_check_watch_resources, remote_stopped_data_address): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <async_client_callback,
+       async_client_context>: New fields.
+       (async_client_callback, async_client_context): Remove.
+       (remote_async_serial_handler, remote_async): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (sizeof_pkt): Remove.
+       (remote_trace_find): Use rs->buf_size, not sizeof_pkt.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <use_threadinfo_query,
+       use_threadextra_query>: New fields.
+       (remote_threads_info, remote_threads_extra_info)
+       (remote_open_1): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <finished_object,
+       finished_annex, finished_offset>: New fields.
+       (remote_read_qxfer): Use remote_state fields; remove static
+       variables.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <last_sent_step>:
+       New field.
+       (last_sent_step): Remove.
+       (remote_resume, remote_wait_as): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <last_sent_signal>:
+       New field.
+       (last_sent_signal): Remove.
+       (new_remote_state, remote_resume, remote_wait_as): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <last_program_signals_packet>:
+       New field.
+       (last_program_signals_packet): Remove.
+       (remote_program_signals, remote_open_1): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <last_pass_packet>:
+       New field.
+       (last_pass_packet): Remove.
+       (remote_pass_signals, remote_open_1): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <remote_traceframe_number>:
+       New field.
+       (remote_traceframe_number): Remove.
+       (new_remote_state, remote_open_1, set_remote_traceframe)
+       (remote_trace_find): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <general_thread, continue_thread>:
+       New fields.
+       (general_thread, continue_thread): Remove.
+       (record_currthread, set_thread, set_general_process)
+       (remote_open_1, extended_remote_attach_1, remote_wait_as)
+       (extended_remote_mourn_1): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (struct remote_state) <remote_desc>: New field.
+       (remote_desc): Remove.
+       (remote_threads_info, remote_threads_extra_info, remote_close)
+       (send_interrupt_sequence, remote_start_remote, remote_open_1)
+       (readchar, remote_xfer_partial, remote_rcmd, packet_command)
+       (remote_hostio_send_command, remote_file_put, remote_file_get)
+       (remote_file_delete, remote_can_async_p, remote_is_async_p)
+       (remote_async, remote_new_objfile, set_range_stepping): Update.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (remote_state): Now a pointer.
+       (get_remote_state_raw): Update.
+       (new_remote_state): New function.
+       (_initialize_remote): Use new_remote_state.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (remote_protocol_features): Now const.
+
+2013-08-14  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (crc32_table, crc32): Remove.
+       (remote_verify_memory): Use xcrc32.
+
+2013-08-13  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * value.h (create_internalvar_type_lazy): Adjust prototype
+       declaration.
+
+2013-08-13  Andrew Burgess  <aburgess@broadcom.com>
+
+       * common/format.c (parse_format_string): Don't allow '#' flag for
+       pointer arguments in format string.
+
+2013-08-13  Pierre Muller  <muller@sourceware.org>
+
+       * utils.c (init_page_info): Only call tgetnum function
+       if rl_get_screen_size did not return useful values.
+
+2013-08-12  Ali Anwar  <ali_anwar@codesourcery.com>
+
+       PR breakpoints/15117
+       * linespec.c (linespec_parse_basic): Check for convenience
+       variable or history value while parsing.
+
+2013-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       Revert implementation of gdbarch_gdb_signal_{to,from}_target for
+       AVR.
+       * avr-tdep.c: Remove include of "linux-tdep.h".  Remove enum with
+       different signals between the generic Linux kernel implementation
+       and AVR's.
+       (avr_linux_gdb_signal_from_target): Delete.
+       (avr_linux_gdb_signal_to_target): Delete.
+       (avr_gdbarch_init): Don't set gdbarch_gdb_signal_{to,from}_target.
+
+2013-08-09  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (create_addrmap_from_index): Ignore bad address table
+       entries.
+
+2013-08-09  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * linux-tdep.c: Define enum with generic signal numbers.
+       (linux_gdb_signal_from_target): New function.
+       (linux_gdb_signal_to_target): Likewise.
+       (linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+       methods to the functions above.
+       * linux-tdep.h (linux_gdb_signal_from_target): New prototype.
+       (linux_gdb_signal_to_target): Likewise.
+       * alpha-linux-tdep.c: Define new enum with signals different
+       from generic Linux kernel.
+       (alpha_linux_gdb_signal_from_target): New function.
+       (alpha_linux_gdb_signal_to_target): Likewise.
+       (alpha_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+       with the functions mentioned above.
+       * avr-tdep.c: Define enum with differences between Linux kernel
+       and AVR signals.
+       (avr_linux_gdb_signal_from_target): New function.
+       (avr_linux_gdb_signal_to_target): Likewise.
+       (avr_gdbarch_init): Set gdbarch_gdb_signal_{to,from}_target to
+       the functions mentioned above.
+       * sparc-linux-tdep.c: Define enum with differences between SPARC
+       and generic Linux kernel signal numbers.
+       (sparc32_linux_gdb_signal_from_target): New function.
+       (sparc32_linux_gdb_signal_to_target): Likewise.
+       (sparc32_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+       to the functions defined above.
+       * xtensa-linux-tdep.c: Define enum with differences between
+       Xtensa and Linux kernel generic signals.
+       (xtensa_linux_gdb_signal_from_target): New function.
+       (xtensa_linux_gdb_signal_to_target): Likewise.
+       (xtensa_linux_init_abi): Set gdbarch_gdb_signal_to_target
+       to the functions defined above.
+       * mips-linux-tdep.c: Define enum with differences between
+       signals in MIPS and Linux kernel generic ones.
+       (mips_gdb_signal_to_target): New function.
+       (mips_gdb_signal_from_target): Redefine to use new enum, handle
+       only different signals from the Linux kernel generic.
+       (mips_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
+       the functions defined above.
+       * mips-linux-tdep.h (enum mips_signals): Remove.
+
+2013-08-09  Pedro Alves  <palves@redhat.com>
+
+       * avr-tdep.c (XMALLOC): Delete macro.
+       * cli/cli-dump.c (XMALLOC): Delete macro.
+
+2013-08-09  Pedro Alves  <palves@redhat.com>
+
+       * cli/cli-dump.c: Don't include cli/cli-dump.h.
+       (scan_expression_with_cleanup, scan_filename_with_cleanup)
+       (fopen_with_cleanup, add_dump_command): Make static.
+       * cli/cli-dump.h: Delete file.
+       * Makefile.in (HFILES_NO_SRCDIR): Remove reference to
+       cli/cli-dump.h.
+
+2013-08-09  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (tfile_start): Show tilde-expanded filename in
+       error message.
+
+2013-08-09  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (save_breakpoints): Show tilde-expanded filename in
+       error message.
+
+2013-08-09  Pedro Alves  <palves@redhat.com>
+
+       * gcore.c (create_gcore_bfd): Don't use tilde_expand here.
+       (gcore_command): Use tilde_expand here, and when showing the
+       filename to the user, show the expanded version.
+
+2013-08-09  Yao Qi  <yao@codesourcery.com>
+
+       * stack.c (read_frame_arg): Set 'entryval_error' to NULL if
+       'entryval' is set.
+
+2013-08-08  Azat Khuzhin  <a3at.mail@gmail.com>  (tiny change)
+
+       * gcore.c (create_gcore_bfd): Use tilde_expand.
+
+2013-08-08  Yao Qi  <yao@codesourcery.com>
+
+       * frame.h (read_frame_local): Declare.
+       * mi/mi-cmd-stack.c (list_args_or_locals): Call
+       read_frame_local.
+       * stack.c (read_frame_local): New.
+
+2013-08-08  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmd-stack.c: Update comments to function
+       list_args_or_locals.
+
+2013-08-07  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/15028:
+       * dwarf2read.c (struct process_psymtab_comp_unit_data): New.
+       (process_psymtab_comp_unit_reader): Use it.
+       (process_psymtab_comp_unit): Update.  Add "pretend_language"
+       argument.
+       (dwarf2_build_psymtabs_hard): Update.
+       (scan_partial_symbols): Pass CU's language to
+       process_psymtab_comp_unit.
+
+2013-08-07  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dw2_get_primary_filename_reader): Remove.
+       (dwarf2_gdb_index_functions): Update.
+       * psymtab.c (find_symbol_file_from_partial): Remove.
+       (psym_functions): Update.
+       * symfile.h (struct quick_symbol_functions) <find_symbol_file>:
+       Remove.
+
+2013-08-07  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (set_initial_language): Look up "main" symbol
+       and use its language.
+       * symtab.c (find_main_filename): Remove.
+       * symtab.h (find_main_filename): Remove.
+
+2013-08-07  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (recursively_compute_inclusions): Add
+       "immediate_parent" argument.  Set symtab's "user" field
+       if not set.
+       (compute_symtab_includes): Update.
+
+2013-08-07  Tom Tromey  <tromey@redhat.com>
+
+       * linespec.c (convert_linespec_to_sals): Use maybe_add_address
+       when adding label symbols.
+
+2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * configure.tgt (powerpc64-*-aix*): Match powerpc64 running aix.
+       * configure.host (powerpc64-*-aix*): Likewise.
+
+2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * gdb_ptrace.h: Use ptrace64 instead of ptrace if HAVE_PTRACE64
+       is defined.
+       * rs6000-nat.c: Check for __ld_info64_ if compiling 64 BIT gdb.
+       (rs6000_ptrace32): Call ptrace64 instead of ptrace if present.
+       (rs6000_ptrace64): Call ptace64 instead of ptracex if present.
+       * configure.ac: Check for ptrace64.
+       * configure, config.in: Regenerate.
+
+2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
+           Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * aixthread.c: Call ptrace64 instead of ptracex if defined.
+       Call ptrace64 instead of ptrace if defined.
+       Add macro addr_ptr to take care of ptrace address argument.
+       (pdc_read_regs): Likewise.
+       (pdc_write_regs): Likewise.
+       (aix_thread_resume): Likewise.
+       (fetch_regs_kernel_thread): Likewise.
+       (store_regs_kernel_thread): Likewise.
+
+2013-08-07  Anton Blanchard  <anton@samba.org>
+
+       * MAINTAINERS: Add myself to Write After Approval.
+
+2013-08-05  Tom Tromey  <tromey@redhat.com>
+
+       * aix-thread.c (_initialize_aix_thread): Use
+       complete_target_initialization.
+       * bsd-uthread.c (_initialize_bsd_uthread): Use
+       complete_target_initialization.
+       * dec-thread.c (_initialize_dec_thread): Use
+       complete_target_initialization.
+       * ravenscar-thread.c (_initialize_ravenscar): Use
+       complete_target_initialization.
+       * sol-thread.c (_initialize_sol_thread): Use
+       complete_target_initialization.
+       * spu-multiarch.c (_initialize_spu_multiarch): Use
+       complete_target_initialization.
+
+2013-08-05  Tom Tromey  <tromey@redhat.com>
+
+       * ada-exp.y (write_var_or_type): Use bound_minimal_symbol.
+       * ada-lang.c (ada_lookup_simple_minsym): Return
+       bound_minimal_symbol.
+       * ada-lang.h (ada_lookup_simple_minsym): Update.
+       * c-exp.y (variable): Use lookup_bound_minimal_symbol.
+       * f-exp.y (variable): Use lookup_bound_minimal_symbol.
+       * go-exp.y (variable): Use lookup_bound_minimal_symbol.
+       * jv-exp.y (push_expression_name): Use lookup_bound_minimal_symbol.
+       * m2-exp.y (variable): Use lookup_bound_minimal_symbol.
+       * minsyms.c (msymbol_objfile): Remove.
+       (lookup_minimal_symbol_internal): New function, from
+       lookup_minimal_symbol.
+       (lookup_minimal_symbol): Rewrite using
+       lookup_minimal_symbol_internal.
+       (lookup_bound_minimal_symbol): New function.
+       * minsyms.h (msymbol_objfile): Remove.
+       (lookup_bound_minimal_symbol): Declare.
+       * p-exp.y (variable): Use lookup_bound_minimal_symbol.
+       * parse.c (write_exp_msymbol): Change parameter to a
+       bound_minimal_symbol.
+       (write_dollar_variable): Use lookup_bound_minimal_symbol.
+       * parser-defs.h (write_exp_msymbol): Update.
+       * printcmd.c (address_info): Use lookup_bound_minimal_symbol.
+       * symfile.c (simple_read_overlay_table): Use
+       lookup_bound_minimal_symbol.
+       * symtab.c (skip_prologue_sal): Don't use msymbol_objfile.
+       (search_symbols): Likewise.
+       (print_msymbol_info): Take a bound_minimal_symbol argument.
+       (symtab_symbol_info, rbreak_command): Update.
+       * symtab.h (struct symbol_search) <msymbol>: Change type
+       to bound_minimal_symbol.
+       * valops.c (find_function_in_inferior): Use
+       lookup_bound_minimal_symbol.
+       * value.c (value_fn_field): Use lookup_bound_minimal_symbol.
+
+2013-08-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * remote.c (cleanup_sigint_signal_handler): Rename the declaration
+       to ...
+       (async_cleanup_sigint_signal_handler): ... this.
+       (initialize_sigint_signal_handler): Remove declaration.
+       (handle_remote_sigint): Rename the declaration to ...
+       (async_handle_remote_sigint): ... this.
+       (handle_remote_sigint_twice): Rename the declaration to ...
+       (async_handle_remote_sigint_twice): ... this.
+       (async_remote_interrupt, async_remote_interrupt_twice)
+       (remote_interrupt): Remove the declarations.
+       (remote_interrupt_twice): Rename the declaration ...
+       (sync_remote_interrupt_twice): ... this.
+       (sigint_remote_twice_token): Rename the variable to ...
+       (async_sigint_remote_twice_token): ... this.
+       (sigint_remote_token): Rename the variable to ...
+       (async_sigint_remote_token): ... this.
+       (initialize_sigint_signal_handler): Rename the function to ...
+       (async_initialize_sigint_signal_handler): ... this.  Update the name
+       inside.
+       (handle_remote_sigint): Rename the function to ...
+       (async_handle_remote_sigint): ... this.  Update the names inside.
+       (handle_remote_sigint_twice): Rename the function to ...
+       (async_handle_remote_sigint_twice): ... this.  Update the names inside.
+       (cleanup_sigint_signal_handler): Rename the function to ...
+       (async_cleanup_sigint_signal_handler): ... this.
+       (remote_interrupt): Rename the function to ...
+       (sync_remote_interrupt): this.  Update the names inside.
+       (remote_interrupt_twice): Rename the function to ...
+       (sync_remote_interrupt_twice): this.  Update the names inside.
+       (remote_terminal_inferior, remote_terminal_ours, remote_wait_as)
+       (_initialize_remote): Update the names inside.
+
+2013-08-02  Tom Tromey  <tromey@redhat.com>
+
+       PR symtab/15719:
+       * breakpoint.c (update_watchpoint, watchpoint_check)
+       (watch_command_1): Update.
+       * eval.c (fetch_subexp_value): Add "preserve_errors"
+       parameter.
+       * ppc-linux-nat.c (check_condition): Update.
+       * value.h (fetch_subexp_value): Update.
+
+2013-08-02  Andrew Burgess  <aburgess@broadcom.com>
+
+       * mi/mi-interp.c (mi_interpreter_resume): Remove call to
+       add_file_handler.
+
+2013-08-01  Doug Evans  <dje@google.com>
+
+       PR symtab/15691
+       * dwarf2read.c (struct dwarf2_per_cu_data): New member tu_read.
+       (fill_in_sig_entry_from_dwo_entry): Reorganize asserts.
+       Add assert of sig_entry->dwo_unit == NULL.
+       (lookup_dwo_signatured_type): Don't assign TU to a DWO if the TU
+       had already been read.
+       (read_signatured_type): Set per_cu.tu_read.
+
+       PR symtab/15695
+       * valops.c (value_struct_elt): Add missing call to check_typedef.
+       (value_find_oload_method_list): Ditto.
+
+       * symtab.c (do_free_search_symbols_cleanup): Change arg to,
+       effectively, struct symbol_search **.
+       (make_cleanup_free_search_symbols): Change arg to struct
+       symbol_search **.  All callers updated.
+       (compare_search_syms): Compare symtab file name and block as well.
+       (search_symbols_equal): New function.
+       (sort_search_symbols_remove_dups): Renamed from sort_search_symbols.
+       New args new_head, new_tail.  Result is now void.  Remove dups after
+       sorting the symbols.
+       (search_symbols): Sort all found symbols once, after all have been
+       found, and remove duplicates.  Simplify cleanup tracking of result.
+       * symtab.h (make_cleanup_free_search_symbols): Update prototype.
+
+       Further workarounds for binutils/15021.
+       * dwarf2read.c (recursively_compute_inclusions): Change type of result
+       parameter to VEC (symtab_ptr) **.  New parameter all_type_symtabs.
+       Watch for duplicate symtabs coming from type units.
+       (compute_symtab_includes): Update call to
+       recursively_compute_inclusions. Build vector of included symtabs
+       instead of per_cus.
+       * symtab.h (symtab_ptr): New typedef.
+       (DEF_VEC_P (symtab_ptr)): New VEC type.
+       * linespec.c (symtab_p): Delete.  All uses updated to use symtab_ptr
+       instead.
+
+2013-08-01  Andrew Burgess  <aburgess@broadcom.com>
+
+       * cli/cli-script.c (script_from_file): Remove use of
+       error_pre_print.
+       * main.c (captured_main): Remove use of error_pre_print and
+       quit_pre_print.
+       * utils.c (error_pre_print, quit_pre_print): Remove.
+       * utils.h (error_pre_print, quit_pre_print): Likewise.
+
+2013-08-01  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Parse argv
+       with mi_getopt.
+       (mi_cmd_stack_list_variables): Likewise.
+
+2013-07-31  Andrew Burgess  <aburgess@broadcom.com>
+
+       * exceptions.c (deprecated_throw_reason): Remove.
+       * exceptions.h (deprecated_throw_reason): Remove.
+
 2013-07-31  Andrew Burgess  <aburgess@broadcom.com>
 
        * remote-mips.c (mips_error): Replace use of
 
 2013-05-20  Tom Tromey  <tromey@redhat.com>
 
-        * python/py-event.h (evpy_emit_event): Use
-        CPYCHECKER_STEALS_REFERENCE_TO_ARG.
-        * python/python-internal.h (CPYCHECKER_STEALS_REFERENCE_TO_ARG):
-        New macro.
+       * python/py-event.h (evpy_emit_event): Use
+       CPYCHECKER_STEALS_REFERENCE_TO_ARG.
+       * python/python-internal.h (CPYCHECKER_STEALS_REFERENCE_TO_ARG):
+       New macro.
 
 2013-05-20  Tom Tromey  <tromey@redhat.com>
 
 
 2013-05-13  Tom Tromey  <tromey@redhat.com>
 
-       PR gdb/15338:
+       PR gdb/15338:
        * dwarf2read.c (dwarf2_record_block_ranges): Ensure that the
        ranges section has been read.
 
 2013-04-01  Jiong Wang  <jiwang@tilera.com>
 
        * NEWS: Mention TILE-Gx in "New native configurations" and
-       "New targets" sections. 
+       "New targets" sections.
 
 2013-04-01  Doug Evans  <dje@google.com>
 
        * v850-tdep.c: (v850e2_register_name): Revise system register
        names to match current V850E2M architecture specifications.
        Update register number enum comments too.
-       
+
 2013-03-01  Jiong Wang  <jiwang@tilera.com>
            Pedro Alves  <palves@redhat.com>
 
This page took 0.055572 seconds and 4 git commands to generate.