From 1e57a6df5c5a270ecc2617287efcdc545324de27 Mon Sep 17 00:00:00 2001 From: "SND\\EreTIk_cp" Date: Thu, 17 Nov 2011 20:36:11 +0000 Subject: [PATCH] [0.1.x] add: array of pointers to arrays (some cases) git-svn-id: https://pykd.svn.codeplex.com/svn@71457 9b283d60-5439-405e-af05-b73fd8c4d996 --- test/targetapp/targetapp.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/targetapp/targetapp.cpp b/test/targetapp/targetapp.cpp index 805e097..c3c21c3 100644 --- a/test/targetapp/targetapp.cpp +++ b/test/targetapp/targetapp.cpp @@ -65,8 +65,18 @@ unsigned long ulongArray[] = {0, 0xFF, 0x8000, 0x80000000, 0xFFFFFFFF }; unsigned __int64 ulonglongArray[] = {0, 0xFF, 0xFFFFFFFF, 0x8000000000000000, 0xFFFFFFFFFFFFFFFF }; int intMatrix[2][3] = { { 0, 1, 2}, { 3, 4, 5 } }; +int intMatrix2[2][3] = { { 0, 1, 2}, { 3, 4, 5 } }; +int intMatrix3[2][3] = { { 0, 1, 2}, { 3, 4, 5 } }; +int intMatrix4[2][3] = { { 0, 1, 2}, { 3, 4, 5 } }; char* strArray[] = { "Hello", "Bye" }; int (*ptrIntMatrix)[2][3] = &intMatrix; + +// kd> x targetapp!arrIntMatrixPtrs +// xxxxxxxx targetapp!arrIntMatrixPtrs = int (*[4])[2][3] +int (* arrIntMatrixPtrs[4])[2][3] = { + &intMatrix, &intMatrix2, &intMatrix3, &intMatrix4 +}; + char *(*ptrStrArray)[2] = &strArray; class classChild : public classBase {