all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: voip technocrat <tech_voip@yahoo.co.in>
Subject: c compiling and running in emacs
Date: Sat, 12 Feb 2005 08:20:31 +0000 (GMT)	[thread overview]
Message-ID: <20050212082031.19734.qmail@web8304.mail.in.yahoo.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 837 bytes --]

hello friends,
 
i have downloaded and installed gnu-emacs -21.2.1 
 
my aim is to see the source file line by line along while running with gdb
 
i.e while debugging tracking line by line 
 
the steps which i done is
 
i have a sample file called hello.c which contains
 
#include <stdio.h>
 
main()
{
printf("hello1 \n");
printf("hello2 \n");
printf("hello3 \n");
}
 
compiled with cc hello.c -o hello.o
 
and in emacs i opend the file file - > open through menu bar i.e hello.c
 
and then i preseed M-x gdb
 
then i got
 
run gdb (like this): gdb hello.o
 
it show s directly the gdb buffer / screen not the source file with pointing 
 
line by line so how to achive this
 
when i say run in the gdb screen it s running properly.
 
help me in this
 
with regards
rama kanth
 


 

Yahoo! India Matrimony: Find your life partneronline.

[-- Attachment #1.2: Type: text/html, Size: 1702 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2005-02-12  8:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-12  8:20 voip technocrat [this message]
2005-02-12 10:38 ` c compiling and running in emacs Peter Dyballa
     [not found] ` <mailman.1859.1108205561.2841.help-gnu-emacs@gnu.org>
2005-02-14 13:28   ` giglio robbo' d'acciaio

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=20050212082031.19734.qmail@web8304.mail.in.yahoo.com \
    --to=tech_voip@yahoo.co.in \
    /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.