public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16959] New: gdb hangs in infinite recursion
@ 2014-05-19 12:49 kirillkh at gmail dot com
  2014-05-19 12:55 ` [Bug c++/16959] " kirillkh at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: kirillkh at gmail dot com @ 2014-05-19 12:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16959

            Bug ID: 16959
           Summary: gdb hangs in infinite recursion
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: kirillkh at gmail dot com

<andre_> it's reproducible: http://paste.kde.org/pkymsptb7
<andre_> a 'start' + 'p x' produce unlimited output on the gdb commandline

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug c++/16959] gdb hangs in infinite recursion
  2014-05-19 12:49 [Bug c++/16959] New: gdb hangs in infinite recursion kirillkh at gmail dot com
@ 2014-05-19 12:55 ` kirillkh at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: kirillkh at gmail dot com @ 2014-05-19 12:55 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16959

--- Comment #1 from kirillkh at gmail dot com ---
Test case in case the paste expires:

    struct Size
    {
        float width;
        float height;
        static const Size ZERO;
    };

    struct  Rect
    {
        float x, y;
        Size  size;
        static const Rect ZERO;
    };

    const Size Size::ZERO = { 0, 0 };
    const Rect Rect::ZERO = { 0, 0, {0, 0} };

    int main()
    {
        Rect x;
        return x.y;
    }

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-05-19 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-19 12:49 [Bug c++/16959] New: gdb hangs in infinite recursion kirillkh at gmail dot com
2014-05-19 12:55 ` [Bug c++/16959] " kirillkh at gmail 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).