From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William K. Foster" Newsgroups: gmane.emacs.help Subject: GUD gdb not working in Emacs v23.1.1? Date: Sat, 22 Aug 2009 11:18:01 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd6ac124cdcc30471bf01d0 X-Trace: ger.gmane.org 1250977843 18165 80.91.229.12 (22 Aug 2009 21:50:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2009 21:50:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 22 23:50:36 2009 Return-path: Envelope-to: geh-help-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 1MeyTr-0001uJ-HV for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 23:50:35 +0200 Original-Received: from localhost ([127.0.0.1]:34186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeyTr-00069Y-3J for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Aug 2009 17:50:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MevAH-00033a-W3 for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:18:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MevAB-00030A-Dw for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:18:08 -0400 Original-Received: from [199.232.76.173] (port=45896 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MevAB-0002zv-53 for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:18:03 -0400 Original-Received: from mail-yx0-f172.google.com ([209.85.210.172]:35957) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MevAA-0001vO-Ok for help-gnu-emacs@gnu.org; Sat, 22 Aug 2009 14:18:02 -0400 Original-Received: by yxe2 with SMTP id 2so955479yxe.14 for ; Sat, 22 Aug 2009 11:18:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=6ZdFgPkA/KsPe5Oj8Xj5EARduTeXRGHHmBw3W823Ah4=; b=FvoIXVV6rIJ5yNRchIsk71gqSiJhtUXcqWGOdVa9OYansut1RKcq+uxhmhpnw7zdN7 3mCWU4fDiRbjuixC0AAekc1OzQtRylt1m39Q1YIWTMxLI53QGBPQ7jq5zu5ciMCneVFP wiRoNSHrsVAKLU9eWZHYJpJNoLIV3fPKPmA2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=oxUKXfbMKjVSv/2FnP08Bb790vnMr2NrSNQNYwOohSp0ZsNDKlXIzvvnnrOv1sn2Mn qmWd/ohrQ+Zpte8R+YDeMq35oVNsQj41gwtpQmZIjIxHCNApfwrjwZQ+LjAS7ZobGTxC XAUwKvsEsEwwysuysZgaKqdTGafa7afMFPp6w= Original-Received: by 10.150.4.2 with SMTP id 2mr3458686ybd.289.1250965081348; Sat, 22 Aug 2009 11:18:01 -0700 (PDT) X-Google-Sender-Auth: ed02e4bc8b4c2d0f X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 22 Aug 2009 17:47:49 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67433 Archived-At: --000e0cd6ac124cdcc30471bf01d0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, I am trying to move from Emacs v22.3.1 to v23.1.1 and all was going well until I tried to run gdb using gud inside Emacs. When I do meta-x gdb and give a command of 'gdb /my/executable/here' the window comes up fine, but when I type a command at the gdb prompt upon hitting return key to execute the command, nothing happens, status bar says 'Debugger:run' and the result is never shown. I can type 'ctrl-c ctrl-c' to kill the command and get the '(gdb)' prompt again, but another command just fails the same way. This is gdb v6.8 on Linux Centos v4 32bit. Has anyone else faced this issue? What is the best way to proceed? I attached to gdb from the old emacs and got this stack trace: #0 0x00fd77a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x0020108d in poll () from /lib/tls/libc.so.6 #2 0x08111a07 in gdb_do_one_event (data=0x0) at event-loop.c:759 #3 0x0810f05f in catch_errors (func=0x8111970 , func_args=0x0, errstring=0x8236200 "", mask=6) at exceptions.c:513 #4 0x080c25e7 in tui_command_loop (data=0x0) at .././gdb/tui/tui-interp.c:153 #5 0x0810f2cf in current_interp_command_loop () at interps.c:276 #6 0x0807f0b3 in captured_command_loop (data=0x0) at .././gdb/main.c:99 #7 0x0810f05f in catch_errors (func=0x807f0a8 , func_args=0x0, errstring=0x8236200 "", mask=6) at exceptions.c:513 #8 0x0807f7eb in captured_main (data=0xbff00a60) at .././gdb/main.c:882 #9 0x0810f05f in catch_errors (func=0x807f0e0 , func_args=0xbff00a60, errstring=0x8236200 "", mask=6) at exceptions.c:513 #10 0x08080027 in gdb_main (args=0x7fffffff) at .././gdb/main.c:891 #11 0x0807f0a1 in main (argc=-4, argv=0xfffffffc) at gdb.c:33 #12 0x00153df3 in __libc_start_main () from /lib/tls/libc.so.6 #13 0x0807efdd in _start () Thanks. -William --000e0cd6ac124cdcc30471bf01d0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

I am trying to move from Emacs v22.3.1 to v23.1.1 and all was= going well until I tried to run gdb using gud inside Emacs.

When I = do meta-x gdb and give a command of 'gdb /my/executable/here' the w= indow comes up fine, but when I type a command at the gdb prompt upon hitti= ng return key to execute the command, nothing happens, status bar says '= ;Debugger:run' and the result is never shown.=A0 I can type 'ctrl-c= ctrl-c' to kill the command and get the '(gdb)' prompt again, = but another command just fails the same way.

This is gdb v6.8 on Linux Centos v4 32bit.

Has anyone else faced= this issue?=A0 What is the best way to proceed?

I attached to gdb f= rom the old emacs and got this stack trace:

#0=A0 0x00fd77a2 in _dl_= sysinfo_int80 () from /lib/ld-linux.so.2
#1=A0 0x0020108d in poll () from /lib/tls/libc.so.6
#2=A0 0x08111a07 in = gdb_do_one_event (data=3D0x0) at event-loop.c:759
#3=A0 0x0810f05f in ca= tch_errors (func=3D0x8111970 <gdb_do_one_event>, func_args=3D0x0, err= string=3D0x8236200 "", mask=3D6) at exceptions.c:513
#4=A0 0x080c25e7 in tui_command_loop (data=3D0x0) at .././gdb/tui/tui-inter= p.c:153
#5=A0 0x0810f2cf in current_interp_command_loop () at interps.c:= 276
#6=A0 0x0807f0b3 in captured_command_loop (data=3D0x0) at .././gdb/m= ain.c:99
#7=A0 0x0810f05f in catch_errors (func=3D0x807f0a8 <captured_command_loo= p>, func_args=3D0x0, errstring=3D0x8236200 "", mask=3D6) at ex= ceptions.c:513
#8=A0 0x0807f7eb in captured_main (data=3D0xbff00a60) at = .././gdb/main.c:882
#9=A0 0x0810f05f in catch_errors (func=3D0x807f0e0 <captured_main>, f= unc_args=3D0xbff00a60, errstring=3D0x8236200 "", mask=3D6) at exc= eptions.c:513
#10 0x08080027 in gdb_main (args=3D0x7fffffff) at .././gdb= /main.c:891
#11 0x0807f0a1 in main (argc=3D-4, argv=3D0xfffffffc) at gdb.c:33
#12 0x= 00153df3 in __libc_start_main () from /lib/tls/libc.so.6
#13 0x0807efdd = in _start ()

Thanks.

-William
--000e0cd6ac124cdcc30471bf01d0--