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] Include xml-support.h to get a variable declaration


>>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:

Christian> Instead of declaring xml_builtin as an extern variable
Christian> in the .c file.

Christian> gdb/gdbserver/ChangeLog:

Christian> 2019-10-07  Christian Biesinger  <cbiesinger@google.com>

Christian> 	* server.c (get_features_xml): Remove declaration of xml_builtin
Christian> 	in favor of including xml-support.h.

I don't think we want to include xml-support.h in gdbserver.

Maybe the xml_builtin can be declared somewhere else instead.
It's only defined in generated files according to the comment.

Tom


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