aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-06-08 08:15:57 -0600
committerTom Tromey <tom@tromey.com>2019-11-26 14:02:58 -0700
commit971db5e21e35e1ad0d124b954ce13d463b887b6c (patch)
tree53f82af7080c1c229d48c483de736b7986147dab /binutils
parent22138db609721897c213e5a08ccaca206c0fb1f6 (diff)
downloadgdb-971db5e21e35e1ad0d124b954ce13d463b887b6c.zip
gdb-971db5e21e35e1ad0d124b954ce13d463b887b6c.tar.gz
gdb-971db5e21e35e1ad0d124b954ce13d463b887b6c.tar.bz2
Use run_on_main_thread in gdb.post_event
This changes gdb.post_event to use the new run_on_main_thread function. This is somewhat tricky because the Python GIL must be held while manipulating reference counts. 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. Change-Id: Ie4431e60f328dae48bd96b6c6a8e875e70bda1de
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions