This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/22365] "info locals" on an unitialized yet vector causes long garbage print
- From: "n-gcc at nn dot kiev.ua" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 29 Oct 2017 14:28:31 +0000
- Subject: [Bug symtab/22365] "info locals" on an unitialized yet vector causes long garbage print
- Auto-submitted: auto-generated
- References: <bug-22365-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22365
--- Comment #1 from Valentin Nechayev <n-gcc at nn dot kiev.ua> ---
I have found gdb has limit on this print (`set print elements`) but
Code::Blocks directly disables it with `set print elements 0`.
So, anyway this isn't a _bug_ in gdb because it behaves exactly as specified.
I'll consider filing a bug to Code::Blocks.
OTOH, protection against printing unitialized values can be useful, so I
consider not closing it. Feel free to deal with this report in any way.
--
You are receiving this mail because:
You are on the CC list for the bug.