Debug view receives verbose GDB messages

Jeremy Murphy jeremy.william.murphy at gmail.com
Tue Jul 26 07:11:54 UTC 2016


I just reverted to 4.90.91 and the output is quite different. I've
completely abbreviated the actual program output and some verbose templates
in the line where it hits a breakpoint:


GNU gdb (Gentoo 7.11.1 vanilla) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Signal        Stop Print Pass to program Description
SIG32         No No Yes Real-time event 32
Signal        Stop Print Pass to program Description
SIG41         No No Yes Real-time event 41
Signal        Stop Print Pass to program Description
SIG42         No No Yes Real-time event 42
Signal        Stop Print Pass to program Description
SIG43         No No Yes Real-time event 43
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

---- my program output ---

Breakpoint 1, footprinter::create_split_segments<...templates, templates,
templates...>../footprinter.hpp:146
146    vector<segment_data<double>> segments;


Cheers.

Jeremy


On 26 July 2016 at 16:02, Jeremy Murphy <jeremy.william.murphy at gmail.com>
wrote:

> Hi everyone,
>
> I'm loving KDevelop 5.0 alpha/beta/gamma whatever it is up to.  :)
>
> Except recently, it started sending verbose GDB output to the Debug view
> (along with the actual program output that I would expect) like so:
>
>
> (gdb) 1-gdb-show version
> GNU gdb (Gentoo 7.11.1 vanilla) 7.11.1
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-pc-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <https://bugs.gentoo.org/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word".
> 1^done
> (gdb) 2-gdb-set width 0
> 2^done
>
> ---8<--- ~200 lines of output ---8<---
>
> (gdb) 129-var-create --thread 1 --frame 0 var113 @ "typename"
> 129^error,msg="-var-create: unable to create variable object"
> (gdb) 130-var-create --thread 1 --frame 0 var114 @ "back_inserter"
> 130^error,msg="-var-create: unable to create variable object"
>
>
> It sends the messages when I run debug, obviously, but also when I mouse
> over variables as the last couple of lines are an example of.
>
> I'm using the latest releases of just about everything, which at the
> moment is GDB 7.11.1, Qt 5.6.1, Frameworks 5.24.0, Plasma 5.7.2, and tip of
> the 5.0 branch for KDevelop and KDevPlatform.
>
> Is this a known issue or am I the lucky discoverer? I can't recall exactly
> when I first noticed it, sorry, but it must have been recently.
>
> Thanks, cheers.
>
> Jeremy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20160726/849a1f6e/attachment.html>


More information about the KDevelop-devel mailing list