mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
Added alternate file to load symbols from (instead of the debugee executable).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user