[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 140594] New: kdevelop fails to evaluate local variables
From: kbugger <kbugger () piments ! com>
Date: 2007-01-25 9:56:45
Message-ID: 20070125105644.140594.kbugger () piments ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=140594
Summary: kdevelop fails to evaluate local variables
Product: kdevelop
Version: 3.3.94
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: kbugger piments com
Version: 3.3.94 (using KDE KDE 3.5.5)
Installed from: Gentoo Packages
Compiler: gcc 4.1.1
OS: Linux
http://www.kdevelop.org/phorum5/read.php?2,30316,30326#msg-30326
Hi,
I have just managed to import my current gimp cvs tree into kdevelop. It built and \
installed with surprisingly little effort. I was very impressed at how easy this was. \
I am able to run it from the debugger but if I set a break point, when it stops it \
throws a whole series of error messages like the following (one for each variable in \
the file!).
Debugger error
Debugger reported the following error:
Can't take address of "row" which isn't an lvalue.
I set the following CFLAGS from kdev:
-O0 -march=athlon-xp -g3
also tried -g -g3 -gdb -gdb3 same results.
I am getting some things evaluated but mostly not.
here's code imeditately refering to "rows" that was giving this particualar error.
I have loads of similar errors at every step (often the same error repeated at every \
line even if not in that line.)
Basically it is unusable even to step through the code without evaluation as it is. I \
need to resolve this issue.
/*
* non-interpolating scale_region. [adam]
*/
static void
scale_region_no_resample (PixelRegion *srcPR,
PixelRegion *destPR)
{
const gint width = destPR->w;
const gint height = destPR->h;
const gint orig_width = srcPR->w;
const gint orig_height = srcPR->h;
const gint bytes = srcPR->bytes;
gint *x_src_offsets;
gint *y_src_offsets;
guchar *src;
guchar *dest;
gint last_src_y;
gint row_bytes;
gint x, y;
gint b;
/* the data pointers... */
x_src_offsets = g_new (gint, width * bytes);
y_src_offsets = g_new (gint, height);
src = g_new (guchar, orig_width * bytes);
dest = g_new (guchar, width * bytes);
As a secondary issue , with all these error msgs it becomes impossible to use kdev at \
all , there are a dozen boxed to click at every step of the code. If these could be \
silenced I could at least use it to trace the code even without many of the variables \
being available.
I have rebuilt both kdev and gdb using std compiler options -march=athlon-xp -O2 \
-pipe
Also compared to 3.3.6 and it was essentially the same.
I'm very impressed that I could import and build gimp cvs tree with kdevelop, if I \
could resolve this issue it would be imensely useful.
TIA.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic