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] btrace: fix the non-native build


> From: Mircea Gherzan <mircea.gherzan@intel.com>
> Date: Tue, 13 Aug 2013 16:45:54 +0200
> 
> When building on a non-Linux host for a Linux target, the build fails
> because the linux-btrace object is not built/linked.
> 
> 2013-08-09  Mircea Gherzan  <mircea.gherzan@intel.com>
> 
> gdb/
> 	* configure.tgt: Add linux-btrace.o to gdb_target_obs for i386
> 	and x86_64 Linux targets.
> 	* config/i386/linux.mh (NATDEPFILES): Remove linux-btrace.o.
> 	* config/i386/linux64.mh (NATDEPFILES): Remove linux-btrace.o.

Nope.  linux-btrace.c contains native code that should only ever be
linked into a native GDB.


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