]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-pretty-print-by-default.patch
- pretty printing of real objects type.
[packages/gdb.git] / gdb-pretty-print-by-default.patch
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;
This page took 0.03158 seconds and 4 git commands to generate.