Document exp_descriptor.op_name should never return NULL.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 19 Oct 2012 19:55:56 +0000 (19:55 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 19 Oct 2012 19:55:56 +0000 (19:55 +0000)
commita5b1262727001de95f76936d2462e92fe183a8e7
treee4ff501e83d2968e7d7dd308602bc893e93b9b22
parent67d004eb5fb3d4b79dda53866b4a70983cd7ed06
Document exp_descriptor.op_name should never return NULL.

This documents a constaint that struct exp_descriptor's "op_name"
method implementation should obey.  This might not have been part
of the initial design, but is currently true of all instantiations,
and already assumed by the current users.

gdb/ChangeLog:

        * parser-defs.h (struct exp_descriptor): Document constraint
        on return value for "op_name" callbacks.
gdb/ChangeLog
gdb/parser-defs.h