This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb printing of dynamically allocated matrix
On Wed, Jul 18, 2007 at 10:32:19PM +0200, Peter Toft wrote:
> From the manual I don't understand how the macro is further hacked to also
> give the exact output format as
> (gdb) print c
> $1 = {{2, -2, 22}, {12, -12, -12}}
>
> so my matprint does not insert into a dollar variable - can someone help
> with this last part?
I don't think you're going to be able to do that - our type system
does not deal well with structures that don't live exactly in target
memory. Yet.
--
Daniel Jacobowitz
CodeSourcery