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 1/6] Introduce header (jit-reader.in) and modify build system.


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


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