This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/15195] New: incorrect pretty-printing of std::tuple whenpassed by reference or const reference


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

             Bug #: 15195
           Summary: incorrect pretty-printing of std::tuple when passed by
                    reference or const reference
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tfogal@alumni.unh.edu
    Classification: Unclassified


Created attachment 6893
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6893
script(1) of the showing the bug in a session.

gdb both from my distro and HEAD of git
(08f46fad0c90ea5579ab4cd913b6bc1506bb4ca7) is incorrectly reporting that a
3-element std::tuple is "empty" when it is passed by reference as an argument
to a function.

I am importing from current svn:

  $ cat ~/.gdbinit
  set print static-members on
  set print vtbl on
  set print demangle on
  set print pretty on
  python
  import sys
  sys.path.insert(0, '/home/tfogal/dev/svn/python')
  from libstdcxx.v6.printers import register_libstdcxx_printers
  register_libstdcxx_printers (None)
  end

which is r196266.

-- 
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]