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

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

Re: emacs 23 gdb mouse set breakpoint


From: Nick Roberts
Subject: Re: emacs 23 gdb mouse set breakpoint
Date: Fri, 10 Apr 2009 09:56:53 +1200

 > 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




reply via email to

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