[gdb/testsuite] Fix gdb.arch/arm-pseudo-unwind.exp with unix/mthumb
[binutils-gdb.git] / gprofng / src / dbe_types.h
blob430922a9b75b9abed35d1c9910451a942265a2ab
1 /* Copyright (C) 2021-2024 Free Software Foundation, Inc.
2 Contributed by Oracle.
4 This file is part of GNU Binutils.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
21 #ifndef _DBE_TYPES_H
22 #define _DBE_TYPES_H
24 #include <stdint.h>
25 #include "gp-time.h"
27 typedef unsigned long long Size; /* object sizes in 64 bit apps */
28 typedef unsigned long long Vaddr; /* process address for 64 bit apps */
30 typedef unsigned long long ull_t;
31 typedef long long ll_t;
32 typedef unsigned long ul_t;
34 // Note: these values are stored in archive files; changing them
35 // may cause old archives to become incompatible.
36 enum Platform_t
38 Unknown = 0,
39 Sparc,
40 Sparcv9,
41 Intel,
42 Sparcv8plus,
43 Java,
44 Amd64,
45 Aarch64,
46 RISCV
49 enum WSize_t
51 Wnone,
52 W32,
53 W64
56 enum VMode
58 VMODE_MACHINE = 0,
59 VMODE_USER,
60 VMODE_EXPERT
63 #endif /* _DBE_TYPES_H */