unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Shankar K E <shankar_k_e@hotmail.com>
Subject: gdb and emacs
Date: 11 Jan 2003 10:48:19 GMT	[thread overview]
Message-ID: <slrnb1vu36.f58.shankark@eb9882.india.hp.com> (raw)

Hi,

I want to display line numbers when I am debugging using gdb under emacs
(using gud).

The source file is displayed in the other window, I need line numbers to
be displayed along with the source file. I want this to happen only when
I use gdb under emacs.

How do I start gud after the environment settings have been changed,
gud seems to be using the settings when emacs started off from the
shell.

I restart emacs whenever there is a change in the environment, could
you suggest me an alternative option.

Also Is there any environment variable which is set if I am within a
emacs session. I would like to do some additional processing in my
.bashrc when emacs is launched.

Please let me know on how to go about it.

Thanks in Advance
--

Shankar 

             reply	other threads:[~2003-01-11 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-11 10:48 Shankar K E [this message]
2003-01-20  7:50 ` gdb and emacs Lee Sau Dan

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=slrnb1vu36.f58.shankark@eb9882.india.hp.com \
    --to=shankar_k_e@hotmail.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).