Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: kidoshisama <kidoshisama@gmail.com>
Cc: Keith Goldberg <keith.goldberg@actifio.com>, gdb@sourceware.org
Subject: Re: Walking an array of structs under gdb-Python
Date: Wed, 23 Mar 2011 18:15:00 -0000	[thread overview]
Message-ID: <m3aagl3dql.fsf@fleche.redhat.com> (raw)
In-Reply-To: <AANLkTi=ZBxzngi1h8oPOjGDHzmqxhOb2d2mV2oqb7WOF@mail.gmail.com>	(kidoshisama@gmail.com's message of "Wed, 23 Mar 2011 12:36:05 -0400")

>>>>> ">" == kidoshisama  <kidoshisama@gmail.com> writes:

>> can I cast 'array' to another type and interpret it that way?

Sure.  See the docs for gdb.Value.cast.

Tom


      reply	other threads:[~2011-03-23 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 17:02 Keith Goldberg
2011-03-22 16:40 ` Tom Tromey
2011-03-23 16:36   ` kidoshisama
2011-03-23 18:15     ` Tom Tromey [this message]

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=m3aagl3dql.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=keith.goldberg@actifio.com \
    --cc=kidoshisama@gmail.com \
    /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