Movatterモバイル変換


[0]ホーム

URL:


JPH07248941A - Debug support device - Google Patents

Debug support device

Info

Publication number
JPH07248941A
JPH07248941AJP6062203AJP6220394AJPH07248941AJP H07248941 AJPH07248941 AJP H07248941AJP 6062203 AJP6062203 AJP 6062203AJP 6220394 AJP6220394 AJP 6220394AJP H07248941 AJPH07248941 AJP H07248941A
Authority
JP
Japan
Prior art keywords
pseudo
operating system
target
software
purpose computer
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
JP6062203A
Other languages
Japanese (ja)
Inventor
Takeshi Miyamoto
武 宮本
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC CorpfiledCriticalNEC Corp
Priority to JP6062203ApriorityCriticalpatent/JPH07248941A/en
Publication of JPH07248941ApublicationCriticalpatent/JPH07248941A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

PURPOSE:To perform debugging without using a target machine even in the case of software incorporated in plural target machines in a network environment by preparing the pseudo-environment of the plural target machines by using a general purpose computer. CONSTITUTION:First, three pseudo target parts 103a, 103b and 103c defined as test objects are activated. Then, incorporated softwares 105a, 105b and 105c of the test objects are successively activated. The activated incorporated softwares 105a, 105b and 105c map respective pseudo on-line OS parts 106 and shared library parts 107 to prescribed virtual addresses, that is, 'turn them to a connection state. Thus, the incorporated softwares 105a, 105b and 105c of the respective test objects are provided with system calls provided by an on-line OS in the actual target machine and inter-processor communication function activation and shared function calls by the pseudo on-line OS parts 106 and an operation in the actual target machine is realized.

Description

Translated fromJapanese
【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、組み込みソフトウエ
アのデバッグ支援装置に関し、特に試験対象となるマル
チプロセッサ上の組み込みソフトウエアの試験を汎用コ
ンピュータ上で可能にさせるデバッグ支援装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a debug support device for embedded software, and more particularly to a debug support device that enables a general-purpose computer to test embedded software on a multiprocessor to be tested.

【0002】[0002]

【従来の技術】交換機などに組み込み、それを動作させ
るための組み込みソフトウエアのデバッグは、通常ター
ゲットマシンである交換機にそのソフトウエアを組み込
んで、実際に動作させることで、誤動作などを検出し
て、組み込んだソフトウエアの不具合(バグ)を検出
(デバッグ)することで行っている。ここで、ネットワ
ークなどで接続されている複数のターゲットマシンに組
み込むソフトウエアのデバッグは、実際に複数のターゲ
ットマシンを用意して、デバッグするソフトウエアを組
み、これを実行させることで行う。
2. Description of the Related Art Debugging of built-in software for operating in an exchange or the like is usually carried out by incorporating the software in the exchange which is a target machine and actually operating it to detect malfunctions. , Detects (debugs) defects (bugs) in the embedded software. Here, the debugging of the software to be incorporated in a plurality of target machines connected by a network or the like is performed by actually preparing a plurality of target machines, assembling the software to be debugged, and executing the software.

【0003】[0003]

【発明が解決しようとする課題】従来は以上のように構
成されていたので、ソフトウエアを組み込む対象が、複
数が関連し合って動作するターゲットマシンの場合、タ
ーゲットマシンの数制限およびターゲットマシンの安定
度により、自由に試験時間をとれず、組み込みソフトウ
エアの試験に対する効率化を妨げるという問題があっ
た。ここで、ターゲットマシンにデバッグ対象のソフト
ウエアを組み込むこと無く、汎用コンピュータ上で、組
み込みソフトウエアのデバッグを可能にするデバッグ支
援装置がある(特開平1−279334号公報参照)。
しかし、このデバッグ支援装置では、ターゲットマシン
が単独で動作する組み込みソフトウエアの単体試験のデ
バッグを前提にしいるので、ネットワーク環境でターゲ
ットマシンが複数ある場合については、用いることが不
可能である。
Since the conventional configuration is as described above, when the target of the software is a target machine in which a plurality of related machines operate in association with each other, the number of target machines is limited and the target machine Due to the stability, there is a problem that the test time cannot be taken freely and the efficiency of the embedded software test is hindered. Here, there is a debug support device that enables debugging of embedded software on a general-purpose computer without incorporating the software to be debugged into the target machine (see Japanese Patent Laid-Open No. 1-279334).
However, since this debug support device is premised on the debug of the unit test of the embedded software in which the target machine operates independently, it cannot be used when there are a plurality of target machines in the network environment.

【0004】この発明は、以上のような問題点を解消す
るためになされたものであり、ネットワーク環境におけ
る複数のターゲットマシンに組み込むソフトウエアであ
っても、ターゲットマシンを用いずにデバッグできるよ
うにすることを目的とする。
The present invention has been made in order to solve the problems as described above, and even software built in a plurality of target machines in a network environment can be debugged without using the target machines. The purpose is to do.

【0005】[0005]

【課題を解決するための手段】この発明のデバッグ支援
装置は、まず、実行するプログラム内のデータを任意の
仮想アドレス空間にマッピングし、マッピングしたデー
タを全てのプロセスからアクセス可能にさせ、あるプロ
セスから他のプロセスのメモリ/レジスタ内容の読み書
きおよび走行/停止を含む実行制御を指示できるプロセ
ス制御機能と、プロセス間のデータの送受信を実現する
プロセス間通信機能を有するオペレーティングシステム
を具備する汎用コンピュータにこのオペレーティングシ
ステムにより管理されこの上で動作する疑似ターゲット
部と、この疑似ターゲット部がターゲットマシンに組み
込んで用いられるデバッグ対象のソフトウエアを保持す
る組み込みソフトウエア保持部と、汎用コンピュータの
オペレーティングシステム上で動作してソフトウエアが
実行されたときのターゲットマシンのプロセスが発行す
るターゲットマシンにおける通信機能を有するオペレー
ティングシステムが提供するシステムコールに対する処
理を疑似的に行って汎用コンピュータのオペレーティン
グシステムが持つプロセス間通信機能を起動することが
できる疑似オンラインオペレーティングシステムと、ソ
フトウエアがターゲットマシンのオンラインプログラム
として搭載された際にそのソフトウエアからアクセスで
きるデータおよび関数群の集合体である共有ライブラリ
と、組み込みソフトウエア保持部に保持されたソフトウ
エアによる実行プロセスを識別するプロセス識別子を管
理し,監視指示のあったソフトウエアに対応して汎用コ
ンピュータのオペレーティングシステムのプロセッサ制
御機能を起動し,ソフトウエアを汎用コンピュータのオ
ペレーティングシステム上のプロセスとして実行させ,
疑似オンラインOS部と共有ライブラリ部に全てのプロ
セスがアクセスすることを可能にさせ,すべてのプロセ
スに対するメモリ,レジスタ内容の読み書きと実行,停
止とを含む実行制御を行い,その結果得られるデバッグ
情報を出力するモニタ部とを有し、汎用コンピュータの
オペレーティングシステム上で疑似ターゲット部を複数
動作したとき、それぞれの疑似オンラインオペレーティ
ングシステムにより、ターゲットマシンにおける動作と
同様に、疑似ターゲット部同士の間で通信を行い、デー
タの送受信が行えることを特徴とする。
The debug support apparatus of the present invention first maps data in a program to be executed in an arbitrary virtual address space, makes the mapped data accessible to all processes, and To a general-purpose computer equipped with an operating system having a process control function capable of instructing execution control including reading / writing of memory / register contents of another process and running / stopping, and an inter-process communication function for transmitting / receiving data between processes A pseudo target unit managed by this operating system and operating on it, an embedded software holding unit that holds the software to be debugged that is used by the pseudo target unit embedded in the target machine, and the operating system of the general-purpose computer. The operating system of a general-purpose computer has a pseudo-process for a system call provided by an operating system having a communication function in the target machine issued by a process of the target machine when the software runs on the system. A pseudo-online operating system that can activate the inter-process communication function, a shared library that is a collection of data and functions that can be accessed from the software when the software is installed as an online program on the target machine, and embedded The process identifier for identifying the execution process by the software held in the software holding unit is managed, and the operating system of the general-purpose computer is operated corresponding to the software for which the monitoring instruction is given. Start processor control functions of the beam, to execute the software as a process on a general purpose computer operating system,
All processes are allowed to access the pseudo online OS part and the shared library part, execution control including reading / writing, execution, and stop of memory and register contents for all processes is performed, and debug information obtained as a result is obtained. When operating a plurality of pseudo target units on the operating system of a general-purpose computer, it has a monitor unit for outputting, and each pseudo online operating system communicates between the pseudo target units in the same way as the operation on the target machine. It is characterized by being able to perform and send and receive data.

【0006】[0006]

【作用】汎用コンピュータを用いて、この中に作り出さ
れた複数のターゲットマシンの疑似環境同士で通信でき
る。
By using a general-purpose computer, the pseudo environments of a plurality of target machines created therein can communicate with each other.

【0007】[0007]

【実施例】以下この発明の1実施例を図を参照して説明
する。図1は、この発明の1実施例でデバッグ支援装置
の構成を示す構成図である。同図において、10は汎用
コンピュータ、20は汎用コンピュータ10における表
示手段であるディスプレイである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing a configuration of a debug support device according to an embodiment of the present invention. In the figure, 10 is a general-purpose computer, and 20 is a display which is a display means in the general-purpose computer 10.

【0008】この汎用コンピュータ10は組み込みソフ
トウエアを実際に動作させるターゲットマシンが用いる
ものと同一のCPU101を有し、オペレーティングシ
ステム102により動作する。そして、オペレーティン
グシステム(OS)102は、汎用コンピュータ10に
以下の機能を提供するものである。まず、プログラム内
のデータを任意の仮想アドレスにマッピングし、マッピ
ングしたデータの全てのプロセスからアクセス可能にさ
せ、あるプロセスから他のプロセスへのメモリ/レジス
タ内容の読み書きや、プログラムの実行/停止を含む実
行制御を指示できるプロセス制御機能を提供する。そし
て、プロセス間のデータの送受信を実現するプロセス間
通信機能を提供するものである。
The general-purpose computer 10 has the same CPU 101 as that used by the target machine that actually operates the embedded software, and is operated by the operating system 102. The operating system (OS) 102 provides the general-purpose computer 10 with the following functions. First, the data in the program is mapped to an arbitrary virtual address so that all processes of the mapped data can access it, and the reading / writing of memory / register contents from one process to another process and the execution / stop of the program. Provide a process control function that can instruct execution control including. And, it provides an inter-process communication function that realizes data transmission and reception between processes.

【0009】また、図1において、103a,b,cは
汎用コンピュータ10のCPU101が有するメモリ上
において、OS102が管理運用している仮想空間に、
ターゲットマシンの環境を疑似的に創り出した疑似ター
ゲット部、104a,b,cは疑似ターゲット部103
a,b,c内にそれぞれ設けられ、疑似ターゲット部1
03a、b、cのそれぞれの動作の監視などを行うモニ
タ部、105a,b,cは疑似ターゲット部103a,
b,cにそれぞれ組み込まれるデバッグ対象の組み込み
ソフトウエアである。
Further, in FIG. 1, 103a, b, and c represent virtual spaces managed and operated by the OS 102 on the memory of the CPU 101 of the general-purpose computer 10.
Pseudo target parts 104a, b, and c, which pseudo create the environment of the target machine, are pseudo target parts 103.
The pseudo target unit 1 is provided in each of a, b, and c.
03a, b, c monitor section for monitoring the respective operations, and 105a, b, c are pseudo target sections 103a,
This is embedded software to be debugged that is embedded in each of b and c.

【0010】モニタ部104a,b,cは、複数の組み
込みソフトウエア105a,b,cを識別するプロセス
識別子を管理し、OS102が有しているプロセス制御
機能を使用することにより、複数の組み込みソフトウエ
ア105a,b,cそれぞれに対するメモリ/レジスタ
内容の書き込みや、組み込みソフトウエア105a,
b,cそれぞれの実行/停止などの制御を行い、実行動
作結果であるデバッグ情報を出力する。
The monitor units 104a, 104b, 104c manage the process identifiers that identify the plurality of embedded software 105a, 105b, and 105c, and use the process control function of the OS 102 to enable the embedded software 105b. Writing the contents of the memory / register to each of the software 105a, b, c, and the embedded software 105a,
The control such as execution / stop of each of b and c is performed, and the debug information which is the execution operation result is output.

【0011】また、106は組み込みソフトウエア10
5a,b,cが要求するOS102によって提供される
システムコールを処理することができる疑似オンライン
OS部である。この疑似オンラインOS部106は、O
S102が持つプロセス間通信機能を利用して、異なる
疑似ターゲット部103a、b、c内の組み込みソフト
ウエア105a,b,c間のデータ通信を可能とするプ
ロセッサ間通信機能1061を具備する。
Reference numeral 106 denotes embedded software 10
5a, b, c is a pseudo-online OS unit capable of processing the system call provided by the OS 102. This pseudo online OS unit 106
An inter-processor communication function 1061 that enables data communication between the embedded software 105a, b, c in different pseudo target units 103a, 103b, 103c is provided by using the inter-process communication function of S102.

【0012】そして、107は組み込みソフトウエア1
05a,b,cが実際にアクセスするデータおよび関数
群から構成され、疑似ターゲット部103a,b,cに
組み込まれるデバッグ対象の共有ライブラリ部、108
はCPU101とディスプレイ20や操作者との信号授
受における仲立ちを行うインターフェイスである。イン
ターフェイス108は試験を行う操作者からのデバッグ
指示を入力し、操作者が指示する疑似ターゲット部10
3のモニタ部104に送信したり、各疑似ターゲット部
103のモニタ部104からの応答を受信し、それを編
集し、ディスプレイ20にデバッグ情報として表示す
る。
Reference numeral 107 denotes embedded software 1
A shared library unit to be debugged, which is composed of data and function groups that 05a, b, and c actually access, and is incorporated in the pseudo target units 103a, b, and c, 108
Is an interface for mediating in signal exchange between the CPU 101 and the display 20 or an operator. The interface 108 inputs the debug instruction from the operator who performs the test, and the pseudo target unit 10 instructed by the operator.
3 to the monitor unit 104, or receives the response from the monitor unit 104 of each pseudo target unit 103, edits it, and displays it on the display 20 as debug information.

【0013】なお、試験対象の組み込みソフトウエア1
05は、OS102上で走行するために、その一部であ
る初期起動プロセスに、駆動されるスタートアップルー
チンが組み込まれている。このスタートアップルーチン
により、疑似オンラインOS部106および共有ライブ
ラリ部107が所定の仮想アドレスにマッピングされ参
照可能となる。
The embedded software 1 to be tested
In order to run on the OS 102, the 05 is equipped with a driven startup routine in an initial startup process which is a part thereof. By this startup routine, the pseudo online OS unit 106 and the shared library unit 107 are mapped to a predetermined virtual address and can be referred to.

【0014】次に、本実施例の動作について説明する。
ここでは、試験対象のターゲットマシンが3つの場合に
ついて説明する。まず、試験対象とする数だけ、すなわ
ち3つの疑似ターゲット部103a,b,cを起動させ
る。これは、各モニタ部104a,b,cに対して指示
を送ることで、各モニタ部104a,b,cがOS10
2が有するプロセス制御機能を使って、それぞれの疑似
ターゲット部103a,b,cを起動させることで行わ
れる。そして、選択した疑似ターゲット部103a,
b,cのそれぞれの組み込みソフトウエア105a,
b,cの中から初期起動プログラムを選択することで行
われる。
Next, the operation of this embodiment will be described.
Here, a case where there are three target machines to be tested will be described. First, the number of test targets, that is, three pseudo target units 103a, 103b, 103c are activated. This is because by sending an instruction to each of the monitor units 104a, 104b, 104c, 104c
This is performed by activating each of the pseudo target units 103a, 103b, 103c by using the process control function of 2. Then, the selected pseudo target unit 103a,
embedded software 105a of b and c,
This is performed by selecting the initial startup program from b and c.

【0015】その際、各モニタ部104a,b,cは、
対応する疑似ターゲット部103a,b,c上で動作す
る疑似オンラインOS部106が管理する試験対象の組
み込みソフトウエア105a,b,cのプロセス情報を
参照するために、所定の仮想アドレスにある疑似オンラ
インOS部106を検出し、これに接続する。言い替え
ると、疑似オンラインOS部106が各モニタ部104
a,b,cにより所定の仮想アドレスにマッピングされ
る。
At this time, the monitor units 104a, 104b, 104c are
In order to refer to the process information of the embedded software 105a, b, c of the test object managed by the pseudo online OS unit 106 operating on the corresponding pseudo target unit 103a, 103b, 103c, the pseudo online at a predetermined virtual address The OS unit 106 is detected and connected to it. In other words, the pseudo online OS unit 106 causes each monitor unit 104 to
It is mapped to a predetermined virtual address by a, b, and c.

【0016】各モニタ部104a,b,cから起動され
た初期起動プロセスが実行されると、疑似オンラインO
S部106に加え共有ライブラリ部107が所定の仮想
アドレスにマッピングされ、各初期起動プログラムから
疑似オンラインOS部106提供のシステムコールおよ
び共有ライブラリ部107の供給関数コールが発行でき
るようになる。そして、各初期起動プロセスは、各疑似
ターゲット部103a,b,c内の他の試験対象の組み
込みソフトウエア105a,b,cを順次起動する。
When the initial activation process activated from each of the monitor units 104a, 104b, 104c is executed, the pseudo online O
In addition to the S unit 106, the shared library unit 107 is mapped to a predetermined virtual address, and each initial startup program can issue the system call provided by the pseudo online OS unit 106 and the supply function call of the shared library unit 107. Then, each initial activation process sequentially activates the other embedded software 105a, b, c to be tested in each pseudo target unit 103a, 103b, 103c.

【0017】起動された組み込みソフトウエア105
a,b,cも、それぞれの疑似オンラインOS部106
および共有ライブラリ部107を所定の仮想アドレスに
マッピング、すなわち、接続状態とする。これにより、
各試験対象の組み込みソフトウエア105a,b,c
は、実際のターゲットマシンにおけるオンラインOSに
より提供されるシステムコール,プロセッサ間通信機能
起動および共有関数コールを、疑似オンラインOS部1
06により提供される状態となり、実際のターゲットマ
シンにおける動作が実現可能になる。
Embedded software 105 started
a, b, and c are also the pseudo online OS units 106 of the respective
And the shared library unit 107 is mapped to a predetermined virtual address, that is, brought into a connected state. This allows
Embedded software 105a, b, c for each test
Uses the pseudo online OS unit 1 to execute system calls, inter-processor communication function activation and shared function calls provided by the online OS in the actual target machine.
In the state provided by 06, the operation in the actual target machine can be realized.

【0018】以上説明したように、本実施例によれば、
汎用コンピュータ10上に複数ターゲットマシンと同じ
試験環境を実現することが可能となる。そして、このこ
とにより、以下に示すように、汎用コンピュータ10に
おいて、組み込みソフトウエア105a,b,cのデバ
ッグが可能となる。
As described above, according to this embodiment,
It is possible to realize the same test environment as the multiple target machines on the general-purpose computer 10. This enables the embedded software 105a, b, c to be debugged in the general-purpose computer 10 as described below.

【0019】まず、操作者がインターフェイス108に
デバッグ対象とする疑似ターゲット部103a,b,c
を指示することで、それぞれのモニタ部104a,b,
cにデバッグ指示を送信する。このことにより、各モニ
タ部104a,b,cは、ターゲットマシンを仮想的に
作り上げた疑似ターゲット部103a,b,c内におい
て、実行している組み込みソフトウエア105a,b,
cの実行状況を、OS102が具備するプロセス制御機
能を使って収集し、その結果をデバッグ情報としてイン
ターフェイス108に送信する。
First, the pseudo target portions 103a, 103b, 103c to be debugged by the operator are displayed on the interface 108.
By instructing each of the monitor units 104a, 104b,
Send debug instructions to c. As a result, each of the monitor units 104a, 104b, 104c executes the embedded software 105a, 105b running in the pseudo target units 103a, 103b, 103c that virtually create the target machine.
The execution status of c is collected using the process control function of the OS 102, and the result is sent to the interface 108 as debug information.

【0020】そして、各疑似ターゲット部103a,
b,c内のモニタ部104a,b,cからデバッグ情報
を受信したインターフェイス108は、その情報を編集
してディスプレイ20に表示する。ここで、組み込みソ
フトウエア105aの実行による疑似ターゲット部10
3aの動作状況は、モニタ部104aによってモニタさ
れ、組み込みソフトウエア105bの実行による疑似タ
ーゲット部103bの動作状況は、モニタ部104bに
よってモニタされ、組み込みソフトウエア105cの実
行による疑似ターゲット部103cの動作状況は、モニ
タ部104cによってモニタされている。
Then, each pseudo target unit 103a,
The interface 108 that has received the debug information from the monitor units 104a, 104b in c and b edits the information and displays it on the display 20. Here, the pseudo target unit 10 by executing the embedded software 105a
The operating condition of 3a is monitored by the monitor unit 104a, and the operating condition of the pseudo target unit 103b by the execution of the embedded software 105b is monitored by the monitor unit 104b, and the operating condition of the pseudo target unit 103c by the execution of the embedded software 105c. Are monitored by the monitor unit 104c.

【0021】従って、このデバッグにおいては、組み込
みソフトウエア105aによる疑似ターゲット部103
aと組み込みソフトウエア105bによる疑似ターゲッ
ト部103bとの通信動作中に発生した不具合が、組み
込みソフトウエア105aが有するバグのためか、組み
込みソフトウエア105bが有するバグのためかが、区
別して検出できるものである。
Therefore, in this debugging, the pseudo target unit 103 by the embedded software 105a is used.
a can be detected by distinguishing whether the failure occurred during the communication operation between a and the pseudo target unit 103b by the embedded software 105b is due to a bug of the embedded software 105a or a bug of the embedded software 105b. Is.

【0022】以上説明したように、この実施例によれ
ば、実際のターゲットマシンを用いなくても、汎用的な
コンピュータを用いて、この中に疑似的なターゲットマ
シン環境を作り出し、デバッグ対象の組み込みソフトウ
エアを複数実行させ、これらの状況をそれぞれ個別にモ
ニタできる。なお、上記実施例では、CPU101をタ
ーゲットマシンが有するものと同一のものとしたが、こ
れに限るものではなく、OS102がターゲットマシン
の有するCPUをエミュレートできるものなら、CPU
101にどのようなものを用いても良い。ただし、この
場合は、動作速度が若干遅くなる。また、上記実施例で
は、疑似ターゲット部を3つ動かすようにしたが、これ
に限るものではなく、汎用コンピュータの有するメモリ
環境が許す限り、その数を増やすことが可能である。
As described above, according to this embodiment, a pseudo target machine environment is created in a general-purpose computer without using an actual target machine to embed a debug target. You can run multiple pieces of software and monitor each of these situations individually. Although the CPU 101 is the same as that included in the target machine in the above embodiment, the present invention is not limited to this, and if the OS 102 can emulate the CPU included in the target machine, the CPU 101
Any one may be used for 101. However, in this case, the operation speed becomes slightly slower. Further, in the above embodiment, three pseudo target units are moved, but the number is not limited to this, and the number can be increased as long as the memory environment of a general-purpose computer permits.

【0023】[0023]

【発明の効果】以上説明したように、この発明によれ
ば、ネットワーク環境における複数のターゲットマシン
に組み込むソフトウエアであっても、ターゲットマシン
を用いずにデバッグできるという効果がある。このた
め、従来のデバッグ工程で、問題となっていたターゲッ
トマシンの数制限、および、ターゲットマシンの不安定
によるマシン使用時間不足が解決されるため、試験工程
の効率アップが図れる。
As described above, according to the present invention, there is an effect that even software installed in a plurality of target machines in a network environment can be debugged without using the target machines. For this reason, in the conventional debugging process, the limitation of the number of target machines and the shortage of the machine usage time due to the instability of the target machine, which have been problems, are solved, so that the efficiency of the testing process can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】 この発明の1実施例でデバッグ支援装置の構
成を示す構成図である。
FIG. 1 is a configuration diagram showing a configuration of a debug support device according to an embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10…汎用コンピュータ、20…ディスプレイ、101
…CPU、102…オペレーティングシステム(O
S)、103a,b,c…疑似ターゲット部、104
a,b,c…モニタ部、105a,b,c…組み込みソ
フトウエア、106…疑似オンラインOS部、107…
共有ライブラリ部、108…インターフェイス。
10 ... General-purpose computer, 20 ... Display, 101
... CPU, 102 ... Operating system (O
S), 103a, b, c ... Pseudo target section, 104
a, b, c ... Monitor section, 105a, b, c ... Embedded software, 106 ... Pseudo online OS section, 107 ...
Shared library section, 108 ... Interface.

Claims (3)

Translated fromJapanese
【特許請求の範囲】[Claims]【請求項1】 実行するプログラム内のデータを任意の
仮想アドレス空間にマッピングし、マッピングしたデー
タを全てのプロセスからアクセス可能にさせ、あるプロ
セスから他のプロセスのメモリ/レジスタ内容の読み書
きおよび走行/停止を含む実行制御を指示できるプロセ
ス制御機能と、プロセス間のデータの送受信を実現する
プロセス間通信機能を有するオペレーティングシステム
を具備する汎用コンピュータに、このオペレーティング
システムにより管理されこの上で動作する疑似ターゲッ
ト部を有し、 この疑似ターゲット部が、 ターゲットマシンに組み込んで用いられるデバッグ対象
のソフトウエアを保持する組み込みソフトウエア保持部
と、 前記汎用コンピュータのオペレーティングシステム上で
動作し、前記ソフトウエアが実行されたときの前記ター
ゲットマシンのプロセスが発行する前記ターゲットマシ
ンにおける通信機能を有するオペレーティングシステム
が提供するシステムコールに対する処理を疑似的に行
い、前記汎用コンピュータのオペレーティングシステム
が持つプロセス間通信機能を起動することができる疑似
オンラインオペレーティングシステムと、 前記ソフトウエアが前記ターゲットマシンのオンライン
プログラムとして搭載された際に、そのソフトウエアか
らアクセスできるデータおよび関数群の集合体である共
有ライブラリと、 前記組み込みソフトウエア保持部に保持されたソフトウ
エアによる実行プロセスを識別するプロセス識別子を管
理し、監視指示のあったソフトウエアに対応して、前記
汎用コンピュータのオペレーティングシステムのプロセ
ッサ制御機能を起動して、前記ソフトウエアを前記汎用
コンピュータのオペレーティングシステム上のプロセス
として実行させ、前記疑似オンラインオペレーティング
システムと共有ライブラリ部に全てのプロセスがアクセ
スすることを可能にさせ、前記すべてのプロセスに対す
るメモリ,レジスタ内容の読み書きと実行,停止とを含
む実行制御を行い、その結果得られるデバッグ情報を出
力するモニタ部とを有し、 前記汎用コンピュータのオペレーティングシステム上で
前記疑似ターゲット部を複数動作したとき、それぞれの
前記疑似オンラインオペレーティングシステムにより、
前記ターゲットマシンにおける動作と同様に、前記疑似
ターゲット部同士の間で通信を行い、データの送受信が
行えることを特徴とするデバッグ支援装置。
1. A method for mapping data in a program to be executed into an arbitrary virtual address space, making the mapped data accessible to all processes, reading / writing and running / running / running memory / register contents of another process from one process. A pseudo target that is managed by this operating system and operates on a general-purpose computer having an operating system having a process control function that can instruct execution control including stop and an inter-process communication function that realizes data transmission and reception between processes This pseudo target unit has a built-in software holding unit that holds the software to be debugged that is used by being embedded in the target machine, and the pseudo target unit operates on the operating system of the general-purpose computer. A process for a system call provided by an operating system having a communication function in the target machine issued by a process of the target machine when executed is simulated, and an interprocess communication function of the operating system of the general-purpose computer is activated. A pseudo-online operating system capable of performing, a shared library that is a set of data and a function group that can be accessed from the software when the software is installed as an online program of the target machine, and the embedded software The process identifier for identifying the execution process by the software held in the holding unit is managed, and the operating system of the general-purpose computer is operated corresponding to the software instructed to monitor. The processor control function of the computer to execute the software as a process on the operating system of the general-purpose computer, to enable all processes to access the pseudo online operating system and the shared library unit, And a monitor unit for performing execution control including reading / writing of memory and register contents for all processes, execution and stop, and outputting debug information obtained as a result, and the pseudo target unit on the operating system of the general-purpose computer. When operating multiple, each of the pseudo online operating system,
A debug support device capable of performing communication between the pseudo target units and transmitting / receiving data, similar to the operation in the target machine.
【請求項2】 請求項1記載のデバッグ支援装置におい
て、 前記汎用コンピュータのオペレーティングシステムが、
前記ターゲットマシンのCPUの動作をエミュレートで
きることを特徴とするデバッグ支援装置。
2. The debugging support device according to claim 1, wherein the operating system of the general-purpose computer comprises:
A debug support device capable of emulating the operation of a CPU of the target machine.
【請求項3】 請求項1記載のデバッグ支援装置におい
て、 前記汎用コンピュータが、前記ターゲットマシンと実質
的に同一なCPUを備えていることを特徴とするデバッ
グ支援装置。
3. The debug support apparatus according to claim 1, wherein the general-purpose computer includes a CPU that is substantially the same as the target machine.
JP6062203A1994-03-081994-03-08Debug support devicePendingJPH07248941A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP6062203AJPH07248941A (en)1994-03-081994-03-08Debug support device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP6062203AJPH07248941A (en)1994-03-081994-03-08Debug support device

Publications (1)

Publication NumberPublication Date
JPH07248941Atrue JPH07248941A (en)1995-09-26

Family

ID=13193362

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP6062203APendingJPH07248941A (en)1994-03-081994-03-08Debug support device

Country Status (1)

CountryLink
JP (1)JPH07248941A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH08221296A (en)*1995-02-151996-08-30Nec CorpBuilt-in software debug support device
US7110835B2 (en)2002-10-222006-09-19Fisher-Rosemount Systems, Inc.Integration of graphic display elements, process modules and control modules in process plants
US7257523B1 (en)1999-05-062007-08-14Fisher-Rosemount Systems, Inc.Integrated distributed process control system functionality on a single computer
JP2012155393A (en)*2011-01-242012-08-16Nec CorpAutomated resource management evaluation system
WO2013018914A1 (en)*2011-08-012013-02-07日本電気株式会社Examination apparatus, system, program, and method
US8881039B2 (en)2009-03-132014-11-04Fisher-Rosemount Systems, Inc.Scaling composite shapes for a graphical human-machine interface
US9046881B2 (en)2002-10-222015-06-02Fisher-Rosemount Systems, Inc.Updating and utilizing dynamic process simulation in an operating process environment
US9904263B2 (en)2002-10-222018-02-27Fisher-Rosemount Systems, Inc.Smart process objects used in a process plant modeling system
US10878140B2 (en)2016-07-272020-12-29Emerson Process Management Power & Water Solutions, Inc.Plant builder system with integrated simulation and control system configuration
US11418969B2 (en)2021-01-152022-08-16Fisher-Rosemount Systems, Inc.Suggestive device connectivity planning
US11604459B2 (en)2019-07-122023-03-14Emerson Process Management Power & Water Solutions, Inc.Real-time control using directed predictive simulation within a control system of a process plant

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH08221296A (en)*1995-02-151996-08-30Nec CorpBuilt-in software debug support device
US7257523B1 (en)1999-05-062007-08-14Fisher-Rosemount Systems, Inc.Integrated distributed process control system functionality on a single computer
US9904268B2 (en)2002-10-222018-02-27Fisher-Rosemount Systems, Inc.Updating and utilizing dynamic process simulation in an operating process environment
US9046881B2 (en)2002-10-222015-06-02Fisher-Rosemount Systems, Inc.Updating and utilizing dynamic process simulation in an operating process environment
US9069344B2 (en)2002-10-222015-06-30Fisher-Rosemount Systems, Inc.Smart process modules and objects in process plants
US9904263B2 (en)2002-10-222018-02-27Fisher-Rosemount Systems, Inc.Smart process objects used in a process plant modeling system
US7110835B2 (en)2002-10-222006-09-19Fisher-Rosemount Systems, Inc.Integration of graphic display elements, process modules and control modules in process plants
US9983559B2 (en)2002-10-222018-05-29Fisher-Rosemount Systems, Inc.Updating and utilizing dynamic process simulation in an operating process environment
US8881039B2 (en)2009-03-132014-11-04Fisher-Rosemount Systems, Inc.Scaling composite shapes for a graphical human-machine interface
JP2012155393A (en)*2011-01-242012-08-16Nec CorpAutomated resource management evaluation system
WO2013018914A1 (en)*2011-08-012013-02-07日本電気株式会社Examination apparatus, system, program, and method
US10878140B2 (en)2016-07-272020-12-29Emerson Process Management Power & Water Solutions, Inc.Plant builder system with integrated simulation and control system configuration
US11604459B2 (en)2019-07-122023-03-14Emerson Process Management Power & Water Solutions, Inc.Real-time control using directed predictive simulation within a control system of a process plant
US11418969B2 (en)2021-01-152022-08-16Fisher-Rosemount Systems, Inc.Suggestive device connectivity planning

Similar Documents

PublicationPublication DateTitle
US5630049A (en)Method and apparatus for testing software on a computer network
US5815653A (en)Debugging system with portable debug environment-independent client and non-portable platform-specific server
US6158045A (en)Portable debugging services utilizing a client debugger object and a server debugger object with flexible addressing support
US6011920A (en)Method and apparatus for debugging applications on a personality neutral debugger
US8930912B2 (en)Method and system for performing software verification
US5309352A (en)Method and system for optimizing termination in systems of programmable devices
JPH07248941A (en)Debug support device
JPS61272833A (en)Data processor
US20100153786A1 (en)Processor, multiprocessor, and debugging method
US6131109A (en)Multitask processor, a multitask processing method, a multitask processing display method and a storage medium for processing by correlating task and object
Cunha et al.A framework to support parallel and distributed debugging
JP2008135008A (en) Program module verification method
CN117762840A (en) A method for jailhouse to isolate interrupt forwarding of PCIe network cards
CN114327648B (en)Driving debugging method and device, electronic equipment and storage medium
JP3362349B2 (en) Emulation method and emulator device
JP2728002B2 (en) Embedded software debug support device
JP2513401B2 (en) Method for manufacturing embedded software debug support device
JP2001318805A (en)Test method for built-in system and test system
JP2913991B2 (en) Real-time system debug device
JPS63177231A (en)Debug system for parallel program
JPH04352262A (en)Parallel simulation system of multiple cpu system
JP2684966B2 (en) I/O processor debug unit
Huang et al.A simulator for real‐time software debugging and testing
JPS63187341A (en)Evaluating system for virtual computer system
JPH02135548A (en) Program test processing system

[8]ページ先頭

©2009-2025 Movatter.jp