This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Unifying the GCC Debugging Interface


On Mon, Nov 19, 2012 at 10:11 AM, Michael Matz <matz@suse.de> wrote:

> So, yes, the larger layouting should be determined by name of the dump
> function.  A flag argument might look nice from an interface design
> perspective, but it's harder to use in the debugger.

As long as all these different objects share the same data structure,
we will need to have different named entry points.  Ideally they would
all respond to 'dump(t)' and overloading will figure it out
automatically.  For now, we'll need dump_function, dump_tree,
dump_generic, and we may need a few more.


Diego.


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