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 0/2] prevent gdb.Frame/Objfile and other types to be instanciated


>>>>> "Sanimir" == Sanimir Agovic <sanimir.agovic@intel.com> writes:

Sanimir> as discussed in
Sanimir> http://sourceware.org/ml/gdb-patches/2013-08/msg00848.html the
Sanimir> gdb/python interface exposes types which should not be
Sanimir> instanciated directly by python code. This patch now raising a
Sanimir> TypeError if one instanciate such type.

It seems like a reasonable plan to me.
We never intended to allow instantiation of these objects; and most of
them are actually useless if instantiated.

Tom


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