From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30472 invoked by alias); 27 Sep 2009 04:22:23 -0000 Received: (qmail 30216 invoked by uid 22791); 27 Sep 2009 04:22:22 -0000 X-SWARE-Spam-Status: No, hits=4.8 required=5.0 tests=AWL,BAYES_00,CTYME_IXHASH,MIME_BASE64_TEXT,MIME_CHARSET_FARAWAY,RDNS_DYNAMIC,SARE_RECV_SPAM_NAME1,SPF_NEUTRAL,TVD_RCVD_IP X-Spam-Check-By: sourceware.org Received: from 60-248-182-106.HINET-IP.hinet.net (HELO mswedge2.sunplus.com) (60.248.182.106) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Sep 2009 04:22:17 +0000 In-Reply-To: <20090917160537.GL8910@adacore.com> To: Joel Brobecker Cc: don.lee@sunplusct.com, donlee@sourceware.org, gdb-patches@sourceware.org, Pierre Muller MIME-Version: 1.0 Subject: Re: [PING] About score-tdep commit Message-ID: From: don.lee@sunplusct.com Date: Sun, 27 Sep 2009 04:22:00 -0000 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: base64 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00845.txt.bz2 Sm9lbCBCcm9iZWNrZXIgPGJyb2JlY2tlckBhZGFjb3JlLmNvbT4g0LTT2iAy MDA5LTA5LTE4IDAwOjA1OjM3Og0KPiANCj4gVGhhbmtzIGZvciB0aGUgcGlu Zy4NCj4gDQo+IEkgd2FzIGFzc3VtaW5nIHRoYXQgdGhlIHNjb3JlIG1haW50 YWluZXIgd291bGQgYmUgcmVhY3RpbmcgdG8geW91cg0KPiBtZXNzYWdlLiAg UGVyaGFwcyBoZSBkb2VzIG5vdCByZWNlaXZlIGVtYWlscyBzZW50IHRvIGhp cyBzb3VyY2V3YXJlDQo+IGFkZHJlc3MuIFRyeWluZyBvbiBoaXMgcmVndWxh ciBlbWFpbCBhZGRyZXNzLi4uDQo+IA0KDQpTb3JyeSBmb3IgdGhlIGRlbGF5 LCBidXN5IGZvciBvdGhlciBwcm9qZWN0LCBkaWRuJ3QgY2hlY2sgdGhlc2Ug ZW1haWxzIGZvciANCmEgd2hpbGUuDQoNCj4gPiBGaXJzdCBtZXNzYWdlOg0K PiA+IA0KPiA+ICAgSGkgRG9uLA0KPiA+IA0KPiA+ICAgbG9va2luZyBhdCAN Cj4gPiBodHRwOi8vc291cmNld2FyZS5vcmcvZ2RiL2N1cnJlbnQvYXJpLw0K PiA+IEkgZm91bmQgYSByZXZpdmFsIG9mIFRBUkdFVF9IQVNfSEFSRFdBUkVf V0FUQ0hQT0lOVFMgDQo+ID4gbWFjcm9zLCB3aGljaCBzaG91bGQgbm90IGJl IHRoZXJlLg0KPiA+IA0KDQpJJ2xsIGZpeCB0aGVzZSBwcm9ibGVtcyBhcyBz b29uIGFzIHBvc3NpYmxlLg0KDQpkb24NCg== >From gdb-patches-return-67251-listarch-gdb-patches=sources.redhat.com@sourceware.org Sun Sep 27 10:32:35 2009 Return-Path: Delivered-To: listarch-gdb-patches@sources.redhat.com Received: (qmail 6008 invoked by alias); 27 Sep 2009 10:32:34 -0000 Received: (qmail 5999 invoked by uid 22791); 27 Sep 2009 10:32:33 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-yw0-f201.google.com (HELO mail-yw0-f201.google.com) (209.85.211.201) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Sep 2009 10:32:29 +0000 Received: by ywh39 with SMTP id 39so4303529ywh.12 for ; Sun, 27 Sep 2009 03:32:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.93.16 with SMTP id v16mr5658619ybl.205.1254047547476; Sun, 27 Sep 2009 03:32:27 -0700 (PDT) In-Reply-To: <8ba6bed40909242103m3a33cd1ck385bf3240298462c@mail.gmail.com> References: <8ba6bed40903051731s41c9183aha18af51113f3c0ea@mail.gmail.com> <20090306173345.GI3744@adacore.com> <200903061913.43419.pedro@codesourcery.com> <8ba6bed40903070407q3e91f0ffs6fc67b2b9c329081@mail.gmail.com> <8ba6bed40903080716k3fbeb56t5605aef1864b26a3@mail.gmail.com> <8ba6bed40903081910t695c9d93jc34ba1c5d2793a2e@mail.gmail.com> <8ba6bed40909110443v61597c4ci7effd224ce26f937@mail.gmail.com> <20090924005319.GD5134@adacore.com> <8ba6bed40909242103m3a33cd1ck385bf3240298462c@mail.gmail.com> Date: Sun, 27 Sep 2009 10:32:00 -0000 Message-ID: <8ba6bed40909270332r19c9c3cdu39bb96c9ca94112a@mail.gmail.com> Subject: Re: gdb.objc/objcdecode.exp test error.. From: Matt Rice To: Joel Brobecker Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org X-SW-Source: 2009-09/txt/msg00846.txt.bz2 Content-length: 1321 On Thu, Sep 24, 2009 at 9:03 PM, Matt Rice wrote: > On Wed, Sep 23, 2009 at 5:53 PM, Joel Brobecker w= rote: > > >> =A0 =A0(gdb) break create >> >> can result in numerous breakpoints being set if create just happens >> to be the name any ObjC method. And as it turns out, the NSThread >> class has a method called "main"... >> >> I really think that allowing the above shortcut is a mis-feature >> that we should consider removing. We could possibly think about >> introducing another syntax meaning all "create" methods in all >> classes, if it really is needed by ObjC developers. > Well hmm, I'm going to propose another solution: 'set objc words-match-methods ' Here is the reason why: the approach taken by category.diff will never be able to work 100% of the time with pending breakpoints, and a solution for it would also allow c-symbols to match methods, and pending breakpoints on c++ overloaded methods c++ currently disables these by jumping out so decode_line_1 never returns, to take that approach with objc, would basically mean disabling pending breakpoints on all methods, which is kind of throwing the baby out with the bath water. auto could default to no if words-match-methods is buggy or if no objc compilation units have loaded?