LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2004, 05:25 AM   #1
varala_kanth
Member
 
Registered: Feb 2004
Posts: 51

Rep: Reputation: 15
problem i using emacs with gdb debugger?


hello friends,

i am running emacs editor from one directory

in that same directory i have the hello.c file and compiled file hello.o

iam opeining the emacs editor and gdb from that one

putting the break on first line of the hello.c

so when i execute it using run

it is not showing the source in the buffer of the emacs editor

it is showing the signal as shown below.

"77 in ../sysdeps/i386/elf/start.S"

so pleae tell me what might be the problem
 
Old 04-03-2004, 11:27 AM   #2
jitus
LQ Newbie
 
Registered: Mar 2004
Location: Mumbai(Bombay)
Distribution: Red Hat 8
Posts: 20

Rep: Reputation: 0
Try this
Code:
$gcc -o hello hello.c
$gdb hello
then it opens gdb prompt
Code:
gdb>run
did i help u? send reply.
 
Old 04-05-2004, 02:43 AM   #3
varala_kanth
Member
 
Registered: Feb 2004
Posts: 51

Original Poster
Rep: Reputation: 15
hello friend

it is not working

please suggest alternative
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GDB (GNU DeBugger) plutonas Linux - Software 8 03-19-2013 01:09 PM
normal gdb and spec gdb for kgdb Igor007 Programming 1 09-23-2005 05:15 PM
Compiling xmame for debugging: gdb and mame debugger CooManChu Linux - Games 0 05-29-2005 11:22 AM
error in emacs with gdb varala_kanth Linux - Software 0 04-05-2004 02:40 AM
emacs with gdb error varala_kanth Linux - Software 0 04-03-2004 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration