change probes to be program-space-independent
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6cfb9c53dfba423b44ed1b2e79dcff10caf805a8..963ca04ac6066b16ff21ae7ff87a81607254ef14 100644 (file)
@@ -1,3 +1,147 @@
+2014-03-03  Tom Tromey  <tromey@redhat.com>
+
+       * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
+       * breakpoint.c (create_longjmp_master_breakpoint): Use
+       get_probe_address.
+       (add_location_to_breakpoint, bkpt_probe_insert_location)
+       (bkpt_probe_remove_location): Update.
+       * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
+       * elfread.c (elf_symfile_relocate_probe): Remove.
+       (elf_probe_fns): Update.
+       (insert_exception_resume_breakpoint): Change type of "probe"
+       parameter to bound_probe.
+       (check_exception_resume): Update.
+       * objfiles.c (objfile_relocate1): Don't relocate probes.
+       * probe.c (bound_probe_s): New typedef.
+       (parse_probes): Use get_probe_address.  Set sal's objfile.
+       (find_probe_by_pc): Return a bound_probe.
+       (collect_probes): Return a VEC(bound_probe_s).
+       (compare_probes): Update.
+       (gen_ui_out_table_header_info): Change type of "probes"
+       parameter.  Update.
+       (info_probes_for_ops): Update.
+       (get_probe_address): New function.
+       (probe_safe_evaluate_at_pc): Update.
+       * probe.h (struct probe_ops) <get_probe_address>: New field.
+       <set_semaphore, clear_semaphore>: Add objfile parameter.
+       (struct probe) <objfile>: Remove field.
+       <arch>: New field.
+       <address>: Update comment.
+       (struct bound_probe): New.
+       (find_probe_by_pc): Return a bound_probe.
+       (get_probe_address): Declare.
+       * solib-svr4.c (struct probe_and_action) <address>: New field.
+       (hash_probe_and_action, equal_probe_and_action): Update.
+       (register_solib_event_probe): Add address parameter.
+       (solib_event_probe_at): Update.
+       (svr4_create_probe_breakpoints): Add objfile parameter.  Use
+       get_probe_address.
+       * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
+       (stap_get_probe_address): New function.
+       (stap_can_evaluate_probe_arguments, compute_probe_arg)
+       (compile_probe_arg): Update.
+       (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
+       address.
+       (handle_stap_probe): Don't relocate the probe.
+       (stap_relocate): Remove.
+       (stap_gen_info_probes_table_values): Update.
+       (stap_probe_ops): Remove stap_relocate.
+       * symfile-debug.c (debug_sym_relocate_probe): Remove.
+       (debug_sym_probe_fns): Update.
+       * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
+       * symtab.c (init_sal): Use memset.
+       * symtab.h (struct symtab_and_line) <objfile>: New field.
+       * tracepoint.c (start_tracing, stop_tracing): Update.
+
+2014-03-03  Tom Tromey  <tromey@redhat.com>
+
+       * probe.h (parse_probes, find_probe_by_pc)
+       (find_probes_in_objfile): Fix comments.
+
+2014-03-02  Doug Evans  <xdje42@gmail.com>
+
+       * infrun.c (handle_signal_stop): Replace test for
+       TARGET_WAITKIND_STOPPED with an assert.
+
+2014-03-02  Doug Evans  <xdje42@gmail.com>
+
+       * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
+
+2014-03-02  Doug Evans  <xdje42@gmail.com>
+
+       * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386obsd-nat.c: Include "obsd-nat.h".
+       (_initialize_i386obsd_nat): Call obsd_add_target instead of
+       add_target.
+       * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * mips64obsd-nat.c: Include "obsd-nath".
+       (_initialize_mips64obsd_nat): Call obsd_add_target instead of
+       add_target
+       * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
+
+2014-03-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64obsd-nat.c: Include "obsd-nat,h.
+       (_initialize_amd64obsd_nat): Call obsd_add_target instead of
+       add_target.
+       * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
+
+2014-02-28  Siva Chandra Reddy  <sivachandra@google.com>
+
+       * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
+       (find_overload_match): Update call to find_oload_champ.
+       (find_oload_champ_namespace_loop): Likewise
+
+2014-02-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
+
+       * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
+       * config/sparc/obsd64.mh: New file.
+       * sparc64obsd-nat.c: New file.
+
+       * obsd-nat.h: New file.
+       * obsd-nat.c: New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
+       (ALLDEPFILES): Add obsd-nat.c.
+
+2014-02-28  Tom Tromey  <tromey@redhat.com>
+
+       * cli-out.c (cli_ui_out_impl): Now const.  Remove comment.
+       * cli-out.h (cli_ui_out_impl): Now const.
+       * mi/mi-out.c (mi_ui_out_impl): Now const.  Remove comment.
+       * ui-out.c (struct ui_out) <impl>: Now const.
+       (default_ui_out_impl): Now const.
+       (ui_out_new): Make 'impl' parameter const.
+       * ui-out.h (ui_out_new): Update.
+
+2014-02-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
+
+2014-02-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
+
+2014-02-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Additional PR 8882 fix.
+       * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
+
 2014-02-27  Pedro Alves  <palves@redhat.com>
 
        * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
This page took 0.025588 seconds and 4 git commands to generate.