From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31477 invoked by alias); 17 Mar 2011 18:07:54 -0000 Received: (qmail 31450 invoked by uid 22791); 17 Mar 2011 18:07:52 -0000 X-SWARE-Spam-Status: No, hits=-50.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Mar 2011 18:07:47 +0000 From: "keiths at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug c++/12266] Typedefs are not expanded to their base types in breakpoint definitions X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: keiths at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: keiths at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 17 Mar 2011 18:07:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00227.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12266 --- Comment #5 from Keith Seitz 2011-03-17 18:07:41 UTC --- Since I have committed the patchset for 11734 and 12273, I am now revisiting this bug... There /appear/ to be multiple problems with symbol lookup that cause this failure. I have further reduced the test case to: #include typedef const char* const* my_type; typedef my_type my_other_type; void test (my_other_type foo) { } int main (void) { test (NULL); return 0; } Breaking on "test(my_other_type)" works, but breaking on either "test(my_type)" or "test(const char* const*)" does not. This partly occurs because dwarf2_physname calls c_type_print_args, and that function does not do any typedef resolution (which it should when it is used to compute physnames). Unfortunately, fixing that still doesn't work right, either. But I just wanted to update this bug to let anyone watching it know that I am taking a look at it. -- 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.