all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "William K. Foster" <wkf@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: GUD gdb not working in Emacs v23.1.1?
Date: Sat, 22 Aug 2009 11:18:01 -0700	[thread overview]
Message-ID: <aca4364f0908221118l60040a3ap8d2ff97b31c00d36@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]

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 <gdb_do_one_event>,
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 <captured_command_loop>,
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 <captured_main>,
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

[-- Attachment #2: Type: text/html, Size: 2007 bytes --]

             reply	other threads:[~2009-08-22 18:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22 18:18 William K. Foster [this message]
2009-08-23  3:10 ` GUD gdb not working in Emacs v23.1.1? Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aca4364f0908221118l60040a3ap8d2ff97b31c00d36@mail.gmail.com \
    --to=wkf@alum.mit.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.