Use cmd_list_element::doc_allocated for Python commands
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b73ae8dd813ff08f1814c4095a4f9a4933626fc1..821afd313d4c6bd6c731a1ab5b773c4e4f9c6f48 100644 (file)
@@ -1,3 +1,33 @@
+2019-11-26  Tom Tromey  <tom@tromey.com>
+
+       * python/py-cmd.c (cmdpy_destroyer): Don't free "doc".
+       (cmdpy_init): Set "doc_allocated".
+
+2019-11-26  Tom Tromey  <tom@tromey.com>
+
+       * gdbsupport/thread-pool.c (thread_pool::set_thread_count): Set
+       name of worker thread.
+       * gdbsupport/common.m4 (GDB_AC_COMMON): Check for
+       pthread_setname_np.
+       * configure, config.in: Rebuild.
+
+2019-11-26  Tom Tromey  <tom@tromey.com>
+
+       * python/python.c (class gdbpy_gil): New.
+       (struct gdbpy_event): Add constructor, destructor, operator().
+       (gdbpy_post_event): Use run_on_main_thread.
+       (gdbpy_initialize_events): Remove.
+       (do_start_initialization): Update.
+
+2019-11-26  Tom Tromey  <tom@tromey.com>
+
+       * NEWS: Add entry.
+       * maint.c (_initialize_maint_cmds): Add "worker-threads" maint
+       commands.  Call update_thread_pool_size.
+       (update_thread_pool_size, maintenance_set_worker_threads): New
+       functions.
+       (n_worker_threads): New global.
+
 2019-11-26  Christian Biesinger  <cbiesinger@google.com>
            Tom Tromey  <tom@tromey.com>
 
This page took 0.050424 seconds and 4 git commands to generate.