From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: GDB on Mac is (NOT) Broken Date: Mon, 22 Mar 2010 21:13:33 -0400 Message-ID: References: <19357.53872.672127.600861@totara.tehura.co.nz> <19359.5799.721358.312552@totara.tehura.co.nz> <19365.49601.379093.424303@totara.tehura.co.nz> <19366.56894.138747.370358@totara.tehura.co.nz> <19367.55595.93850.907520@totara.tehura.co.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269306910 8342 80.91.229.12 (23 Mar 2010 01:15:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 23 Mar 2010 01:15:10 +0000 (UTC) Cc: YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: nickrob@snap.net.nz (Nick Roberts) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 23 02:15:05 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ntsi0-0007gX-MH for ged-emacs-devel@m.gmane.org; Tue, 23 Mar 2010 02:15:05 +0100 Original-Received: from localhost ([127.0.0.1]:41688 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ntsi0-0003p7-4z for ged-emacs-devel@m.gmane.org; Mon, 22 Mar 2010 21:15:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ntsgb-0003Qi-ID for emacs-devel@gnu.org; Mon, 22 Mar 2010 21:13:37 -0400 Original-Received: from [140.186.70.92] (port=49059 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NtsgZ-0003Pn-VC for emacs-devel@gnu.org; Mon, 22 Mar 2010 21:13:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NtsgY-0006nY-GB for emacs-devel@gnu.org; Mon, 22 Mar 2010 21:13:35 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50286 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NtsgY-0006nQ-DH for emacs-devel@gnu.org; Mon, 22 Mar 2010 21:13:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEALeyp0vO+IPa/2dsb2JhbACbKXS9dYJXgiYEixk X-IronPort-AV: E=Sophos;i="4.51,291,1267419600"; d="scan'208";a="58844201" Original-Received: from 206-248-131-218.dsl.teksavvy.com (HELO ceviche.home) ([206.248.131.218]) by ironport2-out.pppoe.ca with ESMTP; 22 Mar 2010 21:13:33 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1F8AE660F2; Mon, 22 Mar 2010 21:13:33 -0400 (EDT) In-Reply-To: <19367.55595.93850.907520@totara.tehura.co.nz> (Nick Roberts's message of "Tue, 23 Mar 2010 09:55:07 +1300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:122515 Archived-At: >> > How is it unsafe? >> It changes the set of commands passed between Emacs and GDB, so it's not >> obviously "safe" (in the sense of "cannot introduce a change in behavior"). > On platforms other than Apple's behaviour is unchanged: there is no match in > gdb-apple-test and it does nothing. How do you know that sending a command like "server show version" will never have any effect at all neither on the GDB process nor on the Emacs state nor on the synchronization between the two? The things we've seen in the Emacs<->GDB interaction make me very suspicious of such things. Stefan