* infcmd.c (all_registers_info, nexti_command, stepi_command)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 28008da560599340d595f2b581fc49b7c7f0db9f..a43a218c7ac4eec244290138216074fd0c83f819 100644 (file)
@@ -1,3 +1,350 @@
+2012-12-18  Tom Tromey  <tromey@redhat.com>
+
+       * infcmd.c (all_registers_info, nexti_command, stepi_command)
+       (continue_command, interrupt_target_command): Now static.
+       (registers_info): Remove declaration.
+       * inferior.h (all_registers_info, nexti_command, stepi_command)
+       (continue_command, interrupt_target_command): Don't declare.
+
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (apropos_command): Now static.
+
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (dprintf_command): Now static.
+
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (init.c): Declare initialize_all_files;
+       don't include call-cmds.h.
+       * call-cmds.h: Remove.
+       * symtab.c: Don't include call-cmds.h.
+       * top.c: Don't include call-cmds.h.  Declare
+       initialize_all_files.
+
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (list_overlays_command, map_overlay_command)
+       (unmap_overlay_command): Now static.
+
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (_initialize_cli_cmds): Remove "document",
+       "define", "while", and "if" commands.
+       * cli/cli-script.c (while_command, if_command, define_command)
+       (document_command): Now static.
+       (_initialize_cli_script): New function.
+       * cli/cli-script.h (while_command, if_command, define_command)
+       (document_command): Don't declare.
+
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * cli/cli-cmds.c (_initialize_cli_cmds): New function.
+       (init_cli_cmds): Move most code into new function.
+
+2012-12-12  Tom Tromey  <tromey@redhat.com>
+
+       * minsyms.c (lookup_solib_trampoline_symbol_by_pc): Now static.
+       * minsyms.h (lookup_solib_trampoline_symbol_by_pc): Don't
+       declare.
+
+2012-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178.
+       * osabi.c (gdb_osabi_names): Add entry for GDB_OSABI_LYNXOS178.
+       * xcoffread.c (xcoff_get_core_n_import_files): New function.
+       (xcoff_get_n_import_files): New function.
+       * xcoffread.h (xcoffread.h): Add declaration.
+       * rs6000-aix-tdep.c: #include "xcoffread.h".
+       (rs6000_aix_osabi_sniffer): Do not return GDB_OSABI_AIX for
+       XCOFF executables that do not depend on any shared library.
+       * rs6000-lynx178-tdep.c: New file.
+       * configure.tgt: Add powerpc-*-lynx*178 handling.
+       * Makefile.in (ALL_TARGET_OBS): Add rs6000-lynx178-tdep.o.
+       (ALLDEPFILES): Add rs6000-lynx178-tdep.c.
+
+2012-12-18  Hui Zhu  <hui_zhu@mentor.com>
+
+       * ui-file.c (ui_file): Add to_fseek.
+       (ui_file_new): Call set_ui_file_fseek.
+       (null_file_fseek, ui_file_fseek, set_ui_file_fseek,
+        stdio_file_fseek): New functions.
+       (stdio_file_new): Call set_ui_file_fseek.
+       * ui-file.h (ui_file_fseek_ftype): New typedef.
+       (set_ui_file_fseek, ui_file_fseek): New externs.
+
+2012-12-18  Hui Zhu  <hui_zhu@mentor.com>
+
+       * ui-file.c (set_ui_file_flush): Change flush to flush_ptr.
+       (set_ui_file_isatty): Change isatty to isatty_ptr.
+       (set_ui_file_rewind): Change rewind to rewind_ptr.
+       (set_ui_file_put): Change put to put_ptr.
+       (set_ui_file_write): Change write to write_ptr.
+       (set_ui_file_write_async_safe): Change write_async_safe to
+       write_async_safe_ptr.
+       (set_ui_file_read): Change read to read_ptr.
+       (set_ui_file_fputs): Change fputs to fputs_ptr.
+       (set_ui_file_data): Change delete to delete_ptr.
+
+2012-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * solib-darwin.c (darwin_current_sos): Fix indentation.
+       (darwin_read_exec_load_addr): New function.
+       (darwin_solib_create_inferior_hook): Rebase executable.
+       * objfiles.c (objfile_rebase1, objfile_rebase): New functions.
+       * objfiles.h (objfile_rebase1, objfile_rebase): Add prototypes.
+
+2012-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add errno.
+       * gnulib/import/errno.in.h: Import.
+       * gnulib/import/m4/errno_h.m4: Import.
+       * gnulib/aclocal.m4: Regenerate.
+       * gnulib/configure: Regenerate.
+       * gnulib/import/Makefile.am: Update.
+       * gnulib/import/Makefile.in: Update.
+       * gnulib/import/m4/gnulib-cache.m4: Update.
+       * gnulib/import/m4/gnulib-comp.m4: Update.
+
+2012-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
+       8d5bd1402003bd0153984b138735adf537d960b0.
+       * gnulib/aclocal.m4, configure, config.in: Regenerate.
+       * gnulib/import/m4/extern-inline.m4: Import.
+       * gnulib/import/wctype-h.c: Import.
+       * gnulib/import/Makefile.am: Update.
+       * gnulib/import/Makefile.in: Update.
+       * gnulib/import/alloca.in.h: Update.
+       * gnulib/import/extra/snippet/warn-on-use.h: Update.
+       * gnulib/import/localcharset.c: Update.
+       * gnulib/import/m4/fcntl-o.m4: Update.
+       * gnulib/import/m4/gnulib-cache.m4: Update.
+       * gnulib/import/m4/gnulib-comp.m4: Update.
+       * gnulib/import/m4/wctype_h.m4: Update.
+       * gnulib/import/stdbool.in.h: Update.
+       * gnulib/import/verify.h: Update.
+       * gnulib/import/wctype.in.h: Update.
+
+2012-12-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * gnulib/update-gnulib.sh: Add call to autoheader.
+
+2012-12-17  Tom Tromey  <tromey@redhat.com>
+
+       * top.c (xgdb_verbose): Remove.
+
+2012-12-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * skip.c (skip_function_command, skip_file_command, skip_info): Remove
+       unused forward declarations.
+       (skip_file_command): Make variables symtab and filename targets const.
+       Use proper 0 vs. NULL constant everywhere.
+       (skip_function_command): Use proper 0 vs. NULL constant everywhere.
+       Include empty line after declarations.  Use GNU spacing in a comment.
+       Do not use strlen for end of string check.
+       (skip_info): Use proper 0 vs. NULL constant everywhere.  Add column 5
+       comments.
+       (skip_enable_command, skip_disable_command, skip_delete_command)
+       (add_skiplist_entry): Use proper 0 vs. NULL constant everywhere.
+       (function_pc_is_marked_for_skip): Make variable filename target const.
+       Use proper 0 vs. NULL constant everywhere.  Fix GNU non-compliant
+       comment formatting.
+       (skip_re_set): Add empty line after function comment.  Use proper 0 vs.
+       NULL constant everywhere.  Include empty line after declarations.  Make
+       variable symtab target const.  Do not use strlen for end of string
+       check.
+
+2012-12-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * breakpoint.c (clear_command): Remove variable sal_name_len and its
+       initialization, remove it from the compare_filenames_for_search call.
+       * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
+       name_len and its initialization, remove it from the
+       compare_filenames_for_search calls.
+       * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
+       * symtab.c (compare_filenames_for_search): Remove the search_len
+       parameter, update the function comment, new variable search_len
+       initialized from SEARCH_NAME.
+       (iterate_over_some_symtabs): Remove variable name_len and its
+       initialization, remove it from the compare_filenames_for_search calls.
+       * symtab.h (compare_filenames_for_search): Remove the search_len
+       parameter, 
+
+2012-12-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * Makefile.in (SFILES): Move ravenscar-thread.c from here...
+       (ALLDEPFILES): ... to there.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * configure.tgt (sparc-*-*): Add missing '\' in gdb_target_ops.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * ppc-ravenscar-thread.h, ppc-ravenscar-thread.c: New files.
+       * Makefile.in (ALL_TARGET_OBS): Add ppc-ravenscar-thread.o.
+       (HFILES_NO_SRCDIR): Add ppc-ravenscar-thread.h.
+       (ALLDEPFILES): Add ppc-ravenscar-thread.c.
+       * configure.tgt: Add ravenscar-thread.o and ppc-ravenscar-thread.o
+       to gdb_target_obs for every target that uses rs6000-tdep.o.
+       * rs6000-tdep.c: #include "ppc-ravenscar-thread.h".
+       (rs6000_gdbarch_init): Call register_e500_ravenscar_ops
+       or register_ppc_ravenscar_ops.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * sparc-ravenscar-thread.h: SPARC_RAVENSCAR_THREAD_H renames
+       RAVENSCAR_SPARC_THREAD_H.
+       * sparc-ravenscar-thread.c: Rename all global entities
+       whose name is uses "ravenscar_sparc" as the prefix to use
+       "sparc_ravenscar" instead.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * sparc-ravenscar-thread.h: Renames ravenscar-sparc-thread.h.
+       * sparc-ravenscar-thread.c: Renames ravenscar-sparc-thread.c.
+       Adjust sparc-ravenscar-thread.h #include.
+       * sparc-tdep.c: Adjust sparc-ravenscar-thread.h #include
+       accordingly.
+       * Makefile.in: Replace ravenscar-sparc-thread with
+       sparc-ravenscar-thread throughout.
+       * configure.tgt: Likewise.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbarch.sh: Add "struct ravenscar_arch_ops" forward
+       declaration.
+       (ravenscar_ops): New gdbarch variable.
+       * gdbarch.h, gdbarch.c: Regenerate.
+       * ravenscar-thread.h (ravenscar_register_arch_ops): Delete.
+       * ravenscar-thread.c (current_arch_ops): Delete.
+       (ravenscar_fetch_registers): Get the ravenscar_arch_ops
+       from the gdbarch.
+       (ravenscar_store_registers, ravenscar_prepare_to_store): Likewise.
+       (ravenscar_inferior_created): Add gdbarch_ravenscar_ops check.
+       (ravenscar_register_arch_ops): Delete.
+       * ravenscar-sparc-thread.h: New file.
+       * ravenscar-sparc-thread.c: #include "ravenscar-sparc-thread.h".
+       (ravenscar_sparc_ops): Define value statically.
+       (_initialize_ravenscar_sparc): Delete.
+       (register_sparc_ravenscar_ops): New function.
+       * sparc-tdep.c: #include "ravenscar-sparc-thread.h".
+       (sparc32_gdbarch_init): Add call to register_sparc_ravenscar_ops.
+       * Makefile.in (ALL_TARGET_OBS): Add ravenscar-thread.o and
+       ravenscar-sparc-thread.o.
+       (SFILES): Add ravenscar-thread.c.
+       (HFILES_NO_SRCDIR): Add ravenscar-sparc-thread.h.
+       (ALLDEPFILES): ravenscar-sparc-thread.c.
+       * configure.tgt: Add ravenscar-thread.o and ravenscar-sparc-thread.o
+       to gdb_target_obs
+       for all the targets that use sparc-tdep.o.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * ravenscar-thread.c (ravenscar_is_open): Delete.
+       (ravenscar_initialize): Move most of the code from here...
+       (ravenscar_inferior_created): ... to there.  Invert logic.
+       (ravenscar_close): Delete.
+       (init_ravenscar_thread_ops): Remove setting of
+       ravenscar_ops.to_close.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * objfiles.c (init_entry_point_info): Move function from here...
+       * symfile.c (init_entry_point_info): ... to there.  Make static.
+       * objfiles.h (objfiles.h): Delete declaration.
+
+2012-12-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * symfile.c (syms_from_objfile_1): Renames syms_from_objfile.
+       Remove call to init_entry_point_info.  Add OBJFILE's
+       section_offsets and num_sections initialization.  Add note
+       about entry info in the function documentation.
+       (syms_from_objfile): New function.
+       * coffread.c (coff_symfile_init): Remove call to
+       init_entry_point_info.
+       * machoread.c (macho_symfile_init): Likewise.
+       * xcoffread.c(xcoff_symfile_init): Likewise.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * remote-notif.c (_initialize_notif): Add new commands
+       'set debug notification' and 'show debug notification'.
+       * NEWS: Mention these new commands.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (REMOTE_OBS): Add "remote-notif.o".
+       (SFILES): Add "remote-notif.c".
+       (HFILES_NO_SRCDIR): Add "remote-notif.h" and "common/queue.h".
+       * remote-notif.c: New.  Factored out from remote.c.
+       * remote-notif.h: New.
+       * remote.c: Include "remote-notif.h".
+       (stop_reply_xmalloc, do_stop_reply_xfree):
+       (remote_parse_stop_reply, remote_get_pending_stop_replies):
+       (remote_async_get_pending_events_handler): Remove declarations.
+       (remote_parse_stop_reply): Declare.
+       (pending_stop_reply): Remove.
+       (remote_async_get_pending_events_token): Move to
+       remote-notif.c.
+       (remote_close): Replace 'delete_async_event_handler' with
+       remote_notif_unregister_async_event_handler.
+       Don't call discard_pending_stop_replies.
+       (remote_start_remote): Replace code with remote_notif_parse
+       and remote_notif_get_pending_replies.
+       (remote_open_1): Replace 'create_async_event_handler' with
+       remote_notif_register_async_event_handler.
+       (extended_remote_attach_1): Call remote_notif_parse and
+       notif_stop_reply_push.
+       (struct stop_reply) <next>: Remove.
+       <base>: New field.
+       Callers update.
+       (stop_reply_queue): Change its type.
+       (stop_reply_xmalloc, do_stop_reply_xfree): Remove.
+       (remote_notif_remove_all): New.
+       (discard_pending_stop_replies): Update.
+       (remote_notif_stop_ack, stop_reply_dtr): New.
+       (remote_notif_stop_alloc_event): New.
+       (notif_client_stop): New variable.
+       (stop_reply_match_ptid, stop_reply_match_ptid_and_ws: New.
+       (queued_stop_reply, peek_stop_reply): Adjust.
+       (remote_get_pending_stop_replies): Rename to
+       remote_notif_get_pending_events.
+       (handle_notification): Move to remote-notif.c.
+       (remote_async_get_pending_events_handler): Likewise.
+       (remote_wait_as): Adjust to call remote_notif_parse.
+       Call 'getpkt_or_notif_sane' instead of 'getpkt_sane'.
+       Return minus_one_ptid early if gets a notification.
+       (remote_wait): Call QUEUE_is_empty (notif_reply_p).
+       (_initialize_remote): Call QUEUE_alloc.  Update caller.
+       (remote_resume): Call 'remote_notif_process' in all-stop mode.
+       * remote.h: Include "remote-notif.h".
+       (remote_notif_get_pending_replies): Declare.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (discard_pending_stop_replies): Update declaration.
+       (remote_detach_1, extended_remote_mourn_1): Likewise.
+       (discard_pending_stop_replies): Change parameter from PID to
+       INF.
+       (remote_close): Update caller.
+       (_initialize_remote): Attach discard_pending_stop_replies to
+       inferior_exit observer.
+
+2012-12-15  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (getpkt_or_notif_sane): Add one more argument in
+       its declaration.
+       (getpkt_or_notif_sane_1): Add one more argument.
+       (getpkt_sane): Update caller.
+       (getpkt_or_notif_sane): Likewise.  Update call
+       togetpkt_or_notif_sane_1.
+       (remote_wait_ns): Update caller.
+
 2012-12-15  Yao Qi  <yao@codesourcery.com>
            Doug Evans  <dje@google.com>
 
        * gdb_bfd.c (gdb_bfd_mark_parent): New function.
        (gdb_bfd_openr_next_archived_file): Use it.
 
-2012-11-28  Markus Metzger <markus.t.metzger@intel.com>
+2012-11-28  Markus Metzger  <markus.t.metzger@intel.com>
 
        * configure.ac: Check for linux/perf_event.h.
        * config.in: Regenerated.
        parameter COUNT, for pattern filling of memory regions.
        * NEWS: Mention it.
 
-2012-11-13 Markus Metzger <markus.t.metzger@intel.com>
+2012-11-13 Markus Metzger  <markus.t.metzger@intel.com>
 
        * disasm.h (DISASSEMBLY_FILENAME): New macro.
        * disasm.c (do_mixed_source_and_assembly): Pass filename flag on
        * source.c (print_source_lines_base): Prefix source line with
        filename if PRINT_SOURCE_LINES_FILENAME flag is set.
 
-2012-11-13 Markus Metzger <markus.t.metzger@intel.com>
+2012-11-13 Markus Metzger  <markus.t.metzger@intel.com>
 
        * symtab.h (print_source_lines_flags): New enum.
        * source.c (print_source_lines_base): Change noerror to flags.
This page took 0.02837 seconds and 4 git commands to generate.