From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lucius Fox Newsgroups: gmane.emacs.help Subject: Re: emacs gdb program launcher Date: Fri, 20 Mar 2009 00:36:30 -0700 Message-ID: <528a76e70903200036l1c151175r7ba25f13ae7b1bac@mail.gmail.com> References: <18883.13601.782069.591974@snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1237534642 1328 80.91.229.12 (20 Mar 2009 07:37:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Mar 2009 07:37:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Vincent Liard To: Nick Roberts Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 20 08:38:39 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LkZJL-0006jL-AK for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 08:38:35 +0100 Original-Received: from localhost ([127.0.0.1]:50640 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkZHy-00051E-Le for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Mar 2009 03:37:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LkZHR-0004wU-6d for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:36:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LkZHM-0004un-PY for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:36:36 -0400 Original-Received: from [199.232.76.173] (port=60335 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LkZHM-0004uj-Fm for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:36:32 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.244]:48732 helo=rv-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LkZHM-0006HI-4r for help-gnu-emacs@gnu.org; Fri, 20 Mar 2009 03:36:32 -0400 Original-Received: by rv-out-0506.google.com with SMTP id k29so221525rvb.2 for ; Fri, 20 Mar 2009 00:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=QgwwqnZmWmnLOg+CBwIErYA7gVr/86HnpkVqM4JVw0k=; b=cQiQ+agcThsHTNIxNrB4CQkKWKyahx9rV/QpSa5AeZq1qXchHNZToyNab1IXTn/4Qd 0jeTiSGpfbs/9we4IwKoRR9bJaGCXgxrvBqCg9Zh68mCJOE9M84CaL0X5TIUj4m31YQq 7dTzllyaRWo25PyjX+lpeu90cZLcZUhbq+ANo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=WWAyk6tgAinv1VLAjrEx7lCt5k4NpeULeppUYee/T9FthgQz9ev7PsCiUKF6Hv/bD+ TMkynZtzl4SoWZ16E4lYlA8tuWdGHJl2vrCQJjpPh3hdeDPsiAupasx4xIrWJdQDHFqf kWd1O/7vxXf85P3dA5edPOZFwBURrW+RqRROg= Original-Received: by 10.114.147.1 with SMTP id u1mr2269122wad.115.1237534590790; Fri, 20 Mar 2009 00:36:30 -0700 (PDT) In-Reply-To: <18883.13601.782069.591974@snap.net.nz> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63117 Archived-At: On Thu, Mar 19, 2009 at 11:18 PM, Nick Roberts wrote: > =A0> My god... Of course you're right ! For some reason, it's not yet wor= king > =A0> through the script, but "set annotate 3" issued on the GDB command l= ine > =A0> does the job perfectly. > > Yes, that will generally work but things probably won't initialise proper= ly, > e.g, you won't be able to click in the margin to set breakpoints in buffe= rs > for source files that Emacs is already visiting. > > If the script is bash, for example, then you would probably need to repla= ce > something like: > > =A0exec gdb $@ > > with: > > =A0exec gdb --annotate=3D3 $@ > > for proper initialisation. > Can you please tell me what is ' --annotate=3D3' for? > -- > Nick =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 http://www.inet.net.nz/~nickrob > > >