Fix PR threads/19422 - show which thread caused stop
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 034e4f9d29bba88edbee6d58394ebcdeb42814cf..8fe13814f54fb951b19dbab8a34ebcd5fd096e10 100644 (file)
@@ -1,3 +1,46 @@
+2016-01-18  Pedro Alves  <palves@redhat.com>
+
+       * NEWS: Mention that GDB now displays the ID and name of the
+       thread that hit a breakpoint or received a signal.
+       * break-catch-sig.c (signal_catchpoint_print_it): Use
+       maybe_print_thread_hit_breakpoint.
+       * break-catch-syscall.c (print_it_catch_syscall): Likewise.
+       * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
+       * breakpoint.c (maybe_print_thread_hit_breakpoint): New function.
+       (print_it_catch_fork, print_it_catch_vfork, print_it_catch_solib)
+       (print_it_catch_exec, print_it_ranged_breakpoint)
+       (print_it_watchpoint, print_it_masked_watchpoint, bkpt_print_it):
+       Use maybe_print_thread_hit_breakpoint.
+       * breakpoint.h (maybe_print_thread_hit_breakpoint): Declare.
+       * gdbthread.h (show_thread_that_caused_stop): Declare.
+       * infrun.c (print_signal_received_reason): Print which thread
+       received signal.
+       * thread.c (show_thread_that_caused_stop): New function.
+
+2016-01-18  Gary Benson  <gbenson@redhat.com>
+
+       * nat/linux-namespaces.c (do_fork): New function.
+       (linux_mntns_get_helper): Use the above.
+
+2016-01-17  Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>  (tiny change)
+
+       Pushed by Joel Brobecker  <brobecker@adacore.com>.
+       PR gdb/19208
+       * dwarf2read.c (read_partial_die): Do not call set_objfile_main_name
+       if the function has no name.
+
+2016-01-15  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * charset.c [PHONY_ICONV] (GDB_DEFAULT_HOST_CHARSET):
+       Conditionalize for Windows host.
+       (GDB_DEFAULT_TARGET_CHARSET): Match GDB_DEFAULT_HOST_CHARSET.
+       (GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
+       (phony_iconv_open): Handle both UTF-32 endiannesses.
+       (phony_iconv): Likewise.  Check for output overflow and clean up
+       out-of-input cases.  Correct adjustment to input buffer pointer.
+       (set_be_le_names) [PHONY_ICONV]: Use hard-wired names to match
+       phony_iconv_open.
+
 2016-01-15  Pedro Alves  <palves@redhat.com>
 
        * NEWS: Mention star wildcard ranges.
This page took 0.023576 seconds and 4 git commands to generate.