gdb/testsuite/gdb.base/varargs.exp: Remove ARM KFAILs
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6a6708a7de6b79577075f6bf144f598c0a673c4d..0ee72df240d2a812fc05b5af13c7bf5d31f66889 100644 (file)
@@ -1,3 +1,435 @@
+2014-07-27  Doug Evans  <xdje42@gmail.com>
+
+       * guile/scm-param.c (pascm_print_param_smob): Fix output.
+
+2014-07-27  Doug Evans  <xdje42@gmail.com>
+
+       * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
+
+2014-07-26  Ludovic Courtès  <ludo@gnu.org>
+           Doug Evans  <xdje42@gmail.com>
+
+       PR guile/17146
+       * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
+       (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
+       * configure.ac: Try to use guild to compile an scm file, if it fails
+       then disable guile support.
+       * configure: Regenerate.
+       * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
+       GUILE_FILE_LIST.
+       (GUILE_COMPILED_FILES): New variable.
+       (GUILE_FILES) Update.
+       (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
+       (stamp-guile): Compile scm files.
+       * guile/guile.c (boot_guile_support): New function.
+       (standard_throw_args_p): New function.
+       (print_standard_throw_error, print_throw_error): New functions.
+       (handle_boot_error): New function.
+       (initialize_scheme_side): Rewrite to call boot_guile_support.
+       * guile/lib/gdb/boot.scm: Update %load-compiled-path.  Load gdb.go.
+       * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
+
+2014-07-26  Ludovic Courtès  <ludo@gnu.org>
+           Doug Evans  <xdje42@gmail.com>
+
+       PR guile/17146
+       * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
+       * guile/lib/gdb/support.scm: New file.
+       * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
+       * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
+       All uses updated.
+       * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
+       All uses updated.
+       (%assert-type): Ditto, and renamed to assert-type.
+       (%exception-print-style): Delete.
+
+2014-07-26  Doug Evans  <xdje42@gmail.com>
+
+       PR build/17105
+       * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
+       * configure: Regenerate.
+       * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
+       PYTHON_FILES.
+       (PYTHON_FILES): New variable.
+       (GUILE_FILE_LIST): Renamed from GUILE_FILES.
+       (GUILE_FILES): New variable.
+       (stamp-python, install-python, uninstall-python): Handle empty
+       file list.
+       (stamp-guile, install-guile, uninstall-guile): Ditto.
+
+2014-07-26  Doug Evans  <xdje42@gmail.com>
+
+       PR guile/17177
+       * guile/lib/gdb.scm (pretty-printers): Export.
+       (set-pretty-printers!): Export.
+       * guile/lib/gdb/printing.scm (gdb module): Update.
+       (prepend-pretty-printer!, append-pretty-printer!): Update.
+       * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
+       (pretty_printer_list_var): Delete.
+       (pretty_printer_list): New static global.
+       (gdbscm_pretty_printers): New function.
+       (gdbscm_set_pretty_printers_x): New function.
+       (ppscm_find_pretty_printer_from_gdb): Update.
+       (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
+       (gdbscm_initialize_pretty_printers): Update.
+
+2014-07-26  Doug Evans  <xdje42@gmail.com>
+
+       PR 17185
+       * configure.ac: Add check for header gc/gc.h.
+       Add check for function setenv.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
+
+2014-07-25  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
+       variation in gdbarch matching.
+
+2014-07-25  Tom Tromey  <tromey@redhat.com>
+
+       * exec.c (using_exec_ops): Remove.
+       (exec_close_1): Update.  Remove extraneous block, reindent.
+       (add_target_sections): Use target_is_pushed.
+
+2014-07-25  Pedro Alves  <palves@redhat.com>
+
+       * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
+       * monitor.c (monitor_create_inferior): Likewise.
+       * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
+       * remote-sim.c (gdbsim_create_inferior): Likewise.
+       * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
+       * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
+       * windows-nat.c (do_initial_windows_stuff): Likewise.
+
+2014-07-25  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention signal passing and "signal" command changes.
+       * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
+       comment.
+       * breakpoint.c (until_break_command): Adjust clear_proceed_status
+       call.
+       * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
+       * infcmd.c (proceed_thread_callback, continue_1, step_once)
+       (jump_command): Adjust clear_proceed_status call.
+       (signal_command): Warn if other thread that are resumed have
+       signals that will be delivered.  Adjust clear_proceed_status call.
+       (until_next_command, finish_command)
+       (proceed_after_attach_callback, attach_command_post_wait)
+       (attach_command): Adjust clear_proceed_status call.
+       * infrun.c (proceed_after_vfork_done): Likewise.
+       (proceed_after_attach_callback): Adjust comment.
+       (clear_proceed_status_thread): Clear stop_signal if not in pass
+       state.
+       (clear_proceed_status_callback): Delete.
+       (clear_proceed_status): New 'step' parameter.  Only clear the
+       proceed status of threads the command being prepared is about to
+       resume.
+       (proceed): If passed in an explicit signal, override stop_signal
+       with it.  Don't pass the last stop signal to the thread we're
+       resuming.
+       (init_wait_for_inferior): Adjust clear_proceed_status call.
+       (switch_back_to_stepped_thread): Clear the signal if it should not
+       be passed.
+       * infrun.h (clear_proceed_status): New 'step' parameter.
+       (user_visible_resume_ptid): Add comment.
+       * linux-nat.c (linux_nat_resume_callback): Don't check whether the
+       signal is in pass state.
+       * remote.c (append_pending_thread_resumptions): Likewise.
+       * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
+
+2014-07-25  Tom Tromey  <tromey@redhat.com>
+
+       * target.h (target_stopped_data_address)
+       (target_watchpoint_addr_within_range): Use "->", not ".".  Fix
+       parentheses.
+
+2014-07-25  Pierre Langlois  <pierre.langlois@embecosm.com>
+
+       * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
+       comments.
+       (avr_pointer_to_address): Likewise.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * monitor.c (compile_pattern): Update.
+       * target.h (struct target_ops) <to_shortname, to_longname,
+       to_doc>: Now const.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-decode.c (add_cmd, add_prefix_cmd)
+       (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
+       (add_info_alias, add_com): Make "doc" const.
+       (print_doc_line): Make "str" const.
+       (delete_cmd): Update.
+       * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
+       (print_doc_line): Update.
+       * cli/cli-script.c (document_command): Update.
+       * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
+       (add_com, add_info, add_info_alias): Update.
+       * guile/scm-cmd.c (cmdscm_destroyer): Update.
+       * python/py-cmd.c (cmdpy_destroyer): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
+       (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
+       (help_cmd_list): Constify.
+       (lookup_cmd): Update.
+       * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
+       const.
+       (help_cmd_list, apropos_cmd): Update.
+       * cli/cli-script.c (show_user): Update.
+       * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
+       * cli/cli-setshow.h (cmd_show_list): Update.
+       * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
+       (cmd_show_list): Update.
+       * guile/scm-cmd.c (cmdscm_destroyer): Update.
+       * python/py-cmd.c (cmdpy_destroyer): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
+       * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
+       const.
+       * command.h (deprecate_cmd): Update.
+       * maint.c (maintenance_do_deprecate): Add casts.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-decode.c (help_cmd): Make parameter "const".
+       * cli/cli-decode.h (help_cmd): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * stack.c (up_silently_base, down_silently_base): Make argument
+       const.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * solib.c (solib_add): Make "pattern" const.
+       * solib.h (solib_add): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * remote.c (remote_serial_open, print_packet, putpkt)
+       (putpkt_binary): Constify.
+       * remote.h (putpkt): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * monitor.c (monitor_open): Make "args" const.
+       * monitor.h (monitor_open): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * maint.c (match_bfd_flags): Make "string" const.
+       (print_bfd_section_info): Remove casts.
+       (print_objfile_section_info): Make "string" const.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * inf-child.c (inf_child_open_target): Make "arg" const.
+       * inf-child.h (inf_child_open_target): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * environ.c (unset_in_environ): Make "var" const.
+       * environ.h (unset_in_environ): Update.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
+       Make "cmd" const.
+       (scan_filename_with_cleanup): Likewise.
+       (dump_memory_to_file, dump_value_to_file, restore_binary_file):
+       Make arguments const.
+       (restore_command): Update.
+
+2014-07-24  Pedro Alves  <palves@redhat.com>
+
+       * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+           Gary Benson  <gbenson@redhat.com>
+
+       * nat/linux-ptrace.c (additional_flags): New global.
+       (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
+       additional_flags; don't check GDBSERVER.
+       (linux_ptrace_set_additional_flags): New function.
+       * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
+       Declare.
+       * linux-nat.c (_initialize_linux_nat): Call
+       linux_ptrace_set_additional_flags.
+
+2014-07-24  Tom Tromey  <tromey@redhat.com>
+
+       * make-target-delegates (munge_type, write_debugmethod): New
+       functions.
+       (debug_names): New global.
+       ($TARGET_DEBUG_PRINTER): New global.
+       (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
+       name.
+       Write debug methods.  Generate init_debug_target.
+       * target-debug.h: New file.
+       * target-delegates.c: Rebuild.
+       * target.c: Include target-debug.h.
+       (debug_target): Hoist definition.
+       (target_kill, target_get_section_table, target_memory_map)
+       (target_flash_erase, target_flash_done, target_detach)
+       (target_disconnect, target_wait, target_resume)
+       (target_pass_signals, target_program_signals, target_follow_fork)
+       (target_mourn_inferior, target_search_memory)
+       (target_thread_address_space, target_close)
+       (target_find_new_threads, target_core_of_thread)
+       (target_verify_memory, target_insert_mask_watchpoint)
+       (target_remove_mask_watchpoint): Remove targetdebug code.
+       (debug_to_post_attach, debug_to_prepare_to_store)
+       (debug_to_files_info, debug_to_insert_breakpoint)
+       (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
+       (debug_to_region_ok_for_hw_watchpoint)
+       (debug_to_can_accel_watchpoint_condition)
+       (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
+       (debug_to_watchpoint_addr_within_range)
+       (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
+       (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
+       (debug_to_terminal_init, debug_to_terminal_inferior)
+       (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
+       (debug_to_terminal_save_ours, debug_to_terminal_info)
+       (debug_to_load, debug_to_post_startup_inferior)
+       (debug_to_insert_fork_catchpoint)
+       (debug_to_remove_fork_catchpoint)
+       (debug_to_insert_vfork_catchpoint)
+       (debug_to_remove_vfork_catchpoint)
+       (debug_to_insert_exec_catchpoint)
+       (debug_to_remove_exec_catchpoint, debug_to_has_exited)
+       (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
+       (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
+       (setup_target_debug): Call init_debug_target.
+       * target.h (TARGET_DEBUG_PRINTER): New macro.
+       (struct target_ops) <to_resume, to_wait, to_pass_signals,
+       to_program_signals>: Use TARGET_DEBUG_PRINTER.
+
+2014-07-24  Gary Benson  <gbenson@redhat.com>
+
+       * exceptions.h (throw_vfatal): Renamed to...
+       (throw_vquit): New declaration.
+       (throw_quit): Likewise.
+       * exceptions.c (throw_vfatal): Renamed to...
+       (throw_vquit): New function.
+       (throw_quit): Likewise.
+       (throw_error): Call throw_verror rather than throw_it.
+       * utils.h (vfatal): Removed.
+       (fatal): Likewise.
+       * utils.c (vfatal): Removed.
+       (fatal): Likewise.
+       (internal_verror): Replaced call to fatal with call to throw_quit.
+       (quit): Replaced calls to fatal with calls to throw_quit.
+
+2014-07-23  Ajit Agarwal <ajitkum@xilinx.com>
+
+       * microblaze-tdep.c (microblaze_fetch_instruction): Use of
+       target_read_code.
+
+2014-07-23  Chen Gang <gang.chen.5i5j@gmail.com>
+
+       * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
+       less than zero in conditional expression.
+
+2014-07-23  Tom Tromey  <tromey@redhat.com>
+
+       * make-target-delegates ($ARGS_PART): Match trailing close paren.
+       ($INTRO_PART): Don't match whitespace.
+       ($METHOD_TRAILER): Move earlier.  Remove trailing semicolon and
+       argument matching.
+       ($METHOD): Add $METHOD_TRAILER.
+       (trim): Rewrite.
+       (scan_target_h): New sub.
+       Change main loop not to collect state.
+       * target-delegates.c: Rebuild.
+
+2014-07-23  Gary Benson  <gbenson@redhat.com>
+
+       * cp-support.c (gdb_demangle): Fix build on systems without
+       sigaltstack.
+
+2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
+       for reference entry value target data value.
+
+2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * stack.c (read_frame_arg): Verify value_optimized_out before calling
+       value_available_contents_eq.
+
+2014-07-22  Pedro Alves  <palves@redhat.com>
+
+       * value.c (allocate_optimized_out_value): Don't mark value as
+       non-lazy.
+
+2014-07-22  Jiong Wang  <jiong.wang@arm.com>
+
+       * MAINTAINERS (Write After Approval): Update my email address.
+
+2014-07-20  Doug Evans  <dje@google.com>
+
+       PR server/17147
+       * remote.c (putpkt_binary): Add text to error message.
+
+2014-07-20  Yao Qi  <yao@codesourcery.com>
+
+       * eval.c: Remove "Chill" from comments.
+       * gdbtypes.h: Likewise.
+       * symtab.h: Likewise.
+
+2014-07-20  Yao Qi  <yao@codesourcery.com>
+
+       * std-operator.def: Update comments to TERNOP_SLICE.
+
+2014-07-20  Yao Qi  <yao@codesourcery.com>
+
+       * std-operator.def: Remove BINOP_RANGE.
+       * breakpoint.c (watchpoint_exp_is_const): Update.
+       * expprint.c (dump_subexp_body_standard): Likewise.
+       * eval.c (init_array_element): Remove dead code.
+       (evaluate_subexp_standard): Likewise.
+
+2014-07-20  Yao Qi  <yao@codesourcery.com>
+
+       * std-operator.def: Remove BINOP_IN.
+       * breakpoint.c (watchpoint_exp_is_const): Update.
+       * eval.c (evaluate_subexp_standard): Likewise.
+       * expprint.c (dump_subexp_body_standard): Likewise.
+
+2014-07-19  Ajit Agarwal  <ajitkum@xilinx.com>
+
+       * microblaze-tdep.c (microblaze_register_names): Add
+       the rshr and rslr register names.
+       (microblaze_gdbarch_init): Use of tdesc_has_registers.
+       Use of tdesc_find_feature. Use of tdesc_data_alloc.
+       Use of tdesc_numbered_register. Use of
+       microblaze_register_g_packet_guesses. Use of
+       tdesc_use_registers. Use of set_gdbarch_register_type.
+       (microblaze_register_g_packet_guesses): New.
+       * microblaze-tdep.h (microblaze_reg_num): Add
+       field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
+       MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
+       (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
+       * features/microblaze-core.xml: New file.
+       * features/microblaze-stack-protect.xml: New file.
+       * features/microblaze-with-stack-protect.c: New file.
+       * features/microblaze-with-stack-protect.xml: New file.
+       * features/microblaze.xml: New file.
+       * features/microblaze.c: New file.
+       * features/Makefile (microblaze-with-stack-protect): Add
+       microblaze-with-stack-protect microblaze and microblaze-expedite.
+       * regformats/microblaze-with-stack-protect.dat: New file.
+       * regformats/microblaze.dat: New file.
+       * doc/gdb.texinfo (MicroBlaze Features): Added.
+
 2014-07-18  Tom Tromey  <tromey@redhat.com>
 
        * exec.c (exec_ops): Now static.
This page took 0.027045 seconds and 4 git commands to generate.