From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: nickrob@snap.net.nz (Nick Roberts) Newsgroups: gmane.emacs.help Subject: Re: emacs 23 gdb mouse set breakpoint Date: Fri, 10 Apr 2009 09:56:53 +1200 Message-ID: <18910.28453.522397.178368@totara.tehura.co.nz> References: <04d31316-a3ed-451c-8709-702b503ad475@h28g2000yqd.googlegroups.com> <533fc6d7-1b2c-400a-a209-125efdfed94d@r28g2000vbp.googlegroups.com> <255a1c7d-9dfd-4c57-bd82-96ac2b545a73@h28g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=unknown Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239314259 7635 80.91.229.12 (9 Apr 2009 21:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 21:57:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Ritchie Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 09 23:58:57 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 1Ls2Gu-0001lj-Q6 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 23:58:57 +0200 Original-Received: from localhost ([127.0.0.1]:56499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ls2FW-0006OQ-FT for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2009 17:57:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ls2F7-0006OB-Ph for help-gnu-emacs@gnu.org; Thu, 09 Apr 2009 17:57:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ls2F3-0006NK-As for help-gnu-emacs@gnu.org; Thu, 09 Apr 2009 17:57:05 -0400 Original-Received: from [199.232.76.173] (port=55157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ls2F2-0006NG-UM for help-gnu-emacs@gnu.org; Thu, 09 Apr 2009 17:57:00 -0400 Original-Received: from [202.37.101.25] (port=56952 helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ls2F2-000332-5O for help-gnu-emacs@gnu.org; Thu, 09 Apr 2009 17:57:00 -0400 Original-Received: from totara (71.62.255.123.dynamic.snap.net.nz [123.255.62.71]) by viper.snap.net.nz (Postfix) with ESMTP id 924373D9DE6; Fri, 10 Apr 2009 09:56:54 +1200 (NZST) Original-Received: by totara (Postfix, from userid 1000) id 99433C11B; Fri, 10 Apr 2009 09:56:53 +1200 (NZST) Original-Newsgroups: gnu.emacs.help In-Reply-To: <255a1c7d-9dfd-4c57-bd82-96ac2b545a73@h28g2000yqd.googlegroups.com> X-Mailer: VM 7.19 under Emacs 22.2.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:63616 Archived-At: > Just curious, which version of 6.8 have you tested? Were having > problems at the beginning? Do you still have the source of that > version somewhere? I've checked GDB out from the CVS repository: cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co gdb > I have tried all the cvs versions available in the repos, but non of > them worked. These are the packages I tried: > > gdb-6.8.50.20090407 > gdb-6.8.50.20090408 > gdb-6.8.50.20090409 > gdb-weekly-6.8.50.20090324 These should work too but checking out from CVS allows you to keep updating more easily and maybe even contribute patches. > They are all having the same problem, here is the compiling error > (actually warnings): A while ago I modified Makefile.in (in the gdb directory? - I can't see now as I only use Mac OSX at work.) to remove the -Werror option which reports (the apparently harmless) warnings as errors. It appears that the source of the warings must not have been fixed, so I guess there aren't many people using this port (although this might be the wrong conclusion) > make all-am > make[3]: Nothing to be done for `all-am'. > gcc-4.2 -g -O2 -I. -I.././gdb -I.././gdb/common -I.././gdb/config - > DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../ > include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd - > I.././gdb/../include -I../libdecnumber -I.././gdb/../libdecnumber - > I./../intl -I.././gdb/gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -Wall - > Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno- > pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror -c - ^^^^^^^ It should compile without this. > o amd64-tdep.o -MT amd64-tdep.o -MMD -MP -MF .deps/amd64-tdep.Tpo > amd64-tdep.c > cc1: warnings being treated as errors > In file included from inferior.h:35, > from amd64-tdep.c:32: > breakpoint.h: In function ?VEC_bp_location_p_last?: > breakpoint.h:343: warning: format not a string literal, argument types > not checked >... -- Nick http://www.inet.net.nz/~nickrob