From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5404: 23.1.91; Nextstep port: M-x gdb hangs in tab completion of symbols Date: Mon, 18 Jan 2010 19:26:05 -0500 Message-ID: <20100119002604.GC744@srevilak.net> References: <20100117142534.GB372@srevilak.net> <19283.35226.712794.811198@totara.tehura.co.nz> <20100118155010.GA402@srevilak.net> <19284.58646.218954.708076@totara.tehura.co.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Lb0e7rgc7IsuDeGj" X-Trace: ger.gmane.org 1263861591 7178 80.91.229.12 (19 Jan 2010 00:39:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Jan 2010 00:39:51 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Nick Roberts Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 19 01:39:43 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NX28F-00043X-EU for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jan 2010 01:39:43 +0100 Original-Received: from localhost ([127.0.0.1]:47747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NX28G-0004RK-CW for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jan 2010 19:39:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NX282-0004NR-6e for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 19:39:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NX27w-0004Mt-MK for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 19:39:28 -0500 Original-Received: from [199.232.76.173] (port=42583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NX27w-0004Mq-Fu for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 19:39:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38517) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NX27w-0000xx-5B for bug-gnu-emacs@gnu.org; Mon, 18 Jan 2010 19:39:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NX22j-0001O1-TP; Mon, 18 Jan 2010 19:34:01 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Steve Revilak Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jan 2010 00:34:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5404 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.12638611855313 (code B ref -1); Tue, 19 Jan 2010 00:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jan 2010 00:33:05 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NX21o-0001Ne-OJ for submit@debbugs.gnu.org; Mon, 18 Jan 2010 19:33:05 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NX1vE-0001KH-Iu for submit@debbugs.gnu.org; Mon, 18 Jan 2010 19:26:20 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:33495 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NX1vA-0003nO-Kb for emacs-pretest-bug@gnu.org; Mon, 18 Jan 2010 19:26:12 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NX1v8-00070q-Uj for emacs-pretest-bug@gnu.org; Mon, 18 Jan 2010 19:26:12 -0500 Original-Received: from mail8.sea5.speakeasy.net ([69.17.117.10]:36717) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NX1v8-00070a-FX for emacs-pretest-bug@gnu.org; Mon, 18 Jan 2010 19:26:10 -0500 Original-Received: (qmail 15983 invoked from network); 19 Jan 2010 00:26:07 -0000 Original-Received: from pool-96-233-67-66.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[96.233.67.66]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 19 Jan 2010 00:26:07 -0000 Content-Disposition: inline In-Reply-To: <19284.58646.218954.708076@totara.tehura.co.nz> User-Agent: Mutt/1.5.19 (2009-01-05) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.9 (----) X-Mailman-Approved-At: Mon, 18 Jan 2010 19:33:03 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -5.0 (-----) Resent-Date: Mon, 18 Jan 2010 19:34:01 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34478 gmane.emacs.pretest.bugs:25401 Archived-At: --Lb0e7rgc7IsuDeGj Content-Type: multipart/mixed; boundary="cQXOx3fnlpmgJsTP" Content-Disposition: inline --cQXOx3fnlpmgJsTP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >> (gdb) complete b add_ >> b add_fdes >> b add_one >> b add_profil >> (gdb) >You could do M-x gdb-enable-debug, then=20 > >(gdb) b b add_ > >in the Gud buffer. > >Then inspect gdb-debug-log (C-h v) to see if "complete b add_" gets sent t= o Gdb. Neat trick. :) >I suspect it does and this relates to Apple Gdb and the previous problem w= ith ^M >characters. Here's what I tried. 1. emacs -Q -nw foo.c 2. M-x gdb RET foo RET 3. M-x gdb-enable-debug 4. "b add_" [hangs] 5. C-g twice (stops hanging) 6. C-h v gdb-debug-log RET I'll attach the contents of the *Help* buffer as gdb-debug-log.txt. The last cons in gdb-debug-log.txt is (send-item ... "complete b add_\n"). The second and third cons's above (send-item) seem to contain the completion output. >You could also download and compile FSF Gdb on Mac (I can't remember if you >already have) and try that. I haven't had a chance to build an fsf gdb yet, but I'm downloading gdb-7.0.1 now. I'll try gdb 7.0.1 and let you know how it goes. Steve --cQXOx3fnlpmgJsTP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gdb-debug-log.txt" Content-Transfer-Encoding: quoted-printable gdb-debug-log is a variable defined in `gdb-ui.el'. Its value is shown below. Documentation: List of commands sent to and replies received from GDB. Most recent commands are listed first. This list stores only the last `gdb-debug-log-max' values. This variable is used to debug GDB-UI. Value:=20 ((recv . "=0D\n=1A=1Apre-prompt=0D\n(gdb) =0D\n=1A=1Aprompt=0D\n") (recv . "No breakpoints or watchpoints.=0D\n") (recv . "=0D\n=1A=1Apost-prompt=0D\n") (send-item "server info breakpoints\n" gdb-info-breakpoints-handler) (recv . "=0D\n=1A=1Apre-prompt=0D\n(gdb) =0D\n=1A=1Aprompt=0D\n") (recv . "&\"\\n\\032\\032error-begin\\n\"=0D\n~\"\\n\\032\\032error\\n\"= =0D\n^error,msg=3D\"No registers.\"=0D\n(gdb) =0D\n") (recv . "=0D\n=1A=1Apost-prompt=0D\n") (send-item "server interpreter mi -stack-info-frame\n" gdb-frame-handler-1) (recv . "=0D\n=1A=1Apre-prompt=0D\n(gdb) =0D\n=1A=1Aprompt=0D\n") (recv . "b add_one=0D\nb add_profil=0D\n") (recv . "b add_fdes=0D\n") (recv . "=0D\n=1A=1Apost-prompt=0D\n") (send-item . #("complete b add_\n" 9 15 (fontified t)))) --cQXOx3fnlpmgJsTP-- --Lb0e7rgc7IsuDeGj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (Darwin) iEYEARECAAYFAktU/BwACgkQX7YJI4BuyDQcRQCcD3ARb6RUHVqHh7lWS59fbJNf pKwAn2mL/vZFEWFjFGXuHK3n4K+mQnXS =Rbcs -----END PGP SIGNATURE----- --Lb0e7rgc7IsuDeGj--