help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb in emacs


From: elbeardmorez
Subject: Re: gdb in emacs
Date: Tue, 3 May 2011 12:58:34 -0700 (PDT)


belnac wrote:
> 
> Hi,
> 
> I have compiled a very simple C++ test program by issuing the command 
> 
> <pre>g++ -g test.cpp -o test.so</pre>
> 
> I then issued another command to get gdb up and running
> 
> <pre>Run gdb (like this): gdb test.so</pre>
> 
> The binary loads up just fine but I'm unable to run the program. Tried
> executing Run from the Gud menu and I get an error message: <pre>Symbol's
> function definition is void: gud-go</pre>
> 
> I am also unable to run any commands from within gdb's frame -- after
> (gdb). I can type them but nothing really happens (like r to run.)
> 
> What am I doing wrong?
> 
> I am using emacs 23 on Ubuntu 9.1.
> 
> Thanks!
> 

hi,

just got this too. the mistake was removing the '--annotate=3' arg passed to
gdb by default. 

cheers,
Pete.


-- 
View this message in context: 
http://old.nabble.com/gdb-in-emacs-tp27828012p31535919.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]