diff options
Diffstat (limited to 'emulators/gpsim-devel/patches/patch-src_processor.cc')
-rw-r--r-- | emulators/gpsim-devel/patches/patch-src_processor.cc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/emulators/gpsim-devel/patches/patch-src_processor.cc b/emulators/gpsim-devel/patches/patch-src_processor.cc new file mode 100644 index 00000000000..c69e7c00b54 --- /dev/null +++ b/emulators/gpsim-devel/patches/patch-src_processor.cc @@ -0,0 +1,35 @@ +$NetBSD: patch-src_processor.cc,v 1.1 2011/12/19 15:58:40 wiz Exp $ + +--- src/processor.cc.orig 2005-09-01 10:17:59.000000000 +0000 ++++ src/processor.cc +@@ -36,6 +36,7 @@ Boston, MA 02111-1307, USA. */ + #include <iostream> + #include <iomanip> + #include <string> ++#include <typeinfo> + + #include "../config.h" + #include "gpsim_def.h" +@@ -625,11 +626,11 @@ void Processor::read_src_files(void) + + //------------------------------------------------------------------- + // +-// processor -- list ++// processor -- plist + // + // Display the contents of either a source or list file + // +-void Processor::list(unsigned int file_id, ++void Processor::plist(unsigned int file_id, + unsigned int pc_val, + unsigned int start_line, + unsigned int end_line) +@@ -2137,7 +2138,7 @@ void FileContext::ReadSource(void) + line_seek = new vector<int>(max_line()+1); + pm_address = new vector<int>(max_line()+1); + +- std::rewind(fptr); ++ ::rewind(fptr); + + char buf[256],*s; + (*line_seek)[0] = 0; |