public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-tromey-python: * valprint.c (value_print): Call apply_val_pretty_printer. Date: Wed, 12 Nov 2008 15:10:00 -0000 [thread overview] Message-ID: <20081112151031.17845.qmail@sourceware.org> (raw) The branch, archer-tromey-python has been updated via c72d8bd86890c414f264984a8e63f8d16a08df94 (commit) from 4d3313b792a9e87b61a11f42b08e7ec29414c15d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit c72d8bd86890c414f264984a8e63f8d16a08df94 Author: Tom Tromey <tromey@redhat.com> Date: Wed Nov 12 08:07:53 2008 -0700 * valprint.c (value_print): Call apply_val_pretty_printer. ----------------------------------------------------------------------- Summary of changes: gdb/ChangeLog | 4 ++++ gdb/valprint.c | 12 ++++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) First 500 lines of diff: diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d1b0bbd..6541640 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-11-12 Tom Tromey <tromey@redhat.com> + + * valprint.c (value_print): Call apply_val_pretty_printer. + 2008-11-11 Tom Tromey <tromey@redhat.com> * varobj.c (varobj_get_display_hint): Use gdbpy_get_display_hint. diff --git a/gdb/valprint.c b/gdb/valprint.c index c580f39..37e5efc 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -326,6 +326,18 @@ value_print (struct value *val, struct ui_file *stream, int format, return 0; raw_printing = raw; + if (!raw) + { + int r = apply_val_pretty_printer (value_type (val), + value_contents_all (val), + value_embedded_offset (val), + value_address (val), + stream, format, 1, 0, pretty, + current_language); + if (r) + return r; + } + return LA_VALUE_PRINT (val, stream, format, pretty); } hooks/post-receive -- Repository for Project Archer.
reply other threads:[~2008-11-12 15:10 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20081112151031.17845.qmail@sourceware.org \ --to=tromey@sourceware.org \ --cc=archer-commits@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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).