move some typedefs to procfs.h required by gdbserver build
Change-Id: I51fba4ceb80b63e583f462a2a00f3f658c7cdd36 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
This commit is contained in:
parent
9a33051289
commit
f6ccc15457
22
libthread_db/include/sys/procfs.h
Normal file
22
libthread_db/include/sys/procfs.h
Normal file
@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Copyright 2006 The Android Open Source Project
|
||||
*/
|
||||
|
||||
#ifndef _SYS_PROCFS_H
|
||||
#define _SYS_PROCFS_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
typedef pid_t lwpid_t;
|
||||
typedef void *psaddr_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
@ -9,9 +9,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
typedef void *psaddr_t;
|
||||
typedef pid_t lwpid_t;
|
||||
#include <sys/procfs.h>
|
||||
|
||||
#define TD_THR_ANY_USER_FLAGS 0xffffffff
|
||||
#define TD_THR_LOWEST_PRIORITY -20
|
||||
|
Loading…
x
Reference in New Issue
Block a user