Skip to content

Commit

Permalink
Note on compiling target
Browse files Browse the repository at this point in the history
  • Loading branch information
lizrice authored May 15, 2018
1 parent ebaeed8 commit ae01971
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Big caveat: it assumes there is only one file in the target!
I fully expect this only to work on Linux.

This is a more detailed version of the code I wrote in my [Debuggers From Scratch talk at dotGo Paris](https://youtu.be/TBrv17QyUE0).

## A note on compiling the target executable

You may find it helpful to compile your target excutable with `gcflags="-N -l"` to turn off compiler optimization and in-lining (otherwise you might find that the symbol table doesn't appear to know about code where you expect it to be!)

0 comments on commit ae01971

Please sign in to comment.