1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
|