Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Graham Labdon <Graham.Labdon@avalonsciences.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: Pretty Printing
Date: Fri, 01 Feb 2013 20:11:00 -0000	[thread overview]
Message-ID: <510C2176.1020703@redhat.com> (raw)
In-Reply-To: <DA78E044FB673F438F102FC52CA4A62C05574F9D@ASLUKEXSVR.avalonsciences.local>

On 02/01/2013 09:22 AM, Graham Labdon wrote:
> Hi
> I don't know if there is anyone on this forum who can help
> 
> I am developing a set of gdb pretty printers for Qt
> A dictionary is built of the functions to call when a variable of a given type is detected
> Code:
> def build_dictionary ():
>     pretty_printers_dict[re.compile ('^QFile$')] = lambda val:QFilePrinter(val,"false")
>     pretty_printers_dict[re.compile ('^QFile \*$')] = lambda val: QFilePointerPrinter(val)
> 

I was pretty sure I heard people had pretty printers for Qt already.
Were they in kdevelop?  Ah, yes:

http://nikosams.blogspot.pt/2010/01/gdb-qt-pretty-printers-updated.html

Did you look there?

-- 
Pedro Alves


  parent reply	other threads:[~2013-02-01 20:11 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 [this message]
2013-02-04 12:25 ` Joachim Protze

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=510C2176.1020703@redhat.com \
    --to=palves@redhat.com \
    --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