--- Begin Message ---
Subject: |
gdb: FTBFS on hurd-i386 |
Date: |
Mon, 13 Nov 2017 04:31:34 +0100 |
Source: gdb
Version: 8.0-1
Severity: important
Tags: patch
User: debian-hurd@lists.debian.org
Usertags: hurd, experimental
Hi,
gdb FTBFS on GNU/Hurd due to three reasons:
- Usage of PATH_MAX in gdb/remote.c
- Recent changes in Hurd failing the build of gdb/gnu-nat.c
- A name clash of struct thread_info and the kernel function thread_info()
included in gdb/thread.c and gdb/python/py-record-btrace.c.
Include paths:
1) defs.h: #include "gdbarch.h": struct thread_info
2) defs.h: #include "nm.h":#include <mach.h>:#include <mach/mach_interface.h>
where the function thread_info() is defined:
extern kern_return_t thread_info
(
mach_port_t target_thread,
int flavor,
thread_info_t thread_info_out,
mach_msg_type_number_t *thread_info_outCnt
);
The attached patches fixes these issues:
gdb-PATH_MAX.patch
gnu-nat.c.patch
struct-thread_info.patch
Thanks :)
gdb-PATH_MAX.patch
Description: Text Data
gnu-nat.c.patch
Description: Text Data
struct-thread_info.patch
Description: Text Data
--- End Message ---