From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17597 invoked by alias); 23 Aug 2010 20:31:00 -0000 Received: (qmail 17582 invoked by uid 48); 23 Aug 2010 20:31:00 -0000 Date: Mon, 23 Aug 2010 20:31:00 -0000 Message-ID: <20100823203100.17581.qmail@sourceware.org> From: "tromey at redhat dot com" To: gdb-prs@sourceware.org In-Reply-To: <20090921082848.10676.alexl@redhat.com> References: <20090921082848.10676.alexl@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug python/10676] Would like an equality compare method for gdb.Type X-Bugzilla-Reason: CC 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: 2010-q3/txt/msg00289.txt.bz2 ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-23 20:26 ------- Subject: Bug 10676 CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2010-08-23 20:26:10 Modified files: gdb : ChangeLog gdb/python : py-type.c gdb/testsuite : ChangeLog gdb/testsuite/gdb.python: py-type.exp Log message: gdb PR python/10676: * python/py-type.c: Include bcache.h, vec.h. (struct type_equality_entry): New. (compare_strings): New function. (check_types_equal): Likewise. (check_types_worklist): Likewise. (typy_richcompare): Likewise. (type_object_type): Set tp_richcompare field. gdb/testsuite PR python/10676: * gdb.python/py-type.exp (test_fields): Add tests for type equality. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12107&r2=1.12108 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-type.c.diff?cvsroot=src&r1=1.13&r2=1.14 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2426&r2=1.2427 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-type.exp.diff?cvsroot=src&r1=1.8&r2=1.9 ------- Additional Comments From tromey at redhat dot com 2010-08-23 20:30 ------- I checked in the fix. -- What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|6.8 |7.3 http://sourceware.org/bugzilla/show_bug.cgi?id=10676 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.