[PATCH V3 1/9] Adapt `info probes' to support printing probes of different types.

Pedro Alves palves@redhat.com
Fri Nov 14 12:38:00 GMT 2014


On 10/31/2014 06:56 PM, Sergio Durigan Junior wrote:
> Also, any particular reason why you did not create a field "type" inside
> "struct probe", instead of making a function that returns the string?  I
> consider the field would be simpler (i.e., not pollute the probe_ops
> structure), and it could be set when creating the probes.

Not sure I understood it (and probably doesn't matter much), seems like
that'd waste memory storing the same info over and over?

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list