]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
record-btrace: provide target_find_new_threads method
authorMarkus Metzger <markus.t.metzger@intel.com>
Fri, 3 May 2013 08:51:13 +0000 (10:51 +0200)
committerMarkus Metzger <markus.t.metzger@intel.com>
Thu, 16 Jan 2014 12:06:15 +0000 (13:06 +0100)
commite2887aa34ff4d8d972047e48803ed97b23beb739
treed1f8e1a61c45a09cc9c3151704f351da8be14754
parentb2f4cfdebc3b7feb9572e83570d212f0ef31a78a
record-btrace: provide target_find_new_threads method

The "info threads" command tries to read memory, which is not possible during
replay.  This results in an error message and aborts the command without showing
the existing threads.

Provide a to_find_new_threads target method to skip the search while replaying.

2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>

* record-btrace.c (record_btrace_find_new_threads)
(record_btrace_thread_alive): New.
(init_record_btrace_ops): Initialize to_find_new_threads and
to_thread_alive.
gdb/ChangeLog
gdb/record-btrace.c