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: [RFA] Define DT_MIPS_RLD_MAP if not already defined.


On 05/30/2012 05:40 AM, Thiago Jung Bauermann wrote:
> Hello,
>
> Android doesn't support MIPS, so understandably there's no
> DT_MIPS_RLD_MAP in its header files. This patch allows gdbserver to be
> compiled for Android.

Then why not '#ifdef DT_MIPS_RLD_MAP' out the bits that use DT_MIPS_RLD_MAP ?
It's just dead code on non-MIPS ports.

-- 
Pedro Alves


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