28 lines
779 B
Diff
28 lines
779 B
Diff
From 3438cbc786ea5d46a62282a674261ec33d6e3f33 Mon Sep 17 00:00:00 2001
|
|
From: Orgad Shaneh <orgads@gmail.com>
|
|
Date: Thu, 13 Feb 2020 09:33:39 +0200
|
|
Subject: [PATCH 1/5] Workaround performance regression in info
|
|
{func,var,types} foo
|
|
|
|
https://sourceware.org/bugzilla/show_bug.cgi?id=15412#c3
|
|
---
|
|
gdb/typeprint.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/gdb/typeprint.c b/gdb/typeprint.c
|
|
index 0776f634215..abef025a242 100644
|
|
--- a/gdb/typeprint.c
|
|
+++ b/gdb/typeprint.c
|
|
@@ -55,7 +55,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 */
|
|
0, /* print_offsets */
|
|
--
|
|
2.33.1.windows.1
|
|
|