aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerinternalconstants.h
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-03-06 10:03:29 +0100
committerhjk <hjk121@nokiamail.com>2013-03-08 17:29:06 +0100
commite1f8ed73846279954ed1c0a1ad96472031f0bc05 (patch)
treea670488206c1a6015c633d3688d697e75f06bb75 /src/plugins/debugger/debuggerinternalconstants.h
parent48951d162e275f5718a1bf3f0d1b3ab452b89eea (diff)
Debugger: Sort out the 'address' vs 'origaddr' fields
Now 'address' always refers to the address of the object or field mentioned in a WatchItem whereas 'origaddr' is optionally used for the address of the pointer (not its value) pointing to the object/field in case of "autoderef" pointers. Change-Id: I718eb13e6147dafca016c85db6c8b31c631cc764 Reviewed-by: hjk <hjk121@nokiamail.com>
Diffstat (limited to 'src/plugins/debugger/debuggerinternalconstants.h')
-rw-r--r--src/plugins/debugger/debuggerinternalconstants.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/debugger/debuggerinternalconstants.h b/src/plugins/debugger/debuggerinternalconstants.h
index a1b2fa694e0..98118808b78 100644
--- a/src/plugins/debugger/debuggerinternalconstants.h
+++ b/src/plugins/debugger/debuggerinternalconstants.h
@@ -76,13 +76,12 @@ enum ModelRoles
LocalsTypeFormatListRole,
LocalsTypeFormatRole, // Used to communicate alternative formats to the view
LocalsIndividualFormatRole,
- LocalsAddressRole, // Memory address of variable as quint64
- LocalsReferencingAddressRole, // Address referencing for 'Automatically dereferenced pointer'
+ LocalsObjectAddressRole, // Memory address of variable as quint64
LocalsSizeRole, // Size of variable as quint
LocalsRawValueRole, // Unformatted value as string
- LocalsPointerValueRole, // Pointer value (address) as quint64
- LocalsIsWatchpointAtAddressRole,
- LocalsIsWatchpointAtPointerValueRole,
+ LocalsPointerAddressRole, // Address of (undereferenced) pointer as quint64
+ LocalsIsWatchpointAtObjectAddressRole,
+ LocalsIsWatchpointAtPointerAddressRole,
// Snapshots
SnapshotCapabilityRole