public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug exp/13907] RFE: Resolve static pointers in pretty printer
Date: Fri, 18 May 2012 15:32:00 -0000	[thread overview]
Message-ID: <bug-13907-4717-mTvlaUapZV@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-13907-4717@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=13907

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-05-18 15:31:48 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2012-05-18 15:31:42

Modified files:
    gdb            : ChangeLog NEWS c-valprint.c defs.h f-valprint.c 
                     p-valprint.c printcmd.c valprint.c valprint.h 
                     value.h 
    gdb/doc        : ChangeLog gdb.texinfo 
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.ada: fun_addr.exp 
    gdb/testsuite/gdb.base: call-ar-st.exp call-strs.exp find.exp 
                            funcargs.exp pointers.exp printcmds.exp 
    gdb/testsuite/gdb.cp: casts.exp classes.exp virtbase.exp 
    gdb/testsuite/gdb.mi: mi-var-cmd.exp 
    gdb/testsuite/gdb.objc: basicclass.exp 

Log message:
    PR exp/13907:
    * valprint.h (struct value_print_options) <symbol_print>: New
    field.
    * valprint.c (user_print_options): Add default for symbol_print.
    (show_symbol_print): New function.
    (generic_val_print): Respect symbol_print.
    (_initialize_valprint): Add "print symbol" setting.
    * f-valprint.c (f_val_print): Respect symbol_print.
    * c-valprint.c (c_val_print): Respect symbol_print.
    * NEWS: Update.
    * printcmd.c (print_address_symbolic): Return int.  Ignore some
    zero-size symbols.
    (print_address_demangle): Return int.
    * defs.h: (print_address_symbolic): Return int.
    * value.h (print_address_demangle): Return int.
    doc
    * gdb.texinfo (Print Settings): Document 'set print symbol'.
    testsuite
    * gdb.mi/mi-var-cmd.exp: Update.
    * gdb.objc/basicclass.exp (do_objc_tests): Update.
    * gdb.cp/virtbase.exp: Update.
    * gdb.cp/classes.exp (test_static_members): Update.
    * gdb.cp/casts.exp: Update.
    * gdb.base/pointers.exp: Update.
    * gdb.base/funcargs.exp (pointer_args): Update.
    (structs_by_reference): Update.
    * gdb.base/find.exp: Update.
    * gdb.base/call-strs.exp: Send "set print symbol off".
    * gdb.base/call-ar-st.exp: Update.
    * gdb.ada/fun_addr.exp: Update.
    * gdb.base/printcmds.exp (test_print_symbol): New proc.
    Call it.
    (test_print_repeats_10, test_print_strings)
    (test_print_char_arrays): Update.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14265&r2=1.14266
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=1.520&r2=1.521
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-valprint.c.diff?cvsroot=src&r1=1.96&r2=1.97
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/defs.h.diff?cvsroot=src&r1=1.314&r2=1.315
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/f-valprint.c.diff?cvsroot=src&r1=1.74&r2=1.75
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/p-valprint.c.diff?cvsroot=src&r1=1.98&r2=1.99
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/printcmd.c.diff?cvsroot=src&r1=1.206&r2=1.207
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/valprint.c.diff?cvsroot=src&r1=1.125&r2=1.126
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/valprint.h.diff?cvsroot=src&r1=1.41&r2=1.42
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/value.h.diff?cvsroot=src&r1=1.204&r2=1.205
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1318&r2=1.1319
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.964&r2=1.965
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3198&r2=1.3199
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.ada/fun_addr.exp.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/call-ar-st.exp.diff?cvsroot=src&r1=1.32&r2=1.33
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/call-strs.exp.diff?cvsroot=src&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/find.exp.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/funcargs.exp.diff?cvsroot=src&r1=1.27&r2=1.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/pointers.exp.diff?cvsroot=src&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/printcmds.exp.diff?cvsroot=src&r1=1.43&r2=1.44
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/casts.exp.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/classes.exp.diff?cvsroot=src&r1=1.32&r2=1.33
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/virtbase.exp.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-var-cmd.exp.diff?cvsroot=src&r1=1.50&r2=1.51
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.objc/basicclass.exp.diff?cvsroot=src&r1=1.16&r2=1.17

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2012-05-18 15:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27 13:38 [Bug exp/13907] New: " avi at redhat dot com
2012-03-30 14:50 ` [Bug exp/13907] " tromey at redhat dot com
2012-05-18 15:32 ` cvs-commit at gcc dot gnu.org [this message]
2012-05-18 15:33 ` tromey at redhat dot com

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=bug-13907-4717-mTvlaUapZV@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).