public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Wrapping GDB
@ 2011-04-15 20:37 Uri Moszkowicz
  2011-04-15 20:53 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Uri Moszkowicz @ 2011-04-15 20:37 UTC (permalink / raw)
  To: gdb

Hi,
I'm trying to use GDB to write some tests for a C++ program and am
having some trouble. The wrapper test is written in Groovy and it
seems that GDB does not send its output to stdout so that it can be
captured from a system call. Instead, it appears directly on the tty.
I realize that there is a machine interface but I don't want to use it
since the interaction has to be human readable for debugging when
tests fail. Since my test runs on the Java platform I am unable to
create a pseudo TTY for GDB. Expect seems to work but I don't want to
write my tests in Expect and no comparable implementation exists for
the Java platform. Do you have any suggestions? Is there an
undocumented switch that I can use so that GDB will send all of its
output to STDOUT/STDERR?

Thanks,
Uri

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-15 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-15 20:37 Wrapping GDB Uri Moszkowicz
2011-04-15 20:53 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).