This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Implement pahole-like 'ptype /o' option


> From: Sergio Durigan Junior <sergiodj@redhat.com>
> Cc: gdb-patches@sourceware.org
> Date: Tue, 21 Nov 2017 12:00:14 -0500
> 
> >> +  /o    print offsets and sizes of fields in a struct (like pahole)\n"));
> >
> > I wonder whether we should mention 'pahole' at all.
> 
> I thought that it was good to mention 'pahole' here because that was the
> main motivation for writing this patch.  My feeling is that it's
> benefitial to mention 'pahole' because even if the user doesn't know
> what it is, this will be a good opportunity for them to learn :-).
> 
> But that's my personal opinion; I won't fight if you think the reference
> should be removed.

I don't have strong a opinion.  Let's see what others think.  If no
one chimes in, feel free to leave it unchanged.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]