This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/15412] Performance regression in "info {func,var,types} foo" (mostly info types).
- From: "asmwarrior at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 24 May 2013 14:33:41 +0000
- Subject: [Bug symtab/15412] Performance regression in "info {func,var,types} foo" (mostly info types).
- Auto-submitted: auto-generated
- References: <bug-15412-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15412
--- Comment #3 from asmwarrior <asmwarrior at gmail dot com> 2013-05-24 14:33:41 UTC ---
As DJE said, the workaround looks like below:
gdb/typeprint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/typeprint.c b/gdb/typeprint.c
index 4e70593..6e62922 100644
--- a/gdb/typeprint.c
+++ b/gdb/typeprint.c
@@ -62,7 +62,7 @@ const struct type_print_options type_print_raw_options =
static struct type_print_options default_ptype_flags =
{
- 0, /* raw */
+ 1, /* raw */
1, /* print_methods */
1, /* print_typedefs */
NULL, /* local_typedefs */
Adding a command like below should be better I think:
"show print type raw"
"set print type raw"
We have already "set print type method" and "set print type typedef"
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.