all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: "Strauss\, Nicholas C" <nicholas.c.strauss@boeing.com>
Cc: 11901@debbugs.gnu.org
Subject: bug#11901: redhat linux 6.0 / emacs gdb
Date: Tue, 10 Jul 2012 16:04:52 -0400	[thread overview]
Message-ID: <by394zo00r.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <782513E05817544B803E3832AD1925D2043DCCAE46@XCH-MW-09V.mw.nos.boeing.com> (Nicholas C. Strauss's message of "Tue, 10 Jul 2012 10:35:17 -0500")

"Strauss, Nicholas C" wrote:

> I am running emacs 29.1.1 and gdb 7.1-29el6 in redhat linux 6.0 64-bit

I'll assume you meant Emacs 23.1 on RHEL 6.0.

> I do m-x gdb. When I type "attach <pid>" nothing happens.

Works for me on RHEL 6.2:

## Start an Emacs in the background:
/usr/bin/emacs -Q &
  [1] 4612

## Start a second Emacs to debug the first:
/usr/bin/emacs -Q
M-x gdb RET gdb --annotate=3 RET
gdb> attach 4612


If you are deleting the default "--annotate=3" from the gdb
command-line; don't.





      reply	other threads:[~2012-07-10 20:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-10 15:35 bug#11901: redhat linux 6.0 / emacs gdb Strauss, Nicholas C
2012-07-10 20:04 ` Glenn Morris [this message]

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=by394zo00r.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=11901@debbugs.gnu.org \
    --cc=nicholas.c.strauss@boeing.com \
    /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.