Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--framework/tcf.h2
-rw-r--r--server/services/context-proxy.c2
-rw-r--r--services/memorymap.c4
-rw-r--r--services/memorymap.h4
-rw-r--r--system/GNU/Linux/context-linux.c6
-rw-r--r--system/Windows/context-win32.c2
6 files changed, 10 insertions, 10 deletions
diff --git a/framework/tcf.h b/framework/tcf.h
index e4975daf..8b732476 100644
--- a/framework/tcf.h
+++ b/framework/tcf.h
@@ -17,7 +17,7 @@
#define D_tcf
#define _TCF_VERSION_MAJOR 0
-#define _TCF_VERSION_MINOR 5
+#define _TCF_VERSION_MINOR 6
#define _TCF_VERSION (_TCF_VERSION_MAJOR * 100 + _TCF_VERSION_MINOR)
#endif
diff --git a/server/services/context-proxy.c b/server/services/context-proxy.c
index 99e14066..ae4a2158 100644
--- a/server/services/context-proxy.c
+++ b/server/services/context-proxy.c
@@ -609,7 +609,7 @@ static void event_memory_map_changed(Channel * c, void * args) {
if (ctx != NULL) {
assert(*EXT(ctx->ctx) == ctx);
crear_memory_map_data(ctx);
- memory_map_event_mapping_chnaged(ctx->ctx);
+ memory_map_event_mapping_changed(ctx->ctx);
}
else if (p->rc_done) {
trace(LOG_ALWAYS, "Invalid ID in 'memory map changed' event: %s", id);
diff --git a/services/memorymap.c b/services/memorymap.c
index a9ebf796..df1eccb6 100644
--- a/services/memorymap.c
+++ b/services/memorymap.c
@@ -188,7 +188,7 @@ static void update_context_client_map(Context * ctx) {
assert(ext->client_map.region_cnt == r_cnt);
}
while (!list_is_empty(&maps)) list_remove(maps.next);
- if (!equ) memory_map_event_mapping_chnaged(ctx);
+ if (!equ) memory_map_event_mapping_changed(ctx);
}
static void update_all_context_client_maps(void) {
@@ -308,7 +308,7 @@ void memory_map_event_module_unloaded(Context * ctx) {
}
}
-void memory_map_event_mapping_chnaged(Context * ctx) {
+void memory_map_event_mapping_changed(Context * ctx) {
unsigned i;
assert(ctx->ref_count > 0);
assert(ctx == get_mem_context(ctx));
diff --git a/services/memorymap.h b/services/memorymap.h
index 98252371..34d74b61 100644
--- a/services/memorymap.h
+++ b/services/memorymap.h
@@ -40,7 +40,7 @@ extern int memory_map_get(Context * ctx, MemoryMap ** client_map, MemoryMap ** t
extern void memory_map_event_module_loaded(Context * ctx);
extern void memory_map_event_code_section_ummapped(Context * ctx, ContextAddress addr, ContextAddress size);
extern void memory_map_event_module_unloaded(Context * ctx);
-extern void memory_map_event_mapping_chnaged(Context * ctx);
+extern void memory_map_event_mapping_changed(Context * ctx);
/*
* Memory map listener.
@@ -64,7 +64,7 @@ extern void ini_memory_map_service(Protocol * proto, TCFBroadcastGroup * bcg);
#define memory_map_event_module_loaded(ctx)
#define memory_map_event_code_section_ummapped(ctx, addr, size)
#define memory_map_event_module_unloaded(ctx)
-#define memory_map_event_mapping_chnaged(ctx)
+#define memory_map_event_mapping_changed(ctx)
#endif /* SERVICE_MemoryMap */
#endif /* D_memorymap */
diff --git a/system/GNU/Linux/context-linux.c b/system/GNU/Linux/context-linux.c
index 597f8461..b8879441 100644
--- a/system/GNU/Linux/context-linux.c
+++ b/system/GNU/Linux/context-linux.c
@@ -899,7 +899,7 @@ static void event_pid_stopped(pid_t pid, int signal, int event, int syscall) {
break;
case PTRACE_EVENT_EXEC:
send_context_changed_event(ctx);
- memory_map_event_mapping_chnaged(ctx->mem);
+ memory_map_event_mapping_changed(ctx->mem);
break;
case PTRACE_EVENT_EXIT:
{
@@ -1003,7 +1003,7 @@ static void event_pid_stopped(pid_t pid, int signal, int event, int syscall) {
#endif
case __NR_mremap:
case __NR_remap_file_pages:
- memory_map_event_mapping_chnaged(ctx->mem);
+ memory_map_event_mapping_changed(ctx->mem);
break;
}
ext->syscall_enter = 0;
@@ -1129,7 +1129,7 @@ static void eventpoint_at_loader(Context * ctx, void * args) {
static void eventpoint_at_main(Context * ctx, void * args) {
send_context_changed_event(ctx->mem);
- memory_map_event_mapping_chnaged(ctx->mem);
+ memory_map_event_mapping_changed(ctx->mem);
suspend_debug_context(ctx);
}
diff --git a/system/Windows/context-win32.c b/system/Windows/context-win32.c
index 4c26faf8..d050b1e2 100644
--- a/system/Windows/context-win32.c
+++ b/system/Windows/context-win32.c
@@ -311,7 +311,7 @@ static DWORD event_win32_context_stopped(Context * ctx) {
if (!debug_state->ok_to_use_hw_bp) {
debug_state->ok_to_use_hw_bp = 1;
send_context_changed_event(ctx->mem);
- memory_map_event_mapping_chnaged(ctx->mem);
+ memory_map_event_mapping_changed(ctx->mem);
}
#endif
}

Back to the top