From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: elbeardmorez Newsgroups: gmane.emacs.help Subject: Re: gdb in emacs Date: Tue, 3 May 2011 12:58:34 -0700 (PDT) Message-ID: <31535919.post@talk.nabble.com> References: <27828012.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1304574770 15241 80.91.229.12 (5 May 2011 05:52:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 May 2011 05:52:50 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 05 07:52:46 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QHrUS-00006a-8h for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2011 07:52:44 +0200 Original-Received: from localhost ([::1]:44041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHrUR-0004Wb-OH for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2011 01:52:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHLk0-0001oT-J3 for Help-gnu-emacs@gnu.org; Tue, 03 May 2011 15:58:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHLjw-0001Ya-GF for Help-gnu-emacs@gnu.org; Tue, 03 May 2011 15:58:40 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:60784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHLjw-0001YW-As for Help-gnu-emacs@gnu.org; Tue, 03 May 2011 15:58:36 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1QHLju-0005Oa-Eh for Help-gnu-emacs@gnu.org; Tue, 03 May 2011 12:58:35 -0700 In-Reply-To: <27828012.post@talk.nabble.com> X-Nabble-From: elbeardmorez@msn.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.139.236.26 X-Mailman-Approved-At: Thu, 05 May 2011 01:52:30 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80912 Archived-At: belnac wrote: > > Hi, > > I have compiled a very simple C++ test program by issuing the command > >
g++ -g test.cpp -o test.so
> > I then issued another command to get gdb up and running > >
Run gdb (like this): gdb test.so
> > 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:
Symbol's
> function definition is void: gud-go
> > 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.