Skip to main content
summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authoreutarass2011-03-30 14:50:39 -0400
committereutarass2011-03-30 14:50:39 -0400
commitb626eba6c9dadace28b6376a5b8b53b5fc7ed900 (patch)
tree13553f278dfe0dda8fd6727f066cedb3f601c234 /server
parent989d3ae1dcf88d128d12366291dfe85ee948360f (diff)
downloadorg.eclipse.tcf.agent-b626eba6c9dadace28b6376a5b8b53b5fc7ed900.tar.gz
org.eclipse.tcf.agent-b626eba6c9dadace28b6376a5b8b53b5fc7ed900.tar.xz
org.eclipse.tcf.agent-b626eba6c9dadace28b6376a5b8b53b5fc7ed900.zip
TCF Agent:
1. added support for debugging a code running in compatibility mode, like 32-bit code on 64-bit CPU. 2. fixed: register variable values are always returned as 8 bytes regardless of actual size. 3. improved text for some error messages. 4. added support for big-endian values in expression evaluator.
Diffstat (limited to 'server')
-rw-r--r--server/machine/cpudefs-ext.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/server/machine/cpudefs-ext.h b/server/machine/cpudefs-ext.h
index 3a252400..240da5f7 100644
--- a/server/machine/cpudefs-ext.h
+++ b/server/machine/cpudefs-ext.h
@@ -14,10 +14,10 @@
#include <services/context-proxy.h>
-RegisterDefinition * get_reg_by_id(Context * ctx, unsigned id, unsigned munbering_convention) {
+RegisterDefinition * get_reg_by_id(Context * ctx, unsigned id, RegisterIdScope * scope) {
RegisterDefinition * defs = get_reg_definitions(ctx);
while (defs != NULL && defs->name != NULL) {
- switch (munbering_convention) {
+ switch (scope->id_type) {
case REGNUM_DWARF:
if (defs->dwarf_id == (int)id) return defs;
break;
@@ -27,6 +27,7 @@ RegisterDefinition * get_reg_by_id(Context * ctx, unsigned id, unsigned munberin
}
defs++;
}
+ set_errno(ERR_OTHER, "Invalid register ID");
return NULL;
}

Back to the top