Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2011-08-04 19:11:48 +0000
committereutarass2011-08-04 19:11:48 +0000
commitea8f850f59028a4ef0df5bda3d958dc0f4f0c973 (patch)
tree2198a8f54b02b6c75022789edcd37af42255c9ae
parent5bb48411a6c164eb32bbf8c92b2ffba412051676 (diff)
downloadorg.eclipse.tcf.agent-ea8f850f59028a4ef0df5bda3d958dc0f4f0c973.tar.gz
org.eclipse.tcf.agent-ea8f850f59028a4ef0df5bda3d958dc0f4f0c973.tar.xz
org.eclipse.tcf.agent-ea8f850f59028a4ef0df5bda3d958dc0f4f0c973.zip
TCF Agent: fixed: Symbols.findByAddr command on Windows reports "Attempt to access invalid address" instead of "Symbol not found".
-rw-r--r--services/symbols_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/symbols_win32.c b/services/symbols_win32.c
index 30aa6ea1..dc23b939 100644
--- a/services/symbols_win32.c
+++ b/services/symbols_win32.c
@@ -997,7 +997,7 @@ static int find_pe_symbol_by_addr(Context * ctx, int frame, ContextAddress addr,
}
set_win32_errno(err = GetLastError());
- if (err == 0 || err == ERROR_MOD_NOT_FOUND) {
+ if (err == 0 || err == ERROR_MOD_NOT_FOUND || err == ERROR_INVALID_ADDRESS) {
errno = ERR_SYM_NOT_FOUND;
}
return -1;

Back to the top