| Anjuta Developers Reference Manual | ||||
|---|---|---|---|---|
#include <libanjuta/interfaces/ianjuta-debugger-memory.h> #define IANJUTA_DEBUGGER_MEMORY_ERROR IAnjutaDebuggerMemory; IAnjutaDebuggerMemoryIface; IAnjutaDebuggerMemoryBlock; GQuark ianjuta_debugger_memory_error_quark (void); gboolean ianjuta_debugger_memory_inspect (IAnjutaDebuggerMemory *obj, gulong address, guint length, IAnjutaDebuggerCallback callback, gpointer user_data, GError **err);
#define IANJUTA_DEBUGGER_MEMORY_ERROR ianjuta_debugger_memory_error_quark()
typedef struct {
IAnjutaDebuggerIface g_iface;
gboolean (*inspect) (IAnjutaDebuggerMemory *obj, gulong address, guint length, IAnjutaDebuggerCallback callback, gpointer user_data, GError **err);
} IAnjutaDebuggerMemoryIface;
typedef struct {
gulong address;
guint length;
gchar *data;
} IAnjutaDebuggerMemoryBlock;
gboolean ianjuta_debugger_memory_inspect (IAnjutaDebuggerMemory *obj, gulong address, guint length, IAnjutaDebuggerCallback callback, gpointer user_data, GError **err);
Read a block of the target memory.
|
Self |
|
Start address of the memory block |
|
Length of memory block |
|
Call back with a IAnjutaDebuggerMemoryBlock as argument |
|
User data that is passed back to the callback |
|
Error propagation and reporting. |
Returns : |
TRUE if the request succeed and the callback is called. If FALSE, the callback will not be called. |