mirror of
https://github.com/ocornut/imgui.git
synced 2026-06-21 22:06:31 +00:00
Added IM_DEBUG_BREAK() handler for GCC+AArch64/ARM64.
This commit is contained in:
@@ -80,6 +80,8 @@ Other Changes:
|
|||||||
- Demo:
|
- Demo:
|
||||||
- Extract 'Widgets->Tree Nodes->Selectable Nodes' out of the 'Advanced'
|
- Extract 'Widgets->Tree Nodes->Selectable Nodes' out of the 'Advanced'
|
||||||
demo for clarity (manual reimplementation of basic selection).
|
demo for clarity (manual reimplementation of basic selection).
|
||||||
|
- Misc:
|
||||||
|
- Added IM_DEBUG_BREAK() handler for GCC+AArch64/ARM64. [@tom-seddon]
|
||||||
- Backends:
|
- Backends:
|
||||||
- OpenGL3:
|
- OpenGL3:
|
||||||
- GLSL version detection assume GLSL 410 when GL context is 4.1.
|
- GLSL version detection assume GLSL 410 when GL context is 4.1.
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
//#define IMGUI_DISABLE_SSE // Disable use of SSE intrinsics even if available
|
//#define IMGUI_DISABLE_SSE // Disable use of SSE intrinsics even if available
|
||||||
|
|
||||||
//---- Enable Test Engine / Automation features.
|
//---- Enable Test Engine / Automation features.
|
||||||
//#define IMGUI_ENABLE_TEST_ENGINE // Enable imgui_test_engine hooks. Generally set automatically by include "imgui_te_config.h", see Test Engine for details.
|
//#define IMGUI_ENABLE_TEST_ENGINE // Enable imgui_test_engine hooks. Generally set automatically by include "imgui_te_imconfig.h", see Test Engine for details.
|
||||||
|
|
||||||
//---- Include imgui_user.h at the end of imgui.h as a convenience
|
//---- Include imgui_user.h at the end of imgui.h as a convenience
|
||||||
// May be convenient for some users to only explicitly include vanilla imgui.h and have extra stuff included.
|
// May be convenient for some users to only explicitly include vanilla imgui.h and have extra stuff included.
|
||||||
|
|||||||
@@ -322,6 +322,8 @@ extern IMGUI_API ImGuiContext* GImGui; // Current implicit context pointer
|
|||||||
#define IM_DEBUG_BREAK() __asm__ volatile(".inst 0xde01")
|
#define IM_DEBUG_BREAK() __asm__ volatile(".inst 0xde01")
|
||||||
#elif defined(__GNUC__) && defined(__arm__) && !defined(__thumb__)
|
#elif defined(__GNUC__) && defined(__arm__) && !defined(__thumb__)
|
||||||
#define IM_DEBUG_BREAK() __asm__ volatile(".inst 0xe7f001f0")
|
#define IM_DEBUG_BREAK() __asm__ volatile(".inst 0xe7f001f0")
|
||||||
|
#elif defined(__GNUC__) && defined(__aarch64__)
|
||||||
|
#define IM_DEBUG_BREAK() __asm__ volatile(".inst 0xd4200000") // GDB needs 'set $pc=($pc+4)' to skip this :(
|
||||||
#else
|
#else
|
||||||
#define IM_DEBUG_BREAK() IM_ASSERT(0) // It is expected that you define IM_DEBUG_BREAK() into something that will break nicely in a debugger!
|
#define IM_DEBUG_BREAK() IM_ASSERT(0) // It is expected that you define IM_DEBUG_BREAK() into something that will break nicely in a debugger!
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user