From: Joachim Protze <joachim.protze@tu-dresden.de>
To: Graham Labdon <Graham.Labdon@avalonsciences.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Pretty Printing
Date: Mon, 04 Feb 2013 12:25:00 -0000 [thread overview]
Message-ID: <510FA8A5.5040702@tu-dresden.de> (raw)
In-Reply-To: <DA78E044FB673F438F102FC52CA4A62C05574F9D@ASLUKEXSVR.avalonsciences.local>
[-- Attachment #1: Type: text/plain, Size: 360 bytes --]
Hi,
On 01.02.2013 10:22, Graham Labdon wrote:
> Code:
> exp = "((class QFile *)%s)->%s()" % (value.address, "exists")
>
try
exp = "((class QFile *)%i)->%s()" % (long(value.address), "exists")
or
exp = "((class QFile *)0x%x)->%s()" % (long(value.address), "exists")
To print the address and not trigger the pretty printer
- Joachim
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5319 bytes --]
prev parent reply other threads:[~2013-02-04 12:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 9:22 Graham Labdon
2013-02-01 17:48 ` Doug Evans
2013-02-01 20:11 ` Pedro Alves
2013-02-04 12:25 ` Joachim Protze [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=510FA8A5.5040702@tu-dresden.de \
--to=joachim.protze@tu-dresden.de \
--cc=Graham.Labdon@avalonsciences.com \
--cc=gdb@sourceware.org \
/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