zend_jit_gdb.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. #ifndef HAVE_ZEND_JIT_GDB_H
  20. #define HAVE_ZEND_JIT_GDB_H
  21. #include "zend_compile.h"
  22. #define HAVE_GDB
  23. int zend_jit_gdb_register(const char *name,
  24. const zend_op_array *op_array,
  25. const void *start,
  26. size_t size,
  27. uint32_t sp_offset,
  28. uint32_t sp_adjustment);
  29. int zend_jit_gdb_unregister(void);
  30. void zend_jit_gdb_init(void);
  31. #endif /* HAVE_ZEND_JIT_GDB_H */