From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7847 invoked by alias); 1 Sep 2013 10:23:42 -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 Received: (qmail 7816 invoked by uid 48); 1 Sep 2013 10:23:42 -0000 From: "mjw at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/15826] Slow symbol lookups during conditional breakpoints Date: Sun, 01 Sep 2013 10:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mjw at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00304.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D15826 --- Comment #6 from Mark Wielaard --- Sigh, although the patch in comment #5 works, and bool is a built-in type f= or C++, the standard says: =C2=A75.3.3/1, abridged: sizeof(char), sizeof(signed char) and sizeof(unsigned char) are 1; the result of sizeof applied to any other fundamental type is implementation-defined. [Note: in particular, sizeof(bool) and sizeof(wchar= _t) are implementation-defined.69)] Footnote 69): sizeof(bool) is not required to be 1. The (Itanium) C++ ABI, which GCC follows now, specifies (2.2 POD Data Types= ): Type bool has size and alignment 1. Can we easily detect the ABI used in language_bool_type? Note that as far as I can see this special casing for bool_type was introdu= ced specifically for C++ (plain C doesn't do these symbol lookups). But then adopted for all other languages introduced after that. Even if they have a built-in boolean type with a well defined size. In those cases it IMHO does= n't make sense to explicitly define bool_type_symbol for the language. Because = it will generate these symbol table lookups each time language_bool_type () is called. --=20 You are receiving this mail because: You are on the CC list for the bug. >>From gdb-prs-return-14271-listarch-gdb-prs=sources.redhat.com@sourceware.org Sun Sep 01 13:01:41 2013 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 12745 invoked by alias); 1 Sep 2013 13:01:41 -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 Delivered-To: mailing list gdb-prs@sourceware.org Received: (qmail 12719 invoked by uid 48); 1 Sep 2013 13:01:41 -0000 From: "schwab@linux-m68k.org" To: gdb-prs@sourceware.org Subject: [Bug build/15916] gdb assumes lib(bfd,opcodes) are static Date: Sun, 01 Sep 2013 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 7.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q3/txt/msg00305.txt.bz2 Content-length: 272 https://sourceware.org/bugzilla/show_bug.cgi?id=15916 --- Comment #1 from Andreas Schwab --- Separating out libbfd is difficult as there are no ABI nor API guarantees. -- You are receiving this mail because: You are on the CC list for the bug.