gdb.trace: Read XML target description from tfile.
authorMarcin Kościelnicki <koriakin@0x04.net>
Sat, 6 Feb 2016 00:49:14 +0000 (01:49 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 10 Feb 2016 22:31:13 +0000 (23:31 +0100)
commit5ac87a997fca849c654fffdf1c3e1991ea3f81d1
treee04da6ce0b80b97f38d126b35c9b7d957621ff9c
parent18d3cec54e1b4fce278dba436484846f8048d7d6
gdb.trace: Read XML target description from tfile.

gdb/ChangeLog:

* tracefile-tfile.c (trace_tdesc): New static variable.
(tfile_open): Clear trace_tdesc, call target_find_description.
(tfile_interp_line): Recognize tdesc lines.
(tfile_close): Clear trace_tdesc.
(tfile_xfer_partial_features): New function.
(tfile_xfer_partial): Call tfile_xfer_partial_features.
(tfile_append_tdesc_line): New function.
gdb/ChangeLog
gdb/tracefile-tfile.c