public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/39073]  New: [4.4 Regression] unable to debug CP2K (no local symbols)
@ 2009-02-02  8:58 jv244 at cam dot ac dot uk
  2009-02-02  8:59 ` [Bug debug/39073] " jv244 at cam dot ac dot uk
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-02-02  8:58 UTC (permalink / raw)
  To: gcc-bugs

I find that I can not print local variables (none that is) if I use 4.4 for
compiling CP2K, while it goes fine with 4.3.

Reproducing requires these steps:

wget http://www.pci.uzh.ch/vandevondele/tmp/CP2K_2008_12_03.tgz
tar -xzvf CP2K_2008_12_03.tgz
cd CP2K_2008_12_03/
#
# change FCFLAGS to read
# FCFLAGS = -O0 -g
# be sure lapack/blas are available for linking 
# 
vi Makefile 
make
gdb ./cp2k.sopt
(gdb) run test.inp
^C
Program received signal SIGINT, Interrupt.
0x00000000006bb92a in __distribution_optimize_MOD_update_cost_cpu_diff () at
distribution_optimize.F:361
361            IF (local_cols_new(i).NE.local_cols_old(i)) THEN
(gdb) print i
No symbol "i" in current context.
(gdb) info locals
No locals.

wherever one breaks, local symbols can not be found. The same goes fine using
4.3.1


-- 
           Summary: [4.4 Regression] unable to debug CP2K (no local symbols)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39073


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-02-12  9:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-02  8:58 [Bug debug/39073] New: [4.4 Regression] unable to debug CP2K (no local symbols) jv244 at cam dot ac dot uk
2009-02-02  8:59 ` [Bug debug/39073] " jv244 at cam dot ac dot uk
2009-02-02  9:26 ` burnus at gcc dot gnu dot org
2009-02-02  9:36 ` burnus at gcc dot gnu dot org
2009-02-02  9:45 ` burnus at gcc dot gnu dot org
2009-02-02  9:49 ` jv244 at cam dot ac dot uk
2009-02-02  9:51 ` jakub at gcc dot gnu dot org
2009-02-02 10:53 ` jakub at gcc dot gnu dot org
2009-02-02 11:10 ` jv244 at cam dot ac dot uk
2009-02-02 11:57 ` jakub at gcc dot gnu dot org
2009-02-02 12:14 ` jv244 at cam dot ac dot uk
2009-02-02 13:48 ` jan dot kratochvil at redhat dot com
2009-02-04 20:53 ` jv244 at cam dot ac dot uk
2009-02-06  1:23 ` pinskia at gcc dot gnu dot org
2009-02-07 20:12 ` burnus at gcc dot gnu dot org
2009-02-12  9:35 ` jan dot kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).