Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Sanimir Agovic <sanimir.agovic@intel.com>
Cc: gdb-patches@sourceware.org, pmuldoon@redhat.com
Subject: Re: [PATCH 1/2] python: disallow python code to instanciate certain types
Date: Thu, 10 Oct 2013 19:06:00 -0000	[thread overview]
Message-ID: <8738o96j4b.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1377873604-15519-2-git-send-email-sanimir.agovic@intel.com>	(Sanimir Agovic's message of "Fri, 30 Aug 2013 16:40:03 +0200")

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

Sanimir> 2013-08-30  Sanimir Agovic  <sanimir.agovic@intel.com>
Sanimir> 	* py-arch.c (gdbpy_initialize_arch): Set tp_new implicitly to NULL.
Sanimir> 	* py-block.c (gdbpy_initialize_blocks): Set tp_new implicitly to NULL.
Sanimir> 	* py-frame.c (gdbpy_initialize_frames): Set tp_new implicitly to NULL.
Sanimir> 	* py-objfile.c (objfpy_new): Remove function.
Sanimir> 	(objfile_object_type): Set tp_new to NULL.
Sanimir> 	* py-progspace.c (pspy_new): Remove function.
Sanimir> 	(pspace_object_type): Set tp_new to NULL
Sanimir> 	* py-symtab.c (gdbpy_initialize_symtabs): Set tp_new implicitly to NULL.

This is ok.

Tom


  parent reply	other threads:[~2013-10-10 19:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-30 14:40 [PATCH 0/2] prevent gdb.Frame/Objfile and other types to be instanciated Sanimir Agovic
2013-08-30 14:40 ` [PATCH 1/2] python: disallow python code to instanciate certain types Sanimir Agovic
2013-08-30 15:08   ` Phil Muldoon
2013-10-10 19:08     ` Tom Tromey
2013-10-10 19:06   ` Tom Tromey [this message]
2013-08-30 14:40 ` [PATCH 2/2] test: ensure certain types exposed to python are not instancable Sanimir Agovic
2013-10-10 19:14   ` Tom Tromey
2013-10-10 19:59     ` Paul_Koning
2013-10-10 19:10 ` [PATCH 0/2] prevent gdb.Frame/Objfile and other types to be instanciated Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738o96j4b.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pmuldoon@redhat.com \
    --cc=sanimir.agovic@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox