This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: new pdie utility macro
On Sun, Oct 5, 2008 at 9:07 AM, Daniel Jacobowitz <drow@false.org> wrote:
> On Sat, Oct 04, 2008 at 02:02:46PM -0700, Doug Evans wrote:
>> Hi. This is an addendum to
>> http://sourceware.org/ml/gdb-patches/2008-09/msg00561.html
>>
>> Ok to check in?
>> [assuming the other patch is. btw, ping ...]
>
> Actually, why this choice?
>
>> + if $argc == 1
>> + call dump_die ($arg0, 10)
>
> I'd have guessed this as 0 instead of 10. If I say "pdie die"
> shouldn't it print the DIE, not its children?
I picked a default value that was working for me.
I'll check it in as just printing the die without children,