-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebugger.h
More file actions
26 lines (24 loc) · 748 Bytes
/
debugger.h
File metadata and controls
26 lines (24 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once
#define _GNU_SOURCE
#include <gtk/gtk.h>
#include <stdbool.h>
#include "cJSON.h"
#include "fdt.h"
GtkWidget * createTopButtons();
GtkWidget * createEventsView();
GtkWidget * createDebuggerTab();
stopToolFunc startDebugger();
void stopDebugger();
void * doStartDebugger(void * ptr);
void waitToAdvance();
bool canAdvance();
void advance();
void advancePending();
void scrollToTop(GtkWidget * scrolled_window);
void updateAdvanceButtonState();
gboolean gui_idle_debugger(void);
void showParams(cJSON * node, GtkTreeIter parent);
void handleDebuggerEvent(cJSON * event);
static void autoadvance_btn_handler(GtkWidget * widget, gpointer data);
static void advance_btn_handler(GtkWidget * widget, gpointer data);
void initGUIEventQueue();