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/4] btrace: fix build fail with 32-bit BFD


On 07/08/2015 01:54 PM, Markus Metzger wrote:
> When compiling GDB with 32-bit BFD, the build fails with:
> 
> In file included from btrace.h:33:0,
>                  from btrace.c:23:
> /usr/include/intel-pt.h:1643:51: note: expected 'int (*)(uint8_t *, size_t,
>  const struct pt_asid *, uint64_t, void *)' but argument is of type 'int
>  (*)(gdb_byte *, size_t, const struct pt_asid *, CORE_ADDR, void *)' extern
>  pt_export int pt_image_set_callback(struct pt_image *image, ^
> 
> Fix it.
> 
> 2015-07-08  Markus Metzger <markus.t.metzger@intel.com>
> 
> gdb/
> 	* btrace.c (btrace_pt_readmem_callback): Change type of PC argument.

OK.

Thanks,
Pedro Alves


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