[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: branches/KDE/3.5/kdevelop/languages/cpp/debugger
From: Vladimir Prus <ghost () cs ! msu ! su>
Date: 2005-09-07 15:28:41
Message-ID: 200509071928.41650.ghost () cs ! msu ! su
[Download RAW message or body]
On Wednesday 07 September 2005 19:19, Robert Gruber wrote:
> SVN commit 458232 by rgruber:
>
> Fixed problem that no further struct members get showen in
> variable-widget when gdb prints something like ,'' <repeats 10 times>
> for one of the struct's members
>
>
> M +2 -2 gdbparser.cpp
>
>
> --- branches/KDE/3.5/kdevelop/languages/cpp/debugger/gdbparser.cpp
> #458231:458232 @@ -402,7 +402,7 @@
> // $1 = 0x804ddf3 ' ' <repeats 20 times>, "TESTSTRING"
> // after having finished with the "repeats"-block we need
> // to check if the string continues
> - if ( buf[0] == ',' && buf[2] == '"' ) {
> + if ( buf[0] == ',' && (buf[2] == '\"' || buf[2] == '\'') )
I wonder if we should just emit
set print repeats 10000000000
on gdb startup, and don't try to handle all possible cases where gdb uses
'repeats'. We can also consider:
set print elements 1000000000
so that all array elements are always printed.
- Volodya
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic