]> git.pld-linux.org Git - packages/crossavr-gdb.git/blame - gdb-pretty-print-by-default.patch
- update
[packages/crossavr-gdb.git] / gdb-pretty-print-by-default.patch
CommitLineData
7e6c7ef9
PS
1--- gdb-6.5/gdb/cp-valprint.c.orig 2005-12-17 23:33:59.000000000 +0100
2+++ gdb-6.5/gdb/cp-valprint.c 2006-08-22 19:10:53.242715750 +0200
3@@ -861,8 +861,8 @@
4 &setprintlist, &showprintlist);
5
6 /* Give people the defaults which they are used to. */
7- objectprint = 0;
8- vtblprint = 0;
9+ objectprint = 1;
10+ vtblprint = 1;
11 obstack_begin (&dont_print_vb_obstack, 32 * sizeof (struct type *));
12 obstack_specify_allocation (&dont_print_statmem_obstack,
13 32 * sizeof (CORE_ADDR), sizeof (CORE_ADDR),
14--- gdb-6.5/gdb/valprint.c.orig 2006-08-22 19:11:55.000000000 +0200
15+++ gdb-6.5/gdb/valprint.c 2006-08-22 19:12:08.597733500 +0200
16@@ -1511,8 +1511,8 @@
17 &setprintlist, &showprintlist);
18
19 /* Give people the defaults which they are used to. */
20- prettyprint_structs = 0;
21- prettyprint_arrays = 0;
22+ prettyprint_structs = 1;
23+ prettyprint_arrays = 1;
24 unionprint = 1;
25 addressprint = 1;
26 print_max = PRINT_MAX_DEFAULT;
0a2c5967
PS
27--- gdb-6.8/gdb/utils.c.orig 2008-01-01 23:53:13.000000000 +0100
28+++ gdb-6.8/gdb/utils.c 2008-04-04 10:23:07.000000000 +0200
29@@ -146,7 +146,7 @@
30 C++/ObjC form even in assembler language displays. If this is set, but
31 DEMANGLE is zero, names are printed raw, i.e. DEMANGLE controls. */
32
33-int asm_demangle = 0;
34+int asm_demangle = 1;
35 static void
36 show_asm_demangle (struct ui_file *file, int from_tty,
37 struct cmd_list_element *c, const char *value)
This page took 0.086208 seconds and 4 git commands to generate.