More debugger bugs
Vladimir Prus
ghost at cs.msu.su
Wed Nov 29 06:07:09 UTC 2006
Andras Mantia wrote:
> On Tuesday 28 November 2006 23:33, Vladimir Prus wrote:
>> Hardly anything we can do about it -- KDevelop 3.4 is not released
>> either, anyway.
>
> I know, but I wonder if at that time we will have a new gdb release and
> if that release will be available for the common distributions and
> platforms KDevelop is running.
All I can say is that I'll try to get this fix into gdb 6.6, to be released
really soon.
>> I think we've discovered some time ago on IRC, that unsermake does
>> not compile with -O0 -g -- which leads to exactly the problems you
>> see.
>
> This is what I meant with --enable-debug without full. I found the whole
> flag line used to compile:
>
> CXXFLAGS
> = -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align
> -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g
> -O2
> -fno-schedule-insns -fno-inline -pipe -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-reorder-blocks
> -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION
>
>
> I checked and --enable-debug=full gives us:
> CXXFLAGS
> = -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith
> -fno-builtin -g3 -fno-inline -pipe -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
>
> So -O2, -fno-schedule-insns is missing.
Ah yes, so it's -02 that breaks things. I'll try to reproduce this on a
smaller testcase.
- Volodya
More information about the KDevelop-devel
mailing list