From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27967 invoked by alias); 24 May 2013 14:36:55 -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 27940 invoked by uid 48); 24 May 2013 14:36:55 -0000 From: "LpSolit at netscape dot net" To: gdb-prs@sourceware.org Subject: [Bug c++/9065] can't use typeid Date: Fri, 24 May 2013 14:36:00 -0000 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: enhancement X-Bugzilla-Who: LpSolit at netscape dot net X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tromey at redhat dot com X-Bugzilla-Target-Milestone: 7.7 X-Bugzilla-Changed-Fields: AssignedTo AssignedTo Status Resolution Target Milestone CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00319.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D9065 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|cmoller at redhat dot com |unassigned at sourceware | |dot org AssignedTo|unassigned at sourceware |tromey at redhat dot com |dot org | Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |7.7 Fr=C3=A9d=C3=A9ric Buclin changed: What |Removed |Added ---------------------------------------------------------------------------- CC|"grover, grover at kuchera | |dot com | --- Comment #3 from Tom Tromey 2013-02-22 19:35:= 49 UTC --- (In reply to comment #2) > I think this can easily be done for classes with vtables. > For other types it does not appear to be easy; it may not > even be possible. We can be optimistic and try to find the symbol. For a type named T, we can just look up the symbol "typeinfo for T". E.g., from libstdc++ [...] 0000003be82eec80 V typeinfo for signed char 0000003be82eee60 V typeinfo for bool 0000003be82eece0 V typeinfo for char 0000003be82ee7a0 V typeinfo for double [...] --- Comment #4 from Tom Tromey 2013-02-25 16:46:= 03 UTC --- I have an initial patch for this. --- Comment #5 from cvs-commit at gcc dot gnu.org 2013-04-15 17:36:15 UTC --- CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2013-04-15 17:36:14 Modified files: gdb : ChangeLog NEWS breakpoint.c c-exp.y cp-abi.c=20 cp-abi.h eval.c expprint.c gnu-v3-abi.c parse.c=20 std-operator.def=20 gdb/testsuite : ChangeLog=20 Added files: gdb/testsuite/gdb.cp: typeid.cc typeid.exp=20 Log message: PR c++/9065: * NEWS: Update. * breakpoint.c (watchpoint_exp_is_const): Add OP_TYPEID. * c-exp.y (TYPEID): New token. (exp): Add new TYPEID productions. (ident_tokens): Add "typeid". * cp-abi.c (cplus_typeid, cplus_typeid_type): New functions. * cp-abi.h (cplus_typeid, cplus_typeid_type): Declare. (struct cp_abi_ops) : New fields. * eval.c (evaluate_subexp_standard) : New case. * expprint.c (dump_subexp_body_standard) : New case. * gnu-v3-abi.c (std_type_info_gdbarch_data): New global. (build_std_type_info_type, gnuv3_get_typeid_type) (gnuv3_get_typeid): New functions. (init_gnuv3_ops): Initialize std_type_info_gdbarch_data. Set new fields on ABI object. * parse.c (operator_length_standard) : New case. * std-operator.def (OP_TYPEID): New. gdb/testsuite * gdb.cp/typeid.cc: New file. * gdb.cp/typeid.exp: New file. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=3Ds= rc&r1=3D1.15412&r2=3D1.15413 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=3Dsrc&r1= =3D1.588&r2=3D1.589 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot= =3Dsrc&r1=3D1.754&r2=3D1.755 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-exp.y.diff?cvsroot=3Dsrc= &r1=3D1.116&r2=3D1.117 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cp-abi.c.diff?cvsroot=3Dsr= c&r1=3D1.40&r2=3D1.41 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/cp-abi.h.diff?cvsroot=3Dsr= c&r1=3D1.25&r2=3D1.26 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/eval.c.diff?cvsroot=3Dsrc&= r1=3D1.181&r2=3D1.182 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/expprint.c.diff?cvsroot=3D= src&r1=3D1.67&r2=3D1.68 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gnu-v3-abi.c.diff?cvsroot= =3Dsrc&r1=3D1.82&r2=3D1.83 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parse.c.diff?cvsroot=3Dsrc= &r1=3D1.139&r2=3D1.140 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/std-operator.def.diff?cvsr= oot=3Dsrc&r1=3D1.10&r2=3D1.11 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?c= vsroot=3Dsrc&r1=3D1.3624&r2=3D1.3625 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/typeid.cc= .diff?cvsroot=3Dsrc&r1=3DNONE&r2=3D1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/typeid.ex= p.diff?cvsroot=3Dsrc&r1=3DNONE&r2=3D1.1 --- Comment #6 from Tom Tromey 2013-04-15 18:15:= 53 UTC --- Fix checked in. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug. >>From gdb-prs-return-13731-listarch-gdb-prs=sources.redhat.com@sourceware.org Fri May 24 15:37:28 2013 Return-Path: Delivered-To: listarch-gdb-prs@sources.redhat.com Received: (qmail 30644 invoked by alias); 24 May 2013 15:37:28 -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 30616 invoked by uid 55); 24 May 2013 15:37:28 -0000 From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/12649] reproducer for races of expect incomplete reads Date: Fri, 24 May 2013 15:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: polacek at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: multipart/alternative; boundary="1369409848.03b6Fe1E1.30452"; charset="UTF-8" X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-q2/txt/msg00320.txt.bz2 --1369409848.03b6Fe1E1.30452 Date: Fri, 24 May 2013 15:37:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-length: 974 http://sourceware.org/bugzilla/show_bug.cgi?id=12649 --- Comment #13 from cvs-commit at gcc dot gnu.org --- CVSROOT: /cvs/src Module name: src Changes by: jkratoch@sourceware.org 2013-05-24 15:37:25 Modified files: gdb/testsuite : ChangeLog gdb/testsuite/gdb.mi: mi-dprintf.exp Log message: gdb/testsuite/ PR testsuite/12649 * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace $mi_gdb_prompt expectation by mi_expect_stop. (mi 1st dprintf, agent, mi 2nd dprintf, agent) (mi info dprintf second time): Replace them by mi_send_resuming_command and mi_expect_stop. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3680&r2=1.3681 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-dprintf.exp.diff?cvsroot=src&r1=1.2&r2=1.3 -- You are receiving this mail because: You are on the CC list for the bug. --1369409848.03b6Fe1E1.30452 Date: Fri, 24 May 2013 15:37:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-length: 2125

Comment # 13 on bug 12649 from cvs-commit@gcc.gnu.org
CVSROOT:    /cvs/src
Module name:    src
Changes by:    jkratoch@sourceware.org    2013-05-24 15:37:25

Modified files:
    gdb/testsuite  : ChangeLog 
    gdb/testsuite/gdb.mi: mi-dprintf.exp 

Log message:
    gdb/testsuite/
    PR testsuite/12649
    * gdb.mi/mi-dprintf.exp (mi_continue_dprintf) (mi 2nd dprintf): Replace
    $mi_gdb_prompt expectation by mi_expect_stop.
    (mi 1st dprintf, agent, mi 2nd dprintf, agent)
    (mi info dprintf second time): Replace them by mi_send_resuming_command
    and mi_expect_stop.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3680&r2=1.3681
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-dprintf.exp.diff?cvsroot=src&r1=1.2&r2=1.3


You are receiving this mail because:
  • You are on the CC list for the bug.
--1369409848.03b6Fe1E1.30452--