yasm/plugins/dbg
Peter Johnson e733283016 Clean up plugins CMakeLists a bit.
Be more clever about finding the yasm executable on Windows.

svn path=/trunk/yasm/; revision=2103
2008-05-24 18:32:39 +00:00
..
CMakeLists.txt Clean up plugins CMakeLists a bit. 2008-05-24 18:32:39 +00:00
dbg-objfmt.c Add cmake build infrastructure. 2008-05-22 09:08:03 +00:00
init_plugin.c Add cmake build infrastructure. 2008-05-22 09:08:03 +00:00
README Add cmake build infrastructure. 2008-05-22 09:08:03 +00:00

This directory demonstrates how to build a basic plugin.
It does not need access to the yasm source, only an installed yasm.

To build:
  mkdir objdir
  cd objdir
  cmake ..
  make

Testing:
  yasm -N ./libdbgmod.so -f dbg -
     db 5
     ^D
(result lines will have PLUGIN prefixed to the function calls; this
demonstrates the plugin is being used rather than the builtin dbg module)