From: Daniel Jacobowitz <drow@false.org>
To: Peter Toft <pto@linuxbog.dk>
Cc: gdb@sourceware.org
Subject: Re: gdb printing of dynamically allocated matrix
Date: Thu, 19 Jul 2007 03:10:00 -0000 [thread overview]
Message-ID: <20070719030927.GA13744@caradoc.them.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0707182228230.4288@pto.linuxbog.dk>
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
next prev parent reply other threads:[~2007-07-19 3:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 17:59 Peter Toft
2007-07-18 19:32 ` Daniel Jacobowitz
2007-07-18 20:32 ` Peter Toft
2007-07-18 21:56 ` Peter Toft
2007-07-19 3:10 ` Daniel Jacobowitz [this message]
2007-07-20 18:48 ` Peter Toft
2007-07-20 19:08 ` Jim Blandy
2007-07-21 14:16 ` Peter Toft
2007-07-23 17:05 ` Jim Blandy
2007-07-23 21:38 ` Peter Toft
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070719030927.GA13744@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=pto@linuxbog.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox