Wednesday, June 30, 2010

How can I get the program's output from GDB/MI?

Programmer Question

I'm trying to understand GDB's MI interface in order to write a basic frontend for it, but there's one thing that's confusing me. According to the documentation, any output from the running target is prepended with "@", but when I run a program on my own, the output from the program being debugged is not prepended with anything. Is GNU simply lying, or is there a way to retrieve the output that I'm not aware of?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails