JPH01287752A - Debugging device - Google Patents

Debugging device

Info

Publication number
JPH01287752A
JPH01287752A JP63117640A JP11764088A JPH01287752A JP H01287752 A JPH01287752 A JP H01287752A JP 63117640 A JP63117640 A JP 63117640A JP 11764088 A JP11764088 A JP 11764088A JP H01287752 A JPH01287752 A JP H01287752A
Authority
JP
Japan
Prior art keywords
address
symbol
information
data
symbol information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63117640A
Other languages
Japanese (ja)
Inventor
Kenji Kudo
健治 工藤
Masaki Takashima
高島 正貴
Shoichi Akaiwa
昇一 赤岩
Nobuko Abe
阿部 信子
Yoshitaka Kimura
芳孝 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Fujitsu Microcomputer Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Microcomputer Systems Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Fujitsu Microcomputer Systems Ltd filed Critical Fujitsu Ltd
Priority to JP63117640A priority Critical patent/JPH01287752A/en
Publication of JPH01287752A publication Critical patent/JPH01287752A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve debugging environment by retrieving a symbol table according to symbol information which is inputted by an operator, and fetching and outputting address information regarding the symbol information to a read- out means. CONSTITUTION:A host-side computer 8 equipped with the symbol table 5 is provided in addition to a target-side computer 4 equipped with a storage means 1 stored with a program to be debugged, and the symbol table 5 is referred to by using the symbol information which is inputted by the operator to read out corresponding address information. Then the address of the storage means 1 is specified with this address information and an instruction or data is read out of the corresponding address and executed. Consequently, while the operator can perform the debugging operation according to the constant symbol information throughout the operation without considering address information which is changed or corrected frequently.

Description

【発明の詳細な説明】 〔概要〕 デバッグ装置に関し、 シンボルテーブルをデバッグ対象のプログラム外に置く
ことにより、該プログラムに充分な機能を搭載しつつ、
シンポリンクデバッグのサポートを可能にしたデバッグ
装置を提供することを目的とし、 多数の命令およびデータが各々アドレスを付与されて格
納された記憶手段と、 所定のアドレス情報に従って、該記憶手段を検索し、ア
ドレス情報で指定されたアドレス内の命令あるいはデー
タを読み出す読出し手段と、読出し手段によって読み出
された命令あるいはデータを実行する実行手段とを含む
クーゲント側コンピュータを備えるとともに、 前記記憶手段内の所定の命令あるいはデータに対応する
シンボル情報およびこのシンボル情報に相関する前記記
憶手段のアドレスが書き込まれたシンボルテーブルと、 オペレータによって任意のシンボル情報が入力される入
力手段からのシンボル情報に従ってシンボルテーブルを
検索し、 該シンボル情報に相関するアドレス情報を取り出して前
記読出し手段に出力するアドレス情報出力手段とを含む
ホスト側コンピュータを備えテ構成している。
[Detailed Description of the Invention] [Summary] Regarding a debugging device, by placing a symbol table outside the program to be debugged, the program can be equipped with sufficient functions, and
The purpose of the present invention is to provide a debugging device capable of supporting sympolink debugging, which includes a storage means in which a large number of instructions and data are stored, each assigned an address, and the storage means is searched according to predetermined address information. , a computer on the Cougent side including a reading means for reading an instruction or data within an address specified by the address information, and an execution means for executing the instruction or data read by the reading means; A symbol table is searched according to a symbol table in which symbol information corresponding to an instruction or data and an address of the storage means correlated to this symbol information are written, and symbol information from an input means into which arbitrary symbol information is input by an operator. and address information output means for extracting address information correlated with the symbol information and outputting it to the reading means.

〔産業上の利用分野〕[Industrial application field]

本発明は、デバッグ装置に関し、特に、ワンチップマイ
クロコンピュータ等のシングルボードコンビエータに搭
載されたプログラムに対して、充分な機能を搭載しつつ
、シンボリックデバッガのサポートを可能にしたデバッ
グ装置に関する。
The present invention relates to a debugging device, and particularly to a debugging device that is capable of supporting a symbolic debugger while being equipped with sufficient functions for programs installed on a single-board combinator such as a one-chip microcomputer.

近年、半導体の微細化技術や製造技術の進展に伴って、
例えば、ワンチップマイクロコンピュータは一段と高性
能・低価格化してきた。これにより広範な産業分野でマ
イクロコンピュータが使用されるようになり、融通性、
柔軟性に優れた多品種、少量のソフトウェアの開発比重
が増大している。
In recent years, with advances in semiconductor miniaturization technology and manufacturing technology,
For example, one-chip microcomputers have become more sophisticated and cheaper. As a result, microcomputers have come to be used in a wide range of industrial fields, offering greater flexibility and
The emphasis on developing highly flexible, high-mix, low-volume software is increasing.

一般に、ソフトウェアの開発段階では、ソースプログラ
ムの作成作業およびソースプログラムから絶対番地指定
のオブジェクトプログラムへの翻訳作業などの各種作業
が行われるが、なかでもプログラムミスや修正のための
デバッグ作業は不可欠であり、特に、多品種、少量のソ
フトウェア開発ではデバッグ作業が頻繁に行われる。デ
バッグ作業は、任意の命令を実行させて、その結果を確
認したり、あるいはデータ等を表示させたりするもので
、通常、デバッガと呼ばれるソフトウェアのサポートツ
ールを使用して行われる。
Generally, at the software development stage, various tasks are performed, such as creating a source program and translating the source program into an object program with absolute address specification, but debugging to detect and correct program errors is essential. In particular, debugging work is frequently performed when developing high-mix, low-volume software. Debugging involves executing arbitrary instructions, checking the results, or displaying data, etc., and is usually performed using a software support tool called a debugger.

〔従来の技術〕[Conventional technology]

従来のこの種のデバッガとしては、例えば同一のマイク
ロコンピュータ上にデバッグ対象のプログラムとデバッ
ガを置き、デバッガを起動させてデバッグ作業を行うも
のがあり、具体的には、■ オペレータが、オブジェク
トプログラムの絶対番地を意識しながらデパック作業を
行う比較的に低レベルのものや、 ■ オペレータが、オブジェクトプログラムのモジュー
ル等に付加された参照名(以下、シンボル情報)を意識
しながらデバッグ作業を行う比較的に高レベルのもの(
いわゆるシンボリックデバッガ)などがある。特に、シ
ンボリックデバッガでは、デバッグ段階を通して頻繁に
変更・修正がなされる絶対番地を意識しなくてもよいの
で、作業ミス等を防止することができ、デバッグ作業の
効率が高い。
Conventional debuggers of this type include, for example, those that place the program to be debugged and the debugger on the same microcomputer and start the debugger to perform debugging work. There are relatively low-level depacking operations in which the operator is aware of absolute addresses, and ■ relatively low-level debugging operations in which the operator is aware of the reference names (hereinafter referred to as symbol information) added to object program modules. to a high level (
There are so-called symbolic debuggers). In particular, with a symbolic debugger, there is no need to be aware of absolute addresses that are frequently changed or modified throughout the debugging stage, so work errors can be prevented, and debugging work is highly efficient.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、このような従来のシンボリックデバッガ
にあっては、デバッグ作業の効率が高いといった長所を
有している反面、シンボル情報と絶対番地との相関表(
以下、シンボルテーブル)を備える必要があり、一般に
シンボルテーブルの容量は、オブジェクトプログラム容
量の3倍程度を要することが多いから、メモリ容量の少
ない、例えばワンチップマイクロコンピュータ等のシン
グルボードコンピュータにシンボリックデバッガを搭載
した場合、メモリ容量に占めるデバッガの割合が増大す
ることとなり、その結果、必要な本来の機能の搭載が制
限されることがあった。このため、シングルボードコン
ピュータでは上記■の比較的低レベルのデバッガを適用
せざるを得す、デバッグ環境の面で問題点があった。し
かも、シングルボードコンピュータは、−1に多品種、
少量向けのものが多く、デバッグ環境の問題は大きい。
However, while these conventional symbolic debuggers have the advantage of high debugging efficiency, they do not provide a correlation table between symbol information and absolute addresses (
In general, the capacity of the symbol table often requires about three times the capacity of the object program. When a debugger is installed, the ratio of the debugger to the memory capacity increases, and as a result, the installation of necessary original functions is sometimes restricted. For this reason, single-board computers have no choice but to use the relatively low-level debugger described in (2) above, which poses a problem in terms of the debugging environment. Moreover, single board computers have -1 a wide variety of types;
Many of them are for small quantities, and the debugging environment is a big problem.

本発明は、このような問題点に鑑みてなされたもので、
シンボルテーブルをデバッグ対象のプログラム外に置く
ことにより、該プログラムに充分な機能を搭載しつつ、
シンポリンクデバッグのサポートを可能にしたデバッグ
装置を提供することを目的としている。
The present invention was made in view of these problems, and
By placing the symbol table outside the program being debugged, you can provide sufficient functionality to the program while
The purpose is to provide a debug device that supports sympolink debugging.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明のデバッグ装置の原理ブロック図を示す
FIG. 1 shows a principle block diagram of a debugging device according to the present invention.

第1図において、多数の命令およびデータが各々アドレ
スを付与されて格納された記憶手段1と、所定のアドレ
ス情報に従って、該記憶手段1を検索し、アドレス情報
で指定されたアドレス内の命令あるいはデータを読み出
す読出し手段2と、読出し手段2によって読み出された
命令あるいはデータを実行する実行手段3とを含むター
ゲット側コンピュータ4を備えるとともに、前記記憶手
段1内の所定の命令あるいはデータに対応するシンボル
情報およびこのシンボル情報に相関する前記記憶手段1
のアドレスが書き込まれたシンボルテーブル5と、 オペレークによって任意のシンボル情報が入力される入
力手段6からのシンボル情報に従ってシンボルテーブル
5を検索し、 該シンボル情報に相関するアドレス情報を取り出して前
記読出し手段2に出力するアドレス情報出力手段7とを
含むホスト側コンピュータ8を備えて構成している。
In FIG. 1, a storage means 1 stores a large number of instructions and data, each assigned an address, and the storage means 1 is searched according to predetermined address information to find instructions or data within an address specified by the address information. The target side computer 4 includes a reading means 2 for reading data, and an execution means 3 for executing the command or data read by the reading means 2, and a computer 4 for executing a command or data read out by the reading means 2. symbol information and said storage means 1 correlated to this symbol information;
The reading means searches the symbol table 5 in accordance with the symbol information from the input means 6 into which arbitrary symbol information is input by operation, retrieves the address information correlated with the symbol information, and retrieves the address information correlated with the symbol information. The host computer 8 includes an address information output means 7 for outputting information to the computer 2.

〔作用〕[Effect]

本発明では、デバッグ対象のプログラムを格納した記憶
手段1を備えたターゲット側コンピュータ4の外に、シ
ンボルテーブル5を備えたホスト側コンピュータ8が設
けられ、シンボルテーブル5はオペレータによって入力
されたシンボル情報で参照され、対応するアドレス情報
が読み出される。そして、上記記憶手段1はこのアドレ
ス情報によってアドレス指定され、該当するアドレス内
の命令あるいはデータが取り出されて実行される。
In the present invention, a host side computer 8 equipped with a symbol table 5 is provided in addition to a target side computer 4 equipped with a storage means 1 storing a program to be debugged, and the symbol table 5 stores symbol information input by an operator. , and the corresponding address information is read out. Then, the storage means 1 is addressed by this address information, and the command or data within the corresponding address is retrieved and executed.

したがって、オペレータはデバッグ作業の間、頻繁に変
更・修正されるアドレス情i(絶対番地で表現)を意識
せずに、デバッグ作業の全段階を通して一定のシンボル
情報に従って該作業を行うことができ、デバッグ環境の
改善が図られる。
Therefore, during debugging work, the operator can perform the work according to constant symbol information throughout all stages of debugging work without being aware of address information i (expressed as an absolute address) that is frequently changed or modified. The debugging environment will be improved.

また、シンボルテーブル5は、デバッグ対象のプログラ
ム外に置かれるので、記憶手段1の容量の大部分を該プ
ログラムに割り当てることができ、必要な機能を充分に
搭載することができる。
Further, since the symbol table 5 is placed outside the program to be debugged, most of the capacity of the storage means 1 can be allocated to the program, and necessary functions can be fully loaded.

〔実施例〕〔Example〕

以下、本発明を図面に基づいて説明する。 Hereinafter, the present invention will be explained based on the drawings.

第2.3図は本発明に係るデバッグ装置の一実施例を示
す図である。
FIG. 2.3 is a diagram showing an embodiment of a debugging device according to the present invention.

まず、構成を説明する。第2図において、10はターゲ
ット側コンピュータとしてのワンチップマイクロコンピ
ュータ(あるいはシングルボードコンピュータ)、20
はホスト側コンピュータ、30はキーボードや表示装置
あるいはプリンター等を備えた入力手段としての端末で
あり、これら、ワンチップマイクロコンピュータ10、
ホスト側コンピュータ20、端末30の間は同一規格の
データバス(例えばR3C232G)で接続されている
(図中21i線で示す)。
First, the configuration will be explained. In FIG. 2, 10 is a one-chip microcomputer (or single board computer) as a target side computer;
is a host computer; 30 is a terminal as an input means equipped with a keyboard, a display device, a printer, etc.;
The host computer 20 and the terminal 30 are connected by a data bus (for example, R3C232G) of the same standard (indicated by line 21i in the figure).

上記ワンチップマイクロコンピュータ10は、ROM(
記憶手段り10a、RAM10b、CPU(読出し手段
2、実行手段3)10cおよびl1010dを含んで構
成されている。ROM1Oaには、多数の命令およびデ
ータが各々キャラクタ列で表現され、各キャラクタ列に
アドレスが割り当てられたオブジェクトプログラムPC
およびマルチデバッガDBが格納されている。CPUI
Qcは、オブジェクトプログラムPCを逐次実行して所
定の演算処理を行うとともに、l1010dを介して外
部から所定のコマンド情報CMが取り込まれたときは、
このCMに従ってマルチデバッガDBを実行させる。な
お、1ブジエクトプログラムPCおよびマルチデバッガ
DI3はRAM10b上にあってもよい。
The one-chip microcomputer 10 has a ROM (
It is configured to include a storage means 10a, a RAM 10b, a CPU (reading means 2, execution means 3) 10c and l1010d. The ROM1Oa contains an object program PC in which a large number of instructions and data are each expressed as character strings, and an address is assigned to each character string.
and a multi-debugger DB are stored. C.P.U.I.
Qc sequentially executes the object program PC to perform predetermined arithmetic processing, and when predetermined command information CM is fetched from the outside via l1010d,
The multi-debugger DB is executed according to this CM. Note that the one-build program PC and the multi-debugger DI3 may be located on the RAM 10b.

一方、上記ホスト側コンピュータ20は、ROM20a
、ROM20b、RAM20c、l1020d、110
20eおよびcpu <出力手段7)20fを含んで構
成されている。ROM20aには、ワンチップマイクロ
コンピュータ10とホスト側コンピュータ20間のデー
タ授受を制御する通信プログラムが格納されており、ま
た、RAM20Gには、必要に応じて外部の記憶装置等
から転送されたシンボルテーブルTBLが格納される。
On the other hand, the host computer 20 has a ROM 20a
, ROM20b, RAM20c, l1020d, 110
20e and CPU<output means 7) 20f. The ROM 20a stores a communication program that controls data exchange between the one-chip microcomputer 10 and the host computer 20, and the RAM 20G stores symbol tables transferred from an external storage device, etc. as necessary. TBL is stored.

なお、シンボルテーブルTBLは、予めROM20bに
格納しておいてもよい。
Note that the symbol table TBL may be stored in the ROM 20b in advance.

ここで、シンボルテーブル置は、前記オブジェクトプロ
グラムPC内の所定のキャラクタ列に対応するシンボル
情報と、このシンボル情報に関連づけられた前記オブジ
ェクトプログラムPGのアドレスとを相関表の形で表し
たもので、任意のシンボル情報を参照すると、当該シン
ボル情報に対応するキャラクタ列が格納されたオブジェ
クトプログラムPGのアドレスが取り出されるように配
列されたものである。
Here, the symbol table location represents symbol information corresponding to a predetermined character string in the object program PC and the address of the object program PG associated with this symbol information in the form of a correlation table, The arrangement is such that when any symbol information is referenced, the address of the object program PG in which the character string corresponding to the symbol information is stored is retrieved.

CPU20fは、オペレータによって端末30に入力さ
れたシンボル情報を受け、シンボルテーブルTBLを参
照してアドレスを取り出した後、このアドレス情報を、
通信プログラムに従ってワンチップマイクロコンピュー
タ10に送出する処理を実行する。また、ワンチップマ
イクロコンピュータ10から送られてきたデータを受け
、このデータを端末30に転送して端末30に表示ある
いはプリントアウトさせる処理も行う。
The CPU 20f receives the symbol information input into the terminal 30 by the operator, refers to the symbol table TBL, extracts the address, and then inputs this address information into
The process of sending data to the one-chip microcomputer 10 is executed according to the communication program. It also receives data sent from the one-chip microcomputer 10, transfers the data to the terminal 30, and displays or prints it out on the terminal 30.

次に、作用を説明する。Next, the effect will be explained.

今、オブジェクトプログラムPG内の所定のモジュール
をダンプさせてモニターするデバッグ作業を考える。な
お、上記所定のモジュールには、ソフトウェアの開発段
階を通して一定の参照名(シンボル情報)が付与されて
おり、ここではその参照名を便宜的に“! AAA”と
する。
Now, consider a debugging operation in which a predetermined module in an object program PG is dumped and monitored. Note that a certain reference name (symbol information) is given to the above-mentioned predetermined module throughout the software development stage, and here, for convenience, the reference name will be "! AAA".

まず、オペレータは、端末30上のプロノブl−表示“
〉”を確認した後、キーボードを操作して、ダンプ命令
“D”を入力し、引き続いて参照名“! AAA”を入
力する。ホストコンピュータ20(7)CPU20fは
、”!AAA″に従ッテ、シンボルテーブルTBLを参
照し、”!AAA”に関連づけられたアドレス(例えば
“1000”)を読み出す。次いで、CPU20fは、
ダンプ命令“D”および読み出された“1ooo″を組
み合わせて、“01000″なるコマンド文字列(コマ
ンド情報CM)を作成する。そして、CPU20fは、
通信プログラムを実行し、コマンド文字列をワンチップ
マイクロコンピュータ10に送出する。
First, the operator displays the Proknob l-display on the terminal 30.
〉”, use the keyboard to input the dump command “D”, and then enter the reference name “!”. AAA" is input. The host computer 20 (7) CPU 20f inputs "! ``AAA'', refer to the symbol table TBL, and ``! AAA” associated with the address (for example, “1000”).Then, the CPU 20f reads the address (for example, “1000”) associated with
The dump command "D" and the read "1ooo" are combined to create a command character string "01000" (command information CM). And the CPU20f is
A communication program is executed and a command string is sent to the one-chip microcomputer 10.

ワンチップマイクロコンピュータ10のCPUl0Cは
、送られてきたコマンド文字列を解読し、ダンプ命令で
あることを判別すると、オブジェクトプログラムPC内
の“1000”番地から所定バイト数(例えば256バ
イト)分の命令やデータ等(以下、データ等)を読み出
す。そして、cpUlocは読み出したデータ等をその
まま(キャラクタ列のまま)ホスト側コンピュータ20
に転送する。ホスト側コンピュータ20のCP U3O
fはこの転送されたデータ等を端末30に送り、端末3
0上に表示させる。
When the CPU10C of the one-chip microcomputer 10 decodes the sent command string and determines that it is a dump command, it executes a predetermined number of bytes (for example, 256 bytes) of commands from address "1000" in the object program PC. and data etc. (hereinafter referred to as data etc.). Then, cpUloc transfers the read data as it is (as it is as a character string) to the host computer 20.
Transfer to. CPU U3O of host computer 20
f sends this transferred data etc. to the terminal 30, and
Display on top of 0.

以上のようなダンプ処理を概念的に表せば第3図の如く
示される。第3図において、(SMBLE)は多数のシ
ソポル情報が書き込まれたシンボル領域、(ADR3)
は上記(SMBLE)に関連づけてアドレス情報が書き
込まれたアドレス領域、(キャラクタデータ)は命令お
よびデータ等である。
The above-described dump processing can be conceptually represented as shown in FIG. 3. In FIG. 3, (SMBLE) is a symbol area in which a large number of Sisopol information is written, (ADR3)
is an address area in which address information is written in association with the above (SMBLE), and (character data) is an instruction, data, etc.

まず、端末30に入力された“! AAA”で(SMB
LE)が参照され、同一シンボル情報のアドレス情報(
1000”)が取り出され、次いで、このアドレス情報
“1000”で表示されたオブジェクトプログラムPC
のアドレス内のキャラクタデータ(例えば、20.34
.54、AF)が読み出されて端末30上に表示される
。そして、アドレス“1000”から256バイトのダ
ンプ処理であれば、上記キャラクタデータに引き続いて
256バイトのデータが端末30に表示される。
First, enter “! AAA” on the terminal 30 (SMB
LE) is referenced, and the address information (LE) of the same symbol information (
1000") is retrieved, and then the object program PC displayed with this address information "1000"
character data within the address (for example, 20.34
.. 54, AF) is read out and displayed on the terminal 30. If the process is to dump 256 bytes from address "1000", 256 bytes of data will be displayed on the terminal 30 following the character data.

このように本実施例では、オブジェクトプログラムPC
とシンボルテーブルTBLとを分離し、ワンチップマイ
クロコンピュータ10の外の、ホスト側コンピュータ2
0にシンボルテーブル置を格納している。このため、オ
ペレータはオブジェクトプログラムPCの絶対番地(例
えば、上述の“1000”)を意識せずにデバッグ作業
を行う。
In this way, in this embodiment, the object program PC
and the symbol table TBL are separated, and the host side computer 2 is installed outside the one-chip microcomputer 10.
The symbol table location is stored in 0. Therefore, the operator performs debugging work without being aware of the absolute address of the object program PC (for example, the above-mentioned "1000").

ことができる。すなわち、シンボル情報はソフトウェア
の開発段階を通して一定であり、通常、変更・修正はな
されないから、このシンボル情報を意識しながら行う本
実施例のデバッグ作業は、作業の信顧性が高く効率が良
い。
be able to. In other words, since symbol information remains constant throughout the software development stage and is not normally changed or modified, the debugging work of this embodiment, which is performed while being aware of this symbol information, is highly reliable and efficient. .

また、比較的に大きな容量となるシンボルテーブル置を
、オブジェクトプログラムPCから切り離してホスト側
コンピュータ20のRA M2OC内に格納しているの
で、ワンチップマイクロコンピュータ10のROM10
a内にオブジェクトプログラムPCを格納するに際し、
これを余裕をもって行うことができる。すなわち、必要
にして充分な機能をオブジェクトプログラムPGに持た
せることができる。
In addition, since the symbol table storage, which has a relatively large capacity, is separated from the object program PC and stored in the RAM 2OC of the host computer 20, the ROM 10 of the one-chip microcomputer 10
When storing the object program PC in a,
You can do this with plenty of time. That is, the object program PG can be provided with necessary and sufficient functions.

さらに本実施例では、端末30.ホスト側コンピュータ
20.フンチップマイクロコンピュータ10の間を同一
規格のデータバスで接続しているので、ホスト側コンピ
ュータ20を介さずに、端末30とワンチップマイクロ
コンピュータ10とを直接に接続することもできる。こ
のようにすると、シンボリックデバッガは行えないもの
の、絶対番地指定のデバッグ作業は行える。例えば、端
末30から”DI000″を入力すると、上記実施例と
同一のダンプ処理が実行される。したがって、ホスト側
コンピュータ20を使用できない場合でも、従来通りの
デバッグ作業を行うことはできる。
Furthermore, in this embodiment, the terminal 30. Host computer 20. Since the single-chip microcomputers 10 are connected by a data bus of the same standard, the terminal 30 and the single-chip microcomputer 10 can be directly connected without going through the host computer 20. If you do this, you will not be able to use a symbolic debugger, but you will be able to debug with absolute address specification. For example, when "DI000" is input from the terminal 30, the same dump process as in the above embodiment is executed. Therefore, even if the host computer 20 cannot be used, conventional debugging work can be performed.

なお、ホスト側コンピュータ20とワンチップマイクロ
コンピュータ10の間にエミュレータヲ介在させる場合
、このエミュレータに対応させてシンボルテーブルTB
Lを作成することにより、オペレータにエミュレータの
存在を意識させないようにもできる。
Note that when an emulator is interposed between the host side computer 20 and the one-chip microcomputer 10, the symbol table TB is
By creating L, it is possible to make the operator unaware of the existence of the emulator.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、ターゲット側コンピュータ内のプログ
ラムのデバッグに際し、シンボリックデバッガを行うこ
とができる。
According to the present invention, a symbolic debugger can be used when debugging a program in a target computer.

しかも、シンボルテーブルをホスト側コンピュータに置
いているので、ターゲット側コンピュータ内のプログラ
ムに充分な機能を持たせることができる。
Furthermore, since the symbol table is located in the host computer, the program in the target computer can be provided with sufficient functionality.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理ブロック図、 第2.3図は本発明の一実施例を示す図であり、第2図
はその全体構成図、 第3図はその作用を説明する概念図である。 1・・−・・・記憶手段、 2・・・・・・読出し手段、 3・・・・・・実行手段、 4・・・・・・ターゲット側コンピュータ、5・・・・
・・シンボルテーブル、 6・・・・・・入力手段、 7・・・・・・出力手段、 8・・・・・・ホスト側コンピュータ、10・・・・・
・ワンチップマイクロコンピュータ(ターゲット側コン
ピュータ)、 10a・・・・・・ROM (記憶手段)、10c・・
・・・・CPU (読出し手段、実行手段)、20・・
・・・・ホスト側コンピュータ、2Of・・・・・・C
PU (出力手段)、TBL・・・・・・シンボルテー
ブル、30・・・・・・端末(入力手段)。
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2.3 is a diagram showing an embodiment of the present invention, Fig. 2 is an overall configuration diagram thereof, and Fig. 3 is a conceptual diagram explaining its operation. be. 1...Storage means, 2...Reading means, 3...Execution means, 4...Target side computer, 5...
...Symbol table, 6...Input means, 7...Output means, 8...Host side computer, 10...
・One-chip microcomputer (target side computer), 10a...ROM (storage means), 10c...
...CPU (reading means, execution means), 20...
...Host side computer, 2Of...C
PU (output means), TBL... symbol table, 30... terminal (input means).

Claims (1)

【特許請求の範囲】 多数の命令およびデータが各々アドレスを付与されて格
納された記憶手段(1)と、 所定のアドレス情報に従って、該記憶手段(1)を検索
し、アドレス情報で指定されたアドレス内の命令あるい
はデータを読み出す読出し手段(2)と、 読出し手段(2)によって読み出された命令あるいはデ
ータを実行する実行手段(3)とを含むターゲット側コ
ンピュータ(4)を備えるとともに、 前記記憶手段(1)内の所定の命令あるいはデータに対
応するシンボル情報およびこのシンボル情報に相関する
前記記憶手段(1)のアドレスが書き込まれたシンボル
テーブル(5)と、 オペレータによって任意のシンボル情報が入力される入
力手段(6)からのシンボル情報に従ってシンボルテー
ブル(5)を検索し、 該シンボル情報に相関するアドレス情報を取り出して前
記読出し手段(2)に出力するアドレス情報出力手段(
7)とを含むホスト側コンピュータ(8)を備えたこと
を特徴とするデバッグ装置。
[Claims] A storage means (1) in which a large number of instructions and data are stored, each assigned an address; A target side computer (4) including a reading means (2) for reading an instruction or data in an address, and an execution means (3) for executing the instruction or data read by the reading means (2), and A symbol table (5) in which symbol information corresponding to a predetermined command or data in the storage means (1) and an address of the storage means (1) correlated to this symbol information are written, and an operator can input arbitrary symbol information. address information output means () that searches the symbol table (5) according to symbol information inputted from the input means (6), extracts address information correlated with the symbol information and outputs it to the reading means (2);
7) A debugging device comprising a host computer (8).
JP63117640A 1988-05-13 1988-05-13 Debugging device Pending JPH01287752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63117640A JPH01287752A (en) 1988-05-13 1988-05-13 Debugging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63117640A JPH01287752A (en) 1988-05-13 1988-05-13 Debugging device

Publications (1)

Publication Number Publication Date
JPH01287752A true JPH01287752A (en) 1989-11-20

Family

ID=14716699

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63117640A Pending JPH01287752A (en) 1988-05-13 1988-05-13 Debugging device

Country Status (1)

Country Link
JP (1) JPH01287752A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546429A (en) * 1991-08-20 1993-02-26 Nec Corp Software debugging system
JPH05173831A (en) * 1991-05-24 1993-07-13 Nec Home Electron Ltd Verifying system for cd-rom software
US7047443B2 (en) 1998-03-31 2006-05-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61296440A (en) * 1985-06-25 1986-12-27 Nec Corp Microcomputer debugging support system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61296440A (en) * 1985-06-25 1986-12-27 Nec Corp Microcomputer debugging support system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05173831A (en) * 1991-05-24 1993-07-13 Nec Home Electron Ltd Verifying system for cd-rom software
JPH0546429A (en) * 1991-08-20 1993-02-26 Nec Corp Software debugging system
US7047443B2 (en) 1998-03-31 2006-05-16 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7100086B1 (en) 1998-03-31 2006-08-29 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system
US7114101B2 (en) 1998-03-31 2006-09-26 Seiko Epson Corporation Microcomputer, electronic equipment and debugging system

Similar Documents

Publication Publication Date Title
US7225119B2 (en) System and method for the logical substitution of processor control in an emulated computing environment
US6629157B1 (en) System and method for virtualizing the configuration space of PCI devices in a processing system
US5764947A (en) System and method for automatically interfacing call conventions between two dissimilar program units
JP2002508560A (en) Combining multiple class files into a runtime image
KR920010975B1 (en) Input and output control system and its method
US5819024A (en) Fault analysis system
JPH07230386A (en) Data processor and method for calling control routine
JP2991242B2 (en) How to use a multiprocessor computer system
JPH01287752A (en) Debugging device
US20040031022A1 (en) Information processing device for multiple instruction sets with reconfigurable mechanism
JP3215344B2 (en) Processor and its bug avoidance method
JP2000339189A (en) Method for detecting illegal memory access debugging device and storage medium
JPS62151938A (en) Instruction processing system
JP2578182B2 (en) Data processing device and data processing system
JPS62120542A (en) Information processor
JP3001205B2 (en) Information processing device
JPH03144833A (en) Debugging system
JP2940976B2 (en) Specific character processor
JPH04268928A (en) Emulation device and semiconductor device
JPH11143789A (en) Bus tracing device
JPH0283749A (en) Internal interruption control system for microprocessor
KR970011897B1 (en) Words interpretating device
JPH10312307A (en) Emulator for computer system
JP3177131B2 (en) Electronic circuit analyzer
JPH0259829A (en) Microcomputer