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 libiberty.h in gdbserver.h


On 08/22/2012 01:46 PM, Yao Qi wrote:
> Hi,
> Some macros have been defined in libiberty.h and ansidecl.h, but we
> define them again in server.h.  libiberty.h has been included in
> gdbserver, so I think we can use the macros defined in 'libiberty.h' and
> 'ansidecl.h' in gdbserver.  so this patch is to include them, and
> remove these macros in server.h.

Makes me a little nervous (the current use of bits of libiberty in
gdbserver is already a hack, and this spreads it), but okay.

Don't we need to update Makefile dependencies to make $server_h
depend on ...include/libiberty.h and ...include/ansidecl.h ?

-- 
Pedro Alves


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