2010-04-05 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Mon, 5 Apr 2010 21:57:18 +0000 (21:57 +0000)
committerStan Shebs <shebs@codesourcery.com>
Mon, 5 Apr 2010 21:57:18 +0000 (21:57 +0000)
commitfce3c1f0f17879e1c60d1acb277a232f37255aab
treebf0a2376c01eb3a26327873a9e6645f47a559452
parent9cdcc3e8b3ed0291e48a9783f4db6fb52cacd936
2010-04-05  Stan Shebs  <stan@codesourcery.com>

* tracepoint.c: Include gdbcore.h.
(tfile_xfer_partial): Return partial results, also try reading
from executable.
(tfile_has_all_memory): New function.
(init_tfile_ops): Use it.

* gdb.trace/tfile.c: Add a variable split across two blocks, and a
constant global.
* gdb.trace/tfile.exp: Try to print them.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/tfile.c
gdb/testsuite/gdb.trace/tfile.exp
gdb/tracepoint.c