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: [RFC - Python] New ObjFile event


Kevin Pouget <kevin.pouget@gmail.com> writes:

> sorry, gdb/python/py-newobjfileevent.c has not been included in the
> patch, here is its content:
>
> -----
> /* Python interface to new object file loading events.
>
>    Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.

Just 2011 here.

> emit_new_objfile_event (struct objfile *objfile)
> {
>   PyObject *event;
>
>   if (evregpy_no_listeners_p (gdb_py_events.newobjfile))
>     return 0;
>
>   event = create_new_objfile_event_object ();
>   if (event)
>     return evpy_emit_event (event, gdb_py_events.newobjfile);
>   return -1;
> }

Aha, ignore the comment from the previous patch.

Cheers

Phil


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