Re: [RFC - Python] New ObjFile event

Kevin Pouget
2011-10-07T08:44:39Z

On Fri, Oct 7, 2011 at 10:36 AM, Andreas Tobler <andreast-list@fgznet.ch> wrote:
> --------- Original Message --------
> From: Kevin Pouget <kevin.pouget@gmail.com>
> To: Eli Zaretskii <eliz@gnu.org>, tromey@redhat.com <tromey@redhat.com>
> Cc: gdb-patches@sourceware.org
> Subject: Re: [RFC - Python] New ObjFile event
> Date: 07/10/11 09:40
>
>> On Wed, Oct 5, 2011 at 7:40 PM, Eli Zaretskii &lt;eliz@gnu.org&gt; wrote:
>> &gt;&gt; From: Kevin Pouget &lt;kevin.pouget@gmail.com&gt;
>> &gt;&gt; Date: Wed, 5 Oct 2011 13:10:18 +0200
>> &gt;&gt; Cc: gdb-patches@sourceware.org
>> &gt;&gt;
>> &gt;&gt; +  ** A new event &quot;gdb.newobjfile&quot; has been added.
>> &gt;&gt; +
>> &gt;
>> &gt; Maybe say also something like &quot;triggered by loading a new object
> file.&quot;
>> &gt;
>> &gt;&gt; +@item events.new_objfile
>> &gt;&gt; +Emits @code{gdb.NewObjFileEvent} which indicates that a new
> object-file has
>> &gt;
>> &gt; &quot;object file&quot;, without the hyphen.
>> &gt;
>> &gt;&gt; +been loaded by @value{GDBN}. @code{gdb.NewObjFileEvent} has one
> attribute:
>> &gt;                              ^^
>> &gt; Two spaces, please.
>> &gt;
>> &gt; Okay with those changes.
>> &gt;
>> &gt; Thanks.
>> &gt;
>>
>> commited with the modifications you asked for:
>> http://sourceware.org/ml/gdb-cvs/2011-10/msg00034.html
>
> python/py-newobjfileevent.c: seems to be missing.
>
> Gruss,
> Andreas

just commited, should be okay now

--

These two files

gdb/python : py-newobjfileevent.c
gdb/testsuite/gdb.python: py-events-shlib.c

were missing in my commit, I've just fixed it with
http://sourceware.org/ml/gdb-cvs/2011-10/msg00036.html ... I'm looking
forward to the day when GIT will be the main version manager, I didn't
know/notice that CVS don't automatically send new files ... sorry for
my newbiness :(