From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28380 invoked by alias); 20 Aug 2011 18:18:34 -0000 Received: (qmail 28371 invoked by uid 22791); 20 Aug 2011 18:18:33 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mail-pz0-f44.google.com (HELO mail-pz0-f44.google.com) (209.85.210.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Aug 2011 18:18:19 +0000 Received: by pzk36 with SMTP id 36so7384549pzk.3 for ; Sat, 20 Aug 2011 11:18:18 -0700 (PDT) Received: by 10.142.134.8 with SMTP id h8mr483589wfd.421.1313864298051; Sat, 20 Aug 2011 11:18:18 -0700 (PDT) Received: from [127.0.0.1] ([203.110.240.178]) by mx.google.com with ESMTPS id jg5sm3208937pbc.40.2011.08.20.11.18.15 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 20 Aug 2011 11:18:17 -0700 (PDT) Message-ID: <4E4FFB70.9040301@playingwithpointers.com> Date: Sat, 20 Aug 2011 18:18:00 -0000 From: Sanjoy Das User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110626 Icedove/3.1.11 MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org Subject: Re: [PATCH 1/6] Introduce header (jit-reader.in) and modify build system. References: <1313821635-22137-1-git-send-email-sanjoy@playingwithpointers.com> <1313821635-22137-2-git-send-email-sanjoy@playingwithpointers.com> <20110820180354.GD26447@host1.jankratochvil.net> In-Reply-To: <20110820180354.GD26447@host1.jankratochvil.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00401.txt.bz2 Hi! > I think it should be: > extern const struct gdb_reader_funcs *gdb_init_reader (void); > > as GDB should never modify it. > But it will call the functions in the struct (provided by the plugin), which may modify it. -- Sanjoy Das http://playingwithpointers.com