Re: Can't print in gdb
Shahab Vahedi via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
You will need either to typecast: (gdb) printf "prefix:%s\n", (char *) substr Or use the member variable: (gdb) printf "prefix:%s\n", substr.str Cheers, Shahab