LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem i using emacs with gdb debugger? (https://www.linuxquestions.org/questions/linux-software-2/problem-i-using-emacs-with-gdb-debugger-165650/)

varala_kanth 04-03-2004 04:25 AM

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

jitus 04-03-2004 10:27 AM

Try this
Code:

$gcc -o hello hello.c
$gdb hello

then it opens gdb prompt
Code:

gdb>run
did i help u? send reply.

varala_kanth 04-05-2004 01:43 AM

hello friend

it is not working

please suggest alternative


All times are GMT -5. The time now is 12:04 PM.