diff options
Diffstat (limited to 'gdb/frame.h')
-rw-r--r-- | gdb/frame.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/frame.h b/gdb/frame.h index 33ca5ab..f8314ad 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -216,6 +216,11 @@ extern const struct frame_id outer_frame_id; extern bool frame_debug; +/* Print a "frame" debug statement. */ + +#define frame_debug_printf(fmt, ...) \ + debug_prefixed_printf_cond (frame_debug, "frame", fmt, ##__VA_ARGS__) + /* Construct a frame ID. The first parameter is the frame's constant stack address (typically the outer-bound), and the second the frame's constant code address (typically the entry point). |