Minor changes/fixes to kdevelop-2.1

jbb jbb at kdevelop.org
Sun Feb 3 02:18:04 UTC 2002


Hi,

This one should run on qt2 as well as qt3 - I hope.

I've checked that "ab\\0ab\\00ab\\000ab\\0\\00\\000" returns 
"ab\\0ab\\00ab\\000ab\\0\\00\\000" for both gdb's that I have.

Note that"ab\0abc" will return "ab" since you've just embed a null into the 
middle of a string.

Also note that I print "\\" and not '\' for the slashes in the string. This is 
not correct but I'm not fixing this today... and don't plan on fixing this... 
If someone wants to fix this please go ahead. I'll test for both gdb's (in 
the weekend) if you send me (or the list) a patch.

Thanks for checking the previous patch, Gustl. Could you give this one a whirl 
as well :-)

If all works well for kde2, could someone apply it as I'm away now until next 
weekend

Thanks,

jbb

jbb wrote:
> Can someone check that the folloiwing changes/fixes work on kde-2.x as I
> only have kde-3 now.

 my system: suse 7.3 / kde 2.2.1 / kdevelop 2.1 from cvs + patch
     GNU gdb 20010316

> 1/ Remove (3) from manpage so that -
>         - you are presented with a choice if there's more that one page in
>           different sections for the same item. (eg printf 1 and printf 3)
>         - you can enter the section in the manpage dialog (if you want)
>         This relies on the khtml part dealing with it - I'm unsure if
> kde2.x will do this correctly.

works here

> 2/ Fix parsing qstrings when using current cvs gdb (could be in 5.1 as
> well). The gdb output for qstring values has changed slightly causing the
> string to be displayed incorrectly.

doesn't work ;-(
qt2 doesnt understand {1,3}
btw: i don't think its correct either:
if there is a string like
  QString tst("abcdef\001g");
your replacement would show it as "abcdef1g"

Gustl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdevelop.diff.gz
Type: application/x-gzip
Size: 1156 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20020203/4526a120/attachment.gz>


More information about the KDevelop-devel mailing list