I am debugging a C++ application in ddd.
I have a null-terminated string which is so long that ddd truncates when displaying it. I want to examine this string in an external application, so how can I copy it to the clipboard, or otherwise export it from gdb?char *
variable
EDIT: to clarify because some commentators seem confused -- this is not a clipboard API question. It seems an obvious useful feature that a debugger allow one to capture and examine arbitrary strings in a debugged program's memory. So, can it be done in gdb, and how?