public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12506] New: physname linespec regression
@ 2011-02-23  5:21 jan.kratochvil at redhat dot com
  2011-02-23  7:10 ` [Bug c++/12506] " henrik at mysko dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-02-23  5:21 UTC (permalink / raw)
  To: gdb-prs

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

           Summary: physname linespec regression
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jan.kratochvil@redhat.com
                CC: keiths@redhat.com
            Target: x86_64-unknown-linux-gnu


the patch
        42284fdf9d8cdb20c8e833bdbdb2b56977fea525
        http://sourceware.org/ml/gdb-cvs/2010-03/msg00082.html
        dwarf2_physname patchset:
        [RFA] dwarf2_physname FINAL
        http://sourceware.org/ml/gdb-patches/2010-03/msg00220.html
has a regression for:
(gdb) b test<my_types>::f1
Breakpoint 1 at 0x4008d5: file ms_types.C, line 9.
->
(gdb) b test<my_types>::f1
the class test<my_types> does not have any method named f1

when the testcase is built with recent GCCs:

PASS g++ (GCC) 4.4.6 20110124 (prerelease)
FAIL g++ (GCC) 4.5.3 20110124 (prerelease)
FAIL g++ (GCC) 4.6.0 20110212 (experimental)
FAIL gcc-c++-4.6.0-0.7.fc15.x86_64
FAIL gcc-c++-4.5.1-4.fc14.x86_64
FAIL gcc-c++-4.4.5-2.fc13.x86_64

Testcase provided by Henrik Nyberg (irc <henke>).

#include <iostream>
template<typename types>
class test
{
public:
        void f1(typename types::arg_type f)
        {
                std::cout << "f1: " << f << std::endl;
        }       
        void f2()
        {
                std::cout << "f2" << std::endl;
        }
};              
class my_types
{
public:
        typedef int arg_type;
};
int main()
{       
        test<my_types> t;
        t.f1(5);
        t.f2();
        return 0;
}

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/12506] physname linespec regression
  2011-02-23  5:21 [Bug c++/12506] New: physname linespec regression jan.kratochvil at redhat dot com
@ 2011-02-23  7:10 ` henrik at mysko dot org
  2011-03-03 19:20 ` keiths at redhat dot com
  2011-07-02 20:01 ` jan.kratochvil at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: henrik at mysko dot org @ 2011-02-23  7:10 UTC (permalink / raw)
  To: gdb-prs

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

Henrik Nyberg <henrik at mysko dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henrik at mysko dot org

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/12506] physname linespec regression
  2011-02-23  5:21 [Bug c++/12506] New: physname linespec regression jan.kratochvil at redhat dot com
  2011-02-23  7:10 ` [Bug c++/12506] " henrik at mysko dot org
@ 2011-03-03 19:20 ` keiths at redhat dot com
  2011-07-02 20:01 ` jan.kratochvil at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: keiths at redhat dot com @ 2011-03-03 19:20 UTC (permalink / raw)
  To: gdb-prs

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

Keith Seitz <keiths at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at sourceware    |keiths at redhat dot com
                   |dot org                     |

--- Comment #1 from Keith Seitz <keiths at redhat dot com> 2011-03-03 19:20:08 UTC ---
Proposed patch:
http://sourceware.org/ml/gdb-patches/2011-03/msg00189.html

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/12506] physname linespec regression
  2011-02-23  5:21 [Bug c++/12506] New: physname linespec regression jan.kratochvil at redhat dot com
  2011-02-23  7:10 ` [Bug c++/12506] " henrik at mysko dot org
  2011-03-03 19:20 ` keiths at redhat dot com
@ 2011-07-02 20:01 ` jan.kratochvil at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-07-02 20:01 UTC (permalink / raw)
  To: gdb-prs

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

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
         AssignedTo|keiths at redhat dot com    |jan.kratochvil at redhat
                   |                            |dot com
   Target Milestone|---                         |7.3

--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-07-02 20:00:45 UTC ---
http://sourceware.org/ml/gdb-cvs/2011-07/msg00043.html

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-02 20:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-23  5:21 [Bug c++/12506] New: physname linespec regression jan.kratochvil at redhat dot com
2011-02-23  7:10 ` [Bug c++/12506] " henrik at mysko dot org
2011-03-03 19:20 ` keiths at redhat dot com
2011-07-02 20:01 ` jan.kratochvil at redhat dot com

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