gdb/ChangeLog:
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7c2ec949aea65e9068bb3e59668ecdafe4b2ff18..168866332fb766e87bf9059008e4f7971c345d8d 100644 (file)
@@ -1,3 +1,244 @@
+2010-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * f-exp.y: Add new production to recognize the `logical*8' type.
+       (LOGICAL_S8_KEYWORD): New token.
+       * f-lang.c (enum f_primitive_types)
+       <f_primitive_type_logical_s8>: New field.
+       (f_language_arch_info): Handling `logical*8' type.
+       (build_fortran_types): Building `logical*8' type.
+       * f-lang.h (struct builtin_f_type) <builtin_logical_s8>: New field.
+
+2010-04-19  Doug Evans  <dje@google.com>
+
+       * ser-base.c (generic_readchar): Watch for EOF in read of error_fd.
+       * ser-pipe.c (pipe_open): Fix file descriptor leaks.
+       (pipe_close): Ditto.
+
+2010-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * configure.tgt (x86_64-*-mingw*): Set BUILD_GDBSERVER to yes.
+
+2010-04-19  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * windows-tdep.c (windows_get_tlb_type): Change current_seh.handle
+       type to void function.
+
+2010-04-19  Stan Shebs  <stan@codesourcery.com>
+           Vladimir Prus  <vladimir@codesourcery.com>
+
+       * tracepoint.c (tfind_1): Add missing newline, report exit from
+       tfind mode as such.
+       * target.c (update_current_target): Make default
+       to_trace_find return -1.
+
+2010-04-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * objc-lang.c (find_methods): Move symname check up.
+
+2010-04-19  Pedro Alves  <pedro@codesourcery.com>
+
+       * ada-lang.c (print_recreate_exception)
+       <ex_catch_exception_unhandled>: It's "catch exception unhandled",
+       not "catch unhandled".
+
+2010-04-19  Pedro Alves  <pedro@codesourcery.com>
+
+       PR breakpoints/8554.
+
+       Implement `save-breakpoints'.
+
+       * breakpoint.c (save_cmdlist): New.
+       (breakpoint_set_cmdlist, breakpoint_show_cmdlist): Moved up close
+       to save_cmdlist.
+       (print_recreate_catch_fork): New.
+       (catch_fork_breakpoint_ops): Install it.
+       (print_recreate_catch_vfork): New.
+       (catch_vfork_breakpoint_ops): Install it.
+       (print_recreate_catch_syscall): New.
+       (catch_syscall_breakpoint_ops): Install it.
+       (print_recreate_catch_exec): New.
+       (catch_exec_breakpoint_ops): Install it.
+       (print_recreate_exception_catchpoint): New.
+       (gnu_v3_exception_catchpoint_ops): Install it.
+       (save_breakpoints): New, based on tracepoint_save_command, but
+       handle all breakpoint types.
+       (save_breakpoints_command): New.
+       (tracepoint_save_command): Rename to...
+       (save_tracepoints_command): ... this, and reimplement using
+       save_breakpoints.
+       (save_command): New.
+       (_initialize_breakpoints): Install the "save" command prefix.
+       Install the "save breakpoints" command.  Make "save-tracepoints" a
+       deprecated alias for "save tracepoints".
+       * breakpoint.h (struct breakpoint_ops): New field `print_recreate'.
+       * ada-lang.c (print_recreate_exception): New.
+       (print_recreate_catch_exception): New.
+       (catch_exception_breakpoint_ops): Install it.
+       (print_recreate_catch_exception_unhandled): New.
+       (catch_exception_unhandled_breakpoint_ops): Install it.
+       (print_recreate_catch_assert): New.
+       (catch_assert_breakpoint_ops): Install it.
+
+       * NEWS: Mention the new `save breakpoints' command.  Mention the
+       new `save tracepoints' alias and that `save-tracepoints' is now
+       deprecated.
+
+2010-04-18  Pedro Alves  <pedro@codesourcery.com>
+
+       PR tui/9217
+
+       * tui/tui-out.c: Include cli-out.h.
+       (tui_table_begin, tui_table_body, tui_table_end, tui_table_header)
+       (tui_begin, tui_end, tui_field_int, tui_field_skip)
+       (tui_field_string, tui_field_fmt, tui_spaces, tui_text)
+       (tui_message, tui_wrap_hint, tui_flush): Delete forward
+       declarations.
+       (struct ui_out_data): Rename to...
+       (struct tui_ui_out_data): ... this.  Remove `stream' and
+       `suppress_output' fields, and inherit cli_ui_out_data.
+       (tui_out_data): New typedef.
+       (tui_ui_out_impl): Don't initialize fields staticaly.
+       (tui_table_begin, tui_table_body, tui_table_end, tui_table_header)
+       (tui_begin, tui_end): Delete.
+       (tui_field_int): Adjust to delegate most work to the base type.
+       (tui_field_skip): Delete.
+       (tui_field_string, tui_field_fmt): Adjust comment.  Adjust to
+       delegate most work to the base type.
+       (tui_spaces): Delete.
+       (tui_text): Adjust to delegate most work to the base type.
+       (tui_message): Delete.
+       (tui_wrap_hint): Delete.
+       (tui_flush): Delete.
+       (out_field_fmt): Delete.
+       (field_separator): Delete.
+       (tui_out_new): Adjust to initialize the base type.
+       (_initialize_tui_out): Initialize tui_ui_out_impl.
+       * cli-out.c (struct ui_out_data): Moved out to cli-out.h, renamed
+       cli_ui_out_data.
+       (cli_out_data): Adjust.
+       (cli_ui_out_impl): Make extern.
+       (cli_table_header, cli_field_int, cli_field_skip): Use
+       uo_field_string instead of cli_field_string.
+       (cli_redirect): Adjust to use cli_out_data.
+       (cli_out_data_ctor): New.
+       (cli_out_new): Use it.
+       * cli-out.h (struct ui_file): Remove forward declaration.
+       (struct cli_ui_out_data): New, moved from cli-out.c, and renamed.
+       (cli_ui_out_impl): Declare.
+       (cli_out_data_ctor): Declare.
+       * ui-out.c (struct ui_out) <data>: Change type to void pointer.
+       (uo_field_string): No longer static.
+       (ui_out_data): Change return type to void pointer.
+       (ui_out_new): Change `data' parameter type to void pointer.
+       * ui-out.h (struct ui_out_data): Don't forward declare.
+       (ui_out_data): Change return type to void pointer.
+       (ui_out_new): Change `data' parameter type to void pointer.
+       (uo_field_string): Declare.
+
+2010-04-17  Pedro Alves  <pedro@codesourcery.com>
+
+       * ui-file.c (tee_file_isatty): Return whether `tee->one' is a tty,
+       instead of always false.
+
+2010-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR corefiles/11511
+       * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Support
+       orig_rax.
+
+2010-04-17  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (watchpoints_triggered): Use
+       is_hardware_watchpoint.
+       (watchpoints_triggered): Ditto.
+       (bpstat_check_location): Use is_watchpoint and
+       is_hardware_watchpoint.
+       (bpstat_check_watchpoint): Use is_watchpoint and
+       is_hardware_watchpoint.
+       (bpstat_stop_status): Fix comment.
+       (user_settable_breakpoint): Use is_watchpoint.
+       (hw_watchpoint_used_count): Use is_hardware_watchpoint.
+       (disable_watchpoints_before_interactive_call_start): Use
+       is_watchpoint.
+       (enable_watchpoints_after_interactive_call_stop): Use
+       is_watchpoint.
+       (clear_command): Use is_watchpoint.
+       (do_enable_breakpoint): Use is_watchpoint.
+
+2010-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+       * solib-frv.c (enable_break1_done): Delete.
+       (enable_break2): Do not check enable_break1_done.  Move the
+       enable_break2_done setting and call to
+       remove_solib_event_breakpoints() to the end.  Return without
+       warning when the contents of _dl_debug_addr are 0.
+       (enable_break): Do not set enable_break1_done.
+       (frv_clear_solib): Likewise.
+
+2010-04-16  Kevin Buettner  <kevinb@redhat.com>
+
+       * m32c-tdep.c (m32c_m16c_address_to_pointer): Print warning
+       instead of an error if no PLT entry is found.  Return a
+       potentially useful result.
+       (m32c_m16c_pointer_to_address): Add code to search for function
+       address when no .plt entry is found.
+
+2010-04-16  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (trace_variable_command): Run a cleanup.
+
+2010-04-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * p-lang.c (pascal_one_char): Do not restrict C to 0..255 range.
+
+2010-04-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       Support for Windows OS Thread Information Block.
+       * NEWS: Document new feature.
+       * remote.c (PACKET_qGetTIBAddr): New enum element.
+       (remote_get_tib_address): New function.
+       (init_remote_ops): Set to_get_tib_address field
+       to remote_get_tib_address.
+       (_initialize_remote): Add add_packet_config_cmd
+       for PACKET_qGetTIBAddr.
+       * target.c (update_current_target): Set default value for
+       new to_get_tib_address field.
+       * target.h (target_ops): New field to_get_tib_address.
+       (target_get_tib_address): New macro.
+       * windows-nat.c (thread_info): Add thread_local_base field.
+       (windows_add_thread): Add tlb argument of type 'void *'.
+       (fake_create_process): Adapt windows_add_thread call.
+       (get_windows_debug_event): Idem.
+       (windows_get_tib_address): New function.
+       (init_windows_ops): Set to_get_tib_address field
+       to remote_get_tib_address.
+       (_initialize_windows_nat): Replace info_w32_cmdlist
+       initialization by a call to init_w32_command_list.
+       (info_w32_command, info_w32_cmdlist): Removed from here...
+       to windows-tdep.c file.
+       * windows-tdep.h (info_w32_cmdlist): Declare.
+       (init_w32_command_list): New external function 
+       declaration.
+       * windows-tdep.c: Add several headers.
+       (info_w32_cmdlist): to here, made global.
+       (thread_information_32): New struct.
+       (thread_information_64): New struct.
+       (TIB_NAME): New char array.
+       (MAX_TIB32, MAX_TIB64, FULL_TIB_SIZE): New constants.
+       (maint_display_all_tib): New static variable.
+       (windows_get_tlb_type): New function.
+       (tlb_value_read, tlb_value_write): New functions.
+       (tlb_value_funcs): New static struct.
+       (tlb_make_value): New function.
+       (display_one_tib): New function.
+       (display_tib): New function.
+       (show_maint_show_all_tib):New function.
+       (info_w32_command): Moved from windows-nat.c.
+       (init_w32_command_list): New function.
+       (_initialize_windows_tdep): New function.
+       New "maint set/show show-all-tib" command
+       New "$_tlb" internal variable.
+
 2010-04-16  Joel Brobecker  <brobecker@adacore.com>
 
        * tui/tui-regs.c (tui_display_register): Add comment about
This page took 0.026307 seconds and 4 git commands to generate.