summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--src/cv2pdb.cpp8
2 files changed, 12 insertions, 0 deletions
diff --git a/TODO b/TODO
index 7af7a31..af01458 100644
--- a/TODO
+++ b/TODO
@@ -23,3 +23,7 @@ in the future, but not all have a known solution.
* enum values not displayed
* map dchar to something displayable
* workaround for ulong (written by DMD as int[])
+* watch incorrect if same variable name used in different parts of a function
+* rtti display: disable for structs
+* line number in templates sometimes off by 1 or 2
+* call to other function sometimes jumps to called function while still pushing args
diff --git a/src/cv2pdb.cpp b/src/cv2pdb.cpp
index 4db93b1..6f241b4 100644
--- a/src/cv2pdb.cpp
+++ b/src/cv2pdb.cpp
@@ -565,6 +565,14 @@ int CV2PDB::addFields(codeview_reftype* dfieldlist, const codeview_reftype* fiel
copylen = sizeof(dfieldtype->vfunctab_v2);
break;
+ // throw away friend function declarations, there is no v3 replacement and the debugger won't need them
+ case LF_FRIENDFCN_V1:
+ pos += sizeof(fieldtype->friendfcn_v1) + fieldtype->friendfcn_v1.p_name.namelen - 1;
+ continue;
+ case LF_FRIENDFCN_V2:
+ pos += sizeof(fieldtype->friendfcn_v2) + fieldtype->friendfcn_v2.p_name.namelen - 1;
+ continue;
+
default:
setError("unsupported field entry");
break;