xref: /PHP-8.3/ext/opcache/jit/zend_jit_gdb.h (revision 0e932f7c)
1 /*
2    +----------------------------------------------------------------------+
3    | Zend JIT                                                             |
4    +----------------------------------------------------------------------+
5    | Copyright (c) The PHP Group                                          |
6    +----------------------------------------------------------------------+
7    | This source file is subject to version 3.01 of the PHP license,      |
8    | that is bundled with this package in the file LICENSE, and is        |
9    | available through the world-wide-web at the following url:           |
10    | https://www.php.net/license/3_01.txt                                 |
11    | If you did not receive a copy of the PHP license and are unable to   |
12    | obtain it through the world-wide-web, please send a note to          |
13    | license@php.net so we can mail you a copy immediately.               |
14    +----------------------------------------------------------------------+
15    | Authors: Dmitry Stogov <dmitry@php.net>                              |
16    |          Xinchen Hui <laruence@php.net>                              |
17    +----------------------------------------------------------------------+
18 */
19 
20 #ifndef HAVE_ZEND_JIT_GDB_H
21 #define HAVE_ZEND_JIT_GDB_H
22 
23 #include "zend_compile.h"
24 
25 #define HAVE_GDB
26 
27 int zend_jit_gdb_register(const char    *name,
28                           const zend_op_array *op_array,
29                           const void    *start,
30                           size_t         size,
31                           uint32_t       sp_offset,
32                           uint32_t       sp_adjustment);
33 
34 int zend_jit_gdb_unregister(void);
35 void zend_jit_gdb_init(void);
36 
37 #endif /* HAVE_ZEND_JIT_GDB_H */
38