Added alternate file to load symbols from (instead of the debugee executable).

This commit is contained in:
Ernie Pasveer
2022-12-29 19:03:18 -06:00
parent b430546009
commit 12877a84f9
17 changed files with 226 additions and 17 deletions
+26
View File
@@ -0,0 +1,26 @@
#include <string>
#include <iostream>
void function1 (const std::string& message);
int main (int argc, char** argv) {
int j = 0;
for (int i=0; i<argc; i++) {
std::cout << "XX: "
<< i
<< " "
<< argv[i]
<< std::endl;
}
std::string message = "Hello, World!";
j++;
function1(message);
return 0;
}