[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
displaying GString data
From: |
Rob Clack |
Subject: |
displaying GString data |
Date: |
Mon, 15 Nov 2004 15:00:51 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
I'm using ddd 3.3.9 to debug a C program, and want to display the
contents of a GString, but I don't see anything. I click Display and a
box appears in the data window, containing the correct variable name and
the pointer to the structure, but if I rightclick the pointer and select
Display from the drop-down menu, instead of seeing my data, I see a tiny
black rectangle inside another box.
I know ddd understands GStrings, because it all works in the console
window:
(gdb) p *source
$1 = {str = 0x8197528 "genomic_canonical", len = 17, allocated_len = 32}
I assume I'm doing something wrong, but what? I've tried looking in the
archives, but the postings seem all to be spam.
Thanks
Rob
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- displaying GString data,
Rob Clack <=