Re: [patch] gdb python pretty printer for DIEs

2014-12-10 Thread Aldy Hernandez
Subject: [patch] gdb python pretty printer for DIEs Date: Tue, 09 Dec 2014 13:10:57 -0800 (12/09/2014 04:10:57 PM) I am tired of dumping entire DIEs just to see what type they are. With this patch, we get: (gdb) print context_die $5 = > I know it's past th

Re: [patch] gdb python pretty printer for DIEs

2014-12-10 Thread David Malcolm
Subject: > [patch] gdb python pretty printer > for DIEs > Date: > Tue, 09 Dec 2014 13:10:57 -0800 > (12/09/2014 04:10:57 PM) > > > I am tired of dumping entire DIEs just to see what type they are. > With > this patch, we get: > &g

Re: [patch] gdb python pretty printer for DIEs

2014-12-09 Thread Jeff Law
On 12/09/14 14:10, Aldy Hernandez wrote: I am tired of dumping entire DIEs just to see what type they are. With this patch, we get: (gdb) print context_die $5 = > I know it's past the end of stage1, but this debugging aid can help in fixing bugs in stage >= 3. I am committing this to the [deb

[patch] gdb python pretty printer for DIEs

2014-12-09 Thread Aldy Hernandez
I am tired of dumping entire DIEs just to see what type they are. With this patch, we get: (gdb) print context_die $5 = DW_TAG_compile_unit>> I know it's past the end of stage1, but this debugging aid can help in fixing bugs in stage >= 3. I am committing this to the [debug-early] branch,