Update iso14651_t1_common file to ISO14651_2016_TABLE1_en.txt [BZ #14095]
[glibc.git] / nptl_db / db-symbols.h
blobe2f7cf6306f61dcc0fdeab8e0018828b8acdacc2
1 /* List of symbols in libpthread examined by libthread_db.
2 Copyright (C) 2009-2018 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <http://www.gnu.org/licenses/>. */
19 #define DOT(x) x /* No prefix. */
21 #define STRINGIFY(name) STRINGIFY_1(name)
22 #define STRINGIFY_1(name) #name
24 #define DB_STRUCT(type) \
25 DB_LOOKUP_NAME (SYM_SIZEOF_##type, _thread_db_sizeof_##type)
26 #define DB_STRUCT_FIELD(type, field) \
27 DB_LOOKUP_NAME (SYM_##type##_FIELD_##field, _thread_db_##type##_##field)
28 #define DB_SYMBOL(name) \
29 DB_LOOKUP_NAME (SYM_##name, name)
30 #define DB_FUNCTION(name) \
31 DB_LOOKUP_NAME (SYM_##name, DOT (name))
32 #define DB_VARIABLE(name) \
33 DB_LOOKUP_NAME (SYM_##name, name) \
34 DB_LOOKUP_NAME (SYM_DESC_##name, _thread_db_##name)
36 # include "structs.def"
38 # undef DB_STRUCT
39 # undef DB_FUNCTION
40 # undef DB_SYMBOL
41 # undef DB_VARIABLE
42 # undef DOT
44 DB_LOOKUP_NAME_TH_UNIQUE (SYM_TH_UNIQUE_REGISTER64, _thread_db_register64)
45 DB_LOOKUP_NAME_TH_UNIQUE (SYM_TH_UNIQUE_REGISTER32, _thread_db_register32)
46 DB_LOOKUP_NAME_TH_UNIQUE (SYM_TH_UNIQUE_CONST_THREAD_AREA,
47 _thread_db_const_thread_area)
48 DB_LOOKUP_NAME_TH_UNIQUE (SYM_TH_UNIQUE_REGISTER32_THREAD_AREA,
49 _thread_db_register32_thread_area)
50 DB_LOOKUP_NAME_TH_UNIQUE (SYM_TH_UNIQUE_REGISTER64_THREAD_AREA,
51 _thread_db_register64_thread_area)