JPH07105045A - Debugging system for information processor function test program - Google Patents

Debugging system for information processor function test program

Info

Publication number
JPH07105045A
JPH07105045A JP5246593A JP24659393A JPH07105045A JP H07105045 A JPH07105045 A JP H07105045A JP 5246593 A JP5246593 A JP 5246593A JP 24659393 A JP24659393 A JP 24659393A JP H07105045 A JPH07105045 A JP H07105045A
Authority
JP
Japan
Prior art keywords
test program
instruction
function test
program
interrupt
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
JP5246593A
Other languages
Japanese (ja)
Inventor
Haruhito Ota
晴仁 太田
Junichi Tashiro
淳一 田代
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.)
Hitachi Computer Electronics Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Computer Electronics Co Ltd
Hitachi 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 Hitachi Computer Electronics Co Ltd, Hitachi Ltd filed Critical Hitachi Computer Electronics Co Ltd
Priority to JP5246593A priority Critical patent/JPH07105045A/en
Publication of JPH07105045A publication Critical patent/JPH07105045A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate countermeasure by a manual operation and to highly efficiently execute debugging by debugging a function test program through the use of an information processor different from the information processor of a test object. CONSTITUTION:The operation fo the information processor consisting of an instruction processor 23, a main storage device 21 and an input/output device 27 is verified by loading the function test program on the main storage device and making the instruction processor 23 to execute it. The function test program is debugged by using the information processor different from the information processor which the function test program sets to be the test object. Abnormal termination interruption is adopted and an instruction having become abnormal termination and an operation on the architecture of the input/output device 27 are simulated on abnormal termination owing to the issuing of a generated non-support instruction and the designation of the input/output device. Furthermore, a means for automatically re-executing the operation from an interruption- occurred place is provided so as to execute the function test program.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理装置の機能を
検証する機能試験プログラムのデバッグに係り、試験対
象の情報処理装置とは異なる情報処理装置を使用した場
合に発生する不具合を解決し、人手による対応を不要化
する手段によるデバッグ方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to debugging of a function test program for verifying the function of an information processing device, and solves a problem that occurs when an information processing device different from the information processing device to be tested is used. , A debugging method by means of eliminating the need for manual intervention.

【0002】[0002]

【従来の技術】情報処理装置に係る新技術、新機能、新
アーキテクチャの開発においては、これらの性能の高さ
と共に、高品質であることが必要不可欠である。
2. Description of the Related Art In developing a new technology, a new function and a new architecture for an information processing apparatus, it is indispensable to have high performance and high quality.

【0003】そのため、ハードウエアの設計と同時にこ
れらを検証するための手段として機能試験プログラムを
開発し、各装置の正常性の判断を行い、品質を保証する
ものとして使用している。
Therefore, a function test program is developed as a means for verifying these at the same time as hardware design, and is used as a guarantee of quality by judging the normality of each device.

【0004】したがって、機能試験プログラムは、検証
精度のみならず、ハードウエアの開発日程に影響を与え
ないようにするため、機能試験プログラム自身が不良の
ない高品質なものであることが要求されるが、機能試験
プログラムを実行するための環境そのものが開発中であ
ることと、情報処理装置の高度化に伴い、機能試験プロ
グラムの規模、機能が増大している今日では、非常に困
難な状況となってきた。 このような問題に対処するた
めに、特開平03−102540公報などに記載されて
いる技術がある。すなわち、試験の対象となる情報処理
装置と同等のアーキテクチャ環境を、別の情報処理装置
のOS下で動作可能なソフトウエアによって仮想的に構
築し、機能試験プログラムの一連の処理を実行可能とす
る命令シミュレータを開発し、デバッグに使用すること
で品質の確保を行っている。
Therefore, the function test program itself is required to be of high quality with no defects so as not to affect not only the verification accuracy but also the development schedule of the hardware. However, due to the fact that the environment itself for executing the function test program is under development and the scale and function of the function test program are increasing with the sophistication of the information processing equipment, it is very difficult. It's coming. In order to deal with such a problem, there is a technique described in Japanese Patent Laid-Open No. 03-102540. That is, an architectural environment equivalent to the information processing device to be tested is virtually constructed by software operable under the OS of another information processing device, and a series of processing of the function test program can be executed. The quality is ensured by developing an instruction simulator and using it for debugging.

【0005】しかし、命令シミュレータは、OS下で動
作することから、実機と比較して、主記憶装置容量、処
理性能などの差が大きいことと、複数の命令プロセッサ
を持つシステムにおいての各プロセッサの非同期的な動
作や、入出力装置の非同期的な動作が発生する環境を作
り出すことが困難であり、命令シミュレータ下では正常
に動作する場合であっても、実機において実行させる
と、環境の違いによる不良が発生することがあり、試験
対象の情報処理装置の検証期間中にこれらの解析のため
の無駄な工数を要してしまう可能性が大きい。
However, since the instruction simulator operates under the OS, it has a large difference in main memory capacity, processing performance, etc. compared to the actual machine, and each processor in a system having a plurality of instruction processors. It is difficult to create an environment where asynchronous operations and asynchronous operations of I / O devices occur, and even if the environment operates normally under the instruction simulator, if you execute it on the actual machine, it will be different depending on the environment. Defects may occur, and there is a high possibility that wasteful man-hours for these analyzes will be required during the verification period of the information processing device to be tested.

【0006】そのため、デバッグ期間の最終段階では、
試験対象の情報処理装置に近い機能や、アーキテクチャ
を有する情報処理装置の直下で実行させる実機デバッグ
を行うことにより、機能試験プログラムをより高品質な
ものとする施策を行うことが必要である。
Therefore, at the final stage of the debug period,
It is necessary to take measures to improve the quality of the functional test program by performing actual machine debugging directly under the information processing device having a function or architecture similar to that of the information processing device to be tested.

【0007】[0007]

【発明が解決しようとする課題】解決しようとする問題
点は、通常、デバッグ期間の最終段階で使用する情報処
理装置は、試験対象の情報処理装置とは異なる従来機種
を使用するか、あるいは一部の機能が使用可能となった
試験対象情報処理装置を使用するため、機能試験プログ
ラムにおいて、これら情報処理装置では未サポートの命
令や入出力装置を使用する場合が多いことから、異常動
作が多発し、その度に原因解析や回避するためのプログ
ラムパッチ作業などの人手工数が非常に多くなってしま
う点である。
The problem to be solved is that the information processing device used at the final stage of the debug period is usually a conventional model different from the information processing device to be tested, or Since the test target information processing device in which the functions of the parts are enabled is used, in the function test program, since unsupported instructions and input / output devices are often used in these information processing devices, abnormal operation frequently occurs. However, each time, the number of man-hours required for the analysis of the cause and the work of a program patch for avoiding the problem becomes extremely large.

【0008】本発明の目的は、これら従来技術の課題を
解決し、機能試験プログラムのデバッグで発生する不具
合を解決し、人手による対応を不要化することによって
デバッグを高効率に行うことを可能とするデバッグ方式
を提供するものである。
The object of the present invention is to solve these problems of the prior art, to solve the problems caused by debugging of the functional test program, and to eliminate the need for manual intervention, thereby enabling highly efficient debugging. It provides a debugging method that

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、本発明のデバッグ方式は、(1)命令プロセッサ
と、該プロセッサに接続される主記憶装置、入出力装置
などの周辺装置群とからなる情報処理装置の動作を、機
能試験プログラムをその主記憶装置内にロードして命令
プロセッサに実行させることで検証する機能試験方法に
おいて、機能試験プログラムが発行した試験対象処理装
置の検証のための命令がデバッグに用いる情報処理装置
の未サポート命令であった場合や、使用する入出力装置
が接続されていない場合異常終了の割込みが発生する
が、この割込みを採取する手段と、割込み情報の解析、
及びアーキテクチャ上の動作をシミュレートする手段
と、割込み発生箇所から再実行する手段を有するデバッ
グ支援プログラムを、機能試験プログラムと同時に動作
させておくことで、該機能試験プログラム動作が正常に
行われたように自動的に制御することを特徴とする。
In order to achieve the above object, the debugging method of the present invention comprises (1) an instruction processor and a group of peripheral devices such as a main memory and an input / output device connected to the processor. In the function test method for verifying the operation of the information processing device by loading the function test program into the main storage device and causing the instruction processor to execute the function test program, If the instruction is an unsupported instruction of the information processing device used for debugging, or if the I / O device to be used is not connected, an abnormal termination interrupt occurs. The means for collecting this interrupt and analysis of interrupt information ,
By operating the debug support program having a means for simulating the operation on the architecture and a means for re-execution from the interrupt occurrence location at the same time as the function test program, the operation of the function test program was performed normally. It is characterized by automatic control.

【0010】また、オペレータによってシミュレート対
象とする命令や入出力装置を指定することが可能な手段
を持つことも、このデバッグ支援プログラムを使用した
デバッグ方式の特徴である。
Further, it is also a feature of the debug system using this debug support program that the operator has a means for designating an instruction and an input / output device to be simulated.

【0011】[0011]

【作用】本発明においては、機能試験プログラムのデバ
ッグを、試験対象の情報処理装置とは異なる、あるい
は、一部機能が欠如した情報処理装置を用いて容易に行
うことを可能とする。このことにより、人手による判断
やプログラムパッチ作業を不要化し、効率の良いデバッ
グを行うことが出来るため、情報処理装置の検証に適用
する前に命令シミュレータでは摘出できない不良を摘出
し、品質を向上させることができる。
According to the present invention, the function test program can be debugged easily by using an information processing device which is different from the information processing device to be tested or lacks some functions. This eliminates the need for manual judgment and program patch work, and enables efficient debugging, so that defects that cannot be extracted by an instruction simulator can be extracted before application to verification of an information processing device, and quality can be improved. be able to.

【0012】[0012]

【実施例】以下、本発明の実施例を、図面により詳細に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0013】図1は、本発明の情報処理装置機能試験プ
ログラムのデバッグ方式の本発明に係る処理動作の一実
施例を示す説明図であり、図2は、その実施に用いる情
報処理装置の本発明に係る構成の一実施例を示すブロッ
ク図である。
FIG. 1 is an explanatory diagram showing an embodiment of a processing operation according to the present invention of a debugging method of an information processing apparatus functional test program of the present invention, and FIG. 2 is a book of an information processing apparatus used for the execution. It is a block diagram which shows one Example of the structure which concerns on invention.

【0014】図2における本実施例の情報処理装置は、
主記憶装置21が記憶制御装置22を介して命令プロセ
ッサ23と、入出力プロセッサ24とに接続され、ま
た、この入出力プロセッサ24に入出力装置27が、さ
らに、命令プロセッサ23にサービス装置25を介し
て、サービスプロセッサ26が、それぞれ接続されてい
る。
The information processing apparatus of this embodiment shown in FIG.
The main storage device 21 is connected to the instruction processor 23 and the input / output processor 24 via the storage control device 22, and the input / output processor 24 is provided with the input / output device 27 and the instruction processor 23 is provided with the service device 25. The service processors 26 are connected to each other via the above.

【0015】尚、機能試験プログラム、デバッグ支援プ
ログラム及びこれらプログラムの制御を行う制御プログ
ラムは、入出力装置27に格納されているものとする。
The function test program, the debug support program, and the control program for controlling these programs are stored in the input / output device 27.

【0016】このような構成の情報処理装置において
は、機能試験プログラム、デバッグ支援プログラム及び
制御プログラムは、命令プロセッサ23で実行される。
また、サービスプロセッサ26により、オペレータから
の制御プログラム、機能試験プログラム及びデバッグ支
援プログラムの実行要求と、シミュレート対象の命令及
び入出力装置の指示が行われる。
In the information processing apparatus having such a configuration, the function test program, the debug support program and the control program are executed by the instruction processor 23.
Further, the service processor 26 issues an execution request for a control program, a function test program, and a debug support program from an operator, an instruction to be simulated, and an instruction of an input / output device.

【0017】初めに、オペレータによる制御プログラム
の実行要求は、サービスプロセッサ26を用いて行い、
サービス装置25によって入出力装置27に格納されて
いる制御プログラムを、入出力プロセッサ24と記憶制
御装置22を介して、主記憶装置21に転送して格納
し、さらに、記憶制御装置22を介して命令プロセッサ
23において実行され、機能試験プログラム及びデバッ
グ支援プログラムの実行準備が完了する。
First, an operator makes a control program execution request using the service processor 26.
The control program stored in the input / output device 27 by the service device 25 is transferred to and stored in the main storage device 21 via the input / output processor 24 and the storage control device 22, and further via the storage control device 22. It is executed in the instruction processor 23, and the preparation for execution of the function test program and the debug support program is completed.

【0018】そして、サービスプロセッサ26を用いた
オペレータによる機能検証プログラム及びデバッグ支援
プログラムの実行要求を、サービス装置25を介して、
命令プロセッサ23で動作している制御プログラムが受
け付け、入出力装置27に格納されている機能検証プロ
グラム及びデバッグ支援プログラムを、入出力プロセッ
サ24と記憶制御装置22を介して、主記憶装置21に
転送して格納する。さらに、この格納した機能試験プロ
グラム及びデバッグ支援プログラムを、記憶制御装置2
2を介して、命令プロセッサ23において実行する。
An operator's request for executing the function verification program and the debug support program using the service processor 26 is sent via the service device 25.
The control program operating in the instruction processor 23 receives the function verification program and the debug support program stored in the input / output device 27, and transfers them to the main storage device 21 via the input / output processor 24 and the storage control device 22. And store. Further, the stored function test program and debug support program are stored in the storage controller 2
2 through the instruction processor 23.

【0019】さらに、サービスプロセッサ26を用いた
オペレータによるシミュレート対象の命令及び入出力装
置の指示を、サービス装置25を介して、命令プロセッ
サ23で動作している制御プログラムが受け付け、制御
プログラムと同じく命令プロセッサ23で動作している
デバッグ支援プログラムに報告することで、シミュレー
ト対象の命令及び入出力装置の登録を行う。
Further, the control program operating in the instruction processor 23 receives via the service device 25 the instruction to be simulated and the instruction of the input / output device by the operator using the service processor 26, and the same as the control program. By reporting to the debug support program operating in the instruction processor 23, the instruction to be simulated and the input / output device are registered.

【0020】以下、図1のフローチャートを用いて、本
実施例の情報処理装置の実機デバッグ方式の動作説明を
行う。
The operation of the real machine debugging method of the information processing apparatus of this embodiment will be described below with reference to the flowchart of FIG.

【0021】まず、オペレータによるデバッグ支援プロ
グラムの起動要求を制御プログラム16が受け付け、デ
バッグ支援プログラムタスク11を生成する。尚、本タ
スクは、制御プログラムのタスク制御プログラムタスク
12にて割込み処理15を介し、タイムシュアリング共
通バス17によりタイムシュアリング制御される。
First, the control program 16 receives a request to start the debug support program from the operator, and generates the debug support program task 11. The task control program task 12 of the control program controls the time-sharing by the time-sharing common bus 17 via the interrupt processing 15.

【0022】このようにして、デバッグ支援プログラム
の実行要求受け付け処理と、実行処理とを行った後、以
下に示す本発明に係る制御を行う。
In this way, after the execution request acceptance processing and the execution processing of the debug support program are performed, the control according to the present invention described below is performed.

【0023】すなわち、デバッグ支援プログラムタスク
11は、割り込みベクトル切り替え処理1bにて、異常
終了割込み発生時の割込みベクトル19をデバッグ支援
プログラムの持つ異常終了割込み採取処理14を示すベ
クトル1aに切り替える。そして、デバッグ支援の初期
準備が整った時点で初期準備完了のメッセージを表示さ
せる。尚、この処理は、後述の図3でその詳細を説明す
る。
That is, the debug support program task 11 switches the interrupt vector 19 when the abnormal end interrupt occurs to the vector 1a indicating the abnormal end interrupt collection process 14 of the debug support program in the interrupt vector switching process 1b. Then, when the initial preparation for the debug support is completed, an initial preparation completion message is displayed. The details of this process will be described later with reference to FIG.

【0024】次に、オペレータは、デバッグ支援プログ
ラムタスク11の割り込みベクトル切り替え処理1bに
よる初期準備完了のメッセージを確認した後、機能試験
プログラムタスク別に、シミュレート対象項目の登録要
求を行うと、これを制御プログラム16が受け付け、デ
バッグ支援プログラムタスク11に報告する。
Next, the operator confirms the message of the initial preparation completion by the interrupt vector switching process 1b of the debug support program task 11, and then requests the registration of the simulation target item for each function test program task. The control program 16 accepts and reports to the debug support program task 11.

【0025】そして、デバッグ支援プログラムタスク1
1はシミュレート対象項目の登録処理1cによって機能
試験プログラムタスク別にシミュレート対象項目の登録
/削除を行い、登録/削除処理が完了した時点で登録又
は、削除完了のメッセージを表示させる。尚、この処理
は、後述の図4でその詳細を説明する。また、シミュレ
ート対象項目の一例を図5に示す。
Debug support program task 1
1 performs registration / deletion of the simulation target item for each functional test program task by the simulation target item registration process 1c, and displays a registration or deletion completion message when the registration / deletion process is completed. The details of this process will be described later with reference to FIG. An example of the items to be simulated is shown in FIG.

【0026】このようにして、機能検証プログラムのデ
バッグ環境設定が完了する。
Thus, the debug environment setting of the function verification program is completed.

【0027】次に、オペレータは、デバッグ支援プログ
ラムタスク11のシミュレート対象項目登録/削除処理
1cによる登録又は、削除完了のメッセージを確認した
後、機能試験プログラムの起動要求を行うと、これを制
御プログラム16が受け付け、機能試験プログラムタス
ク12を生成する。尚、本タスクも、デバッグ支援プロ
グラムタスク11と同様に、制御プログラムのタスク制
御プログラムタスク12にて割込み処理15を介しタイ
ムシュアリング共通バス17によりタイムシュアリング
制御される。
Next, when the operator confirms the message of registration or deletion completion by the simulation target item registration / deletion process 1c of the debug support program task 11, and then makes a request to start the function test program, it controls this. The program 16 receives and generates the function test program task 12. As with the debug support program task 11, this task is also time-shured by the time-shuring common bus 17 via the interrupt processing 15 in the task control program task 12 of the control program.

【0028】ここで、機能試験プログラムタスク13に
おいて、情報処理装置1hの未サポート命令18を発行
すると、異常終了の割込みが発生するが、異常終了割込
み採取処理14がこの割込みを採取し、割込み発生をデ
バッグ支援プログラムタスク11に報告する。
Here, in the function test program task 13, when the unsupported instruction 18 of the information processing apparatus 1h is issued, an abnormal end interrupt is generated, but the abnormal end interrupt collection processing 14 collects this interrupt and generates an interrupt. To the debug support program task 11.

【0029】このとき、デバッグ支援プログラムタスク
11は、割込み内容がオペレータにより指定されたシミ
ュレート対象項目であるか否かをシミュレート対象判断
処理1dにて判断する。尚、この処理は、後述の図6で
その詳細を説明する。
At this time, the debug support program task 11 judges in the simulation target judgment processing 1d whether or not the interrupt content is the simulation target item designated by the operator. The details of this process will be described later with reference to FIG.

【0030】ここで、シミュレート対象判断処理1dに
てシミュレート対象項目であると判断した場合は、異常
終了となった命令の動作をシミュレート処理1eによっ
てシミュレートする。尚、この実行処理に関しては、後
述の図7で詳細を説明する。
If it is determined in the simulation target determination process 1d that the item is a simulation target item, the operation of the abnormally terminated instruction is simulated by the simulation process 1e. The details of this execution process will be described later with reference to FIG. 7.

【0031】そして、シミュレート処理1eによるシミ
ュレート処理完了後、異常終了割り込み採取処理14
と、機能試験プログラムタスク13再開のためのバス1
fを介し、機能試験プログラムタスク13を再開させ
る。
After completion of the simulation processing by the simulation processing 1e, the abnormal end interrupt collection processing 14
And the bus 1 for restarting the task 13 of the functional test program
The function test program task 13 is restarted via f.

【0032】また、シミュレート対象判断処理1dにて
シミュレート対象でないと判断した場合デバッグ支援プ
ログラムタスク11は、異常終了割込み採取処理14と
バス1gを介して割込み処理15に報告する。
When it is judged in the simulation target judgment processing 1d that it is not the simulation target, the debug support program task 11 reports to the interrupt processing 15 via the abnormal end interrupt collection processing 14 and the bus 1g.

【0033】そして、割込み処理15によって割り込み
を受け付けた制御プログラム16は、期待しない異常終
了割り込みが発生したことをオペレータに報告するため
のメッセージを表示し、機能試験プログラムタスクの抹
消処理を行う。
Then, the control program 16 that has received the interrupt by the interrupt processing 15 displays a message for reporting to the operator that an unexpected abnormal end interrupt has occurred, and executes the function test program task deletion processing.

【0034】このようにして、機能試験プログラムにお
いて情報処理装置の未サポート命令が発行され異常終了
割り込みが発生しても、デバッグ支援プログラムによっ
て割込みの採取、命令動作のシミュレート、機能試験プ
ログラムの再開を自動的に行うことで、試験対象の情報
処理装置とは異なる情報処理装置、あるいは、一部機能
の欠如した情報処理装置を用いた機能試験プログラムの
デバッグを容易に、効率良く行うことを可能とし、か
つ、全く期待しない異常終了割り込みに関しては、従来
どおりの制御を保証することが可能となる。
In this way, even if an unsupported instruction of the information processing device is issued in the function test program and an abnormal end interrupt occurs, the debug support program collects the interrupt, simulates the operation of the instruction, and restarts the function test program. By automatically performing, it is possible to easily and efficiently debug a functional test program that uses an information processing device that differs from the information processing device that is the test target, or an information processing device that lacks some functions. In addition, it is possible to guarantee the conventional control for the abnormal termination interrupt that is not expected at all.

【0035】次に図3〜図7を用いて、図1の実行処理
動作の詳細を説明する。
Next, the details of the execution processing operation of FIG. 1 will be described with reference to FIGS.

【0036】図3は、図1における異常終了割込み発生
時の割込みベクトル切り替えに係る動作の一実施例を示
すフローチャートである。
FIG. 3 is a flow chart showing an embodiment of the operation relating to interrupt vector switching when the abnormal end interrupt in FIG. 1 occurs.

【0037】本実施例は、図1におけるデバッグ支援プ
ログラムタスク11の割込みベクトル切り替え処理1b
の処理動作の詳細を示すものであり、まず、図1におけ
る制御プログラム16の設定した割込みベクトル19を
退避し(ステップ31)、デバッグ支援プログラムタス
ク11の持つ異常終了割り込み採取処理14を示す新た
な割込みベクトル1aを設定する(ステップ32)。そ
して、割込みベクトル切り替え処理による初期準備が完
了したことをメッセージによってオペレータに報告する
(ステップ33)。このあと本処理は、異常終了の割り
込み待ちを(ステップ34)、オペレータによる制御プ
ログラム16を介したデバッグ支援プログラムタスクの
終了要求が行われるまで繰り返す(ステップ35)。
In this embodiment, the interrupt vector switching process 1b of the debug support program task 11 in FIG.
First, the interrupt vector 19 set by the control program 16 in FIG. 1 is saved (step 31), and a new abnormal end interrupt collection process 14 of the debug support program task 11 is shown. The interrupt vector 1a is set (step 32). Then, the completion of the initial preparation by the interrupt vector switching process is reported to the operator by a message (step 33). After this, this process repeats waiting for an interrupt for abnormal termination (step 34) and repeats until the operator issues a termination request for the debug support program task via the control program 16 (step 35).

【0038】図4は、図1におけるシミュレート対象と
する命令及び入出力装置の登録/削除に係る動作の一実
施例を示すフローチャートである。
FIG. 4 is a flow chart showing an embodiment of the operation relating to the registration / deletion of the instruction to be simulated and the input / output device in FIG.

【0039】本実施例は、図1におけるシミュレート対
象項目登録/削除処理1cの処理動作の詳細を示すもの
であり、まず、オペレータにより入力されたデータを解
析し(ステップ41)、入力不当と判断(ステップ4
2)した場合は、入力不当メッセージを表示し(ステッ
プ43)処理を終了する。そして、入力データが正しい
と判断(ステップ42)した場合は、全タスク共通指定
であるか固有タスク指定であるかを判定し(ステップ4
4)、全タスク共通指定の場合は、全タスク共通テーブ
ルポインタを設定する(ステップ45)。また、固有タ
スク指定の場合は、指定された機能試験プログラムのタ
スクに従った試験対象項目テーブルのポインタを設定し
(ステップ46)、オペレータの指定が登録指定の場合
は(ステップ47)、テーブルポインタの示すテーブル
にシミュレート対象項目を登録し(ステップ48)、登
録完了メッセージを表示(ステップ49)後、処理を終
了する。また、オペレータの指定が削除指定の場合は
(ステップ47)、テーブルポインタの示すテーブルか
ら指定項目を削除し(ステップ4a)、削除完了メッセ
ージを表示(ステップ4b)後、処理を終了する。
This embodiment shows the details of the processing operation of the simulation target item registration / deletion processing 1c in FIG. 1. First, the data input by the operator is analyzed (step 41), and the input is judged to be invalid. Judgment (Step 4
In the case of 2), an input invalid message is displayed (step 43), and the process ends. When it is judged that the input data is correct (step 42), it is judged whether it is common to all tasks or specific task (step 4).
4) If all tasks are common, a common table pointer for all tasks is set (step 45). In the case of the specific task designation, the pointer of the test target item table according to the task of the designated functional test program is set (step 46), and when the operator's designation is the registration designation (step 47), the table pointer is set. The simulation target item is registered in the table shown by (step 48), the registration completion message is displayed (step 49), and then the process ends. When the operator designates deletion (step 47), the designated item is deleted from the table indicated by the table pointer (step 4a), a deletion completion message is displayed (step 4b), and the process is terminated.

【0040】図5は、図1におけるシミュレート対象と
する命令及び入出力装置の登録に係るデータ内容の一例
を示す表である。
FIG. 5 is a table showing an example of data contents related to the registration of the instruction and the input / output device to be simulated in FIG.

【0041】本表は、図1におけるシミュレート対象項
目登録処理1cに要求可能な項目の詳細を示すものであ
り、全ての機能検証プログラムタスクを対象とするか、
固有のタスクを対象都するのかを指定する全タスク/固
有タスクの別51と、固有タスク指定の場合に、どのタ
スクのデバッグ支援を行うかを指定する機能試験プログ
ラムタスクの別52と、シミュレート対象とする命令の
種類53と、シミュレート対象とする命令アドレス範囲
を指定する割込みアドレス範囲54と、異常終了の種類
によってシミュレート対象を指定する割込みの種類55
と、シミュレート対象とする入出力装置を指定する入出
力装置の別56などが指定できる。
This table shows the details of the items that can be requested for the simulation target item registration processing 1c in FIG. 1, and is intended for all function verification program tasks.
All task / unique task type 51 that specifies whether a specific task is targeted, functional test program task type 52 that specifies which task to support for debugging when a specific task is specified, and a simulation A target instruction type 53, an interrupt address range 54 that specifies a simulation target instruction address range, and an interrupt type 55 that specifies a simulation target depending on the type of abnormal termination.
And the input / output device type 56 for specifying the input / output device to be simulated can be specified.

【0042】図6は、図1における異常終了の割込みが
シミュレート対象であるか否かの判断処理に係る動作の
一実施例を示すフローチャートである。
FIG. 6 is a flow chart showing an embodiment of the operation relating to the processing for determining whether or not the interrupt for abnormal termination in FIG. 1 is a simulation target.

【0043】本実施例は、図1におけるシミュレート対
象判断処理1dの処理動作の詳細を示すものであり、ま
ず、図1における異常終了割込み採取処理14によって
採取した割込み情報をもとに、全タスク共通のシミュレ
ート対象項目テーブルを参照し(ステップ61)、シミ
ュレート対象であるか否かを判定する(ステップ6
2)。この結果シミュレート対象の割込みでないと判断
した場合は、異常終了となった機能試験プログラムタス
ク固有のシミュレート対象項目テーブルを参照し(ステ
ップ63)、シミュレート対象であるか否かを判定する
(ステップ64)が、この結果もシミュレート対象の割
込みでないと判断した場合は、シミュレート非対象のリ
ターン情報を設定し(ステップ65)、処理を終了す
る。
This embodiment shows the details of the processing operation of the simulation target judgment processing 1d in FIG. 1. First, based on the interrupt information collected by the abnormal end interrupt collection processing 14 in FIG. The simulation target item table common to the tasks is referred to (step 61), and it is determined whether or not it is a simulation target (step 6).
2). As a result, when it is determined that the interrupt is not the simulation target, the simulation target item table specific to the abnormally ended function test program task is referred to (step 63), and it is determined whether or not it is the simulation target (step 63). If it is determined in step 64) that this result is not the simulation target interrupt, the non-simulation return information is set (step 65), and the process ends.

【0044】また、全タスク共通あるいは、異常終了と
なった機能試験プログラムタスク固有のシミュレート対
象項目テーブルを参照し(ステップ61,63)、シミ
ュレート対象であるか否かを判定し(ステップ62,6
4)、この結果シミュレート対象の割込みであると判断
した場合は、シミュレート対象のリターン情報を設定し
(ステップ66)、処理を終了する。
Further, the simulation target item table peculiar to the function test program task which is common to all the tasks or abnormally ended is referred to (steps 61 and 63), and it is determined whether or not the target is a simulation target (step 62). , 6
4) As a result, if it is determined that the interrupt is a simulation target, the return information of the simulation target is set (step 66), and the process is terminated.

【0045】図7は、図1における異常終了の割込みの
発生した命令動作のシミュレート処理に係る動作の一実
施例を示すフローチャートである。
FIG. 7 is a flow chart showing an embodiment of the operation relating to the simulation processing of the instruction operation in which the interrupt of abnormal termination in FIG. 1 has occurred.

【0046】本実施例は、図1におけるシミュレート処
理1eの処理動作の詳細を示すものであり、まず、図1
における異常終了割込み採取処理14によって採取した
割込み情報である割込みアドレス、割込み種別コード等
から割込み命令の確定を行い(ステップ71)、割込み
命令の命令コードと、オペランドアドレスと、オペラン
ドアドレスの示す主記憶装置の内容などを解析し(ステ
ップ72)、割込み発生となった命令をアーキテクチャ
動作に従ってシミュレートする(ステップ73)。シミ
ュレートが正常に終了した場合は(ステップ74)、シ
ミュレート結果を、異常終了となった命令に関する主記
憶装置、レジスタ等に設定し(ステップ75)、正常終
了のリターン情報を設定し(ステップ76)、処理を終
了する。
This embodiment shows the details of the processing operation of the simulation processing 1e in FIG.
The interrupt instruction is determined from the interrupt address, the interrupt type code, etc., which are the interrupt information collected by the abnormal end interrupt collection processing 14 in step (step 71), and the instruction code of the interrupt instruction, the operand address, and the main memory indicated by the operand address. The contents of the device are analyzed (step 72), and the interrupted instruction is simulated according to the architectural operation (step 73). If the simulation ends normally (step 74), the simulation result is set in the main storage device, register, or the like for the instruction that ended abnormally (step 75), and the return information indicating normal end is set (step 75). 76), and the process ends.

【0047】また、シミュレートを実行した結果(ステ
ップ73)、シミュレートが正常に終了しなかった場合
は(ステップ74)、異常終了のリターン情報を設定し
(ステップ77)、処理を終了する。
As a result of executing the simulation (step 73), if the simulation does not end normally (step 74), return information for abnormal end is set (step 77), and the process ends.

【0048】以上、図1〜図7を用いて説明したよう
に、本実施例の情報処理装置機能試験プログラムのデバ
ッグ方式では、機能検証プログラムのデバッグを試験対
象とは異なる情報処理装置を使用した場合に発生する異
常終了割込み等の不具合を解決する。
As described above with reference to FIGS. 1 to 7, in the debugging method of the information processing apparatus function test program of the present embodiment, the debugging of the function verification program uses an information processing apparatus different from the test target. Solve problems such as abnormal termination interrupts that occur in some cases.

【0049】このことにより、オペレータによる異常終
了発生原因の調査や、異常終了を回避するプログラムパ
ッチ作業などの無駄な作業が、不要化でき、機能検証プ
ログラムのデバッグを高効率に行うことができる。
As a result, wasteful work such as investigation of the cause of the abnormal end occurrence by the operator and program patch work for avoiding the abnormal end can be eliminated, and the function verification program can be debugged with high efficiency.

【0050】尚、図1〜図7を用いて説明した実施例
は、本発明の一例として示したものであり、本発明は、
これらの実施例に限定されるものではない。
The embodiment described with reference to FIGS. 1 to 7 is shown as an example of the present invention.
It is not limited to these examples.

【0051】[0051]

【発明の効果】本発明によれば、機能試験プログラムの
デバッグを、試験対象とは異なる情報処理装置を用いて
行った場合に発生する異常終了割込みの採取、シミュレ
ートを自動的に行い、正常に動作したように実行できる
ため、人手による判断やプログラムパッチ作業が不要と
なり、効率の良いデバッグが可能である。これにより、
機能試験プログラムのデバッグ期間の短縮、品質の向上
を図ることができる。
According to the present invention, an abnormal end interrupt that occurs when a functional test program is debugged using an information processing device different from the test target is automatically collected and simulated, and normal Since it can be executed as if it operated, it does not require manual judgment or program patch work, and efficient debugging is possible. This allows
It is possible to shorten the debug period of the functional test program and improve the quality.

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

【図1】情報処理装置機能試験プログラムのデバッグ方
式の本発明に係る処理動作の一実施例を示す説明図であ
る。
FIG. 1 is an explanatory diagram showing an example of a processing operation according to the present invention of a debugging method of an information processing device function test program.

【図2】図1における情報処理装置機能試験プログラム
のデバッグ方式の実施に用いる情報処理装置の本発明に
係る構成の一実施例を示すブロック図である。
2 is a block diagram showing an embodiment of a configuration according to the present invention of an information processing apparatus used for implementing a debugging method of an information processing apparatus function test program in FIG.

【図3】図1における異常終了割込み発生時の割込みベ
クトル切り替えに係る動作の一実施例を示すフローチャ
ートである。
FIG. 3 is a flowchart showing an embodiment of an operation relating to interrupt vector switching when an abnormal end interrupt in FIG. 1 occurs.

【図4】図1におけるシミュレート対象とする命令及び
入出力装置の登録/削除に係る動作の一実施例を示すフ
ローチャートである。
FIG. 4 is a flowchart showing an embodiment of an operation relating to registration / deletion of an instruction to be simulated and an input / output device in FIG.

【図5】図1におけるシミュレート対象とする命令及び
入出力装置の登録に係るデータ内容の一例を示す表であ
る。
5 is a table showing an example of data content related to registration of an instruction to be simulated and an input / output device in FIG.

【図6】図1における異常終了の割込みがシミュレート
対象であるか否かの判断処理に係る動作の一実施例を示
すフローチャートである。
FIG. 6 is a flowchart showing an example of an operation relating to a determination process as to whether or not the abnormal termination interrupt in FIG. 1 is a simulation target.

【図7】図1における異常終了の割込みの発生した命令
動作のシミュレート処理に係る動作の一実施例を示すフ
ローチャートである。
7 is a flowchart showing an example of an operation relating to a simulation process of an instruction operation in which an interrupt for abnormal termination in FIG. 1 has occurred.

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

11…デバッグ支援プログラムタスク、 12…タスク制御プログラムタスク、 13…機能試験プログラムタスク、 14…異常終了割込み採取処理、 15…割込み処理、 16…制御プログラム、 17…タイムシュアリング共通バス、 1h…情報処理装置、 21…主記憶装置、 22…記憶制御装置、 23…命令プロセッサ、 24…入出力プロセッサ、 25…サービス装置、 26…サービスプロセッサ、 27…入出力装置。 11 ... Debug support program task, 12 ... Task control program task, 13 ... Functional test program task, 14 ... Abnormal end interrupt collection processing, 15 ... Interrupt processing, 16 ... Control program, 17 ... Time-sharing common bus, 1h ... Information Processing device, 21 ... Main storage device, 22 ... Storage control device, 23 ... Instruction processor, 24 ... Input / output processor, 25 ... Service device, 26 ... Service processor, 27 ... Input / output device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】少なくとも一つ以上の命令プロセッサと、
該プロセッサに接続される主記憶装置、入出力装置など
の周辺装置群とからなる情報処理装置の動作を、機能試
験プログラムをその主記憶装置内にロードして、命令プ
ロセッサに実行させることで検証する機能試験方法にお
いて、機能試験プログラムのデバッグを、該機能試験プ
ログラムが試験対象とする情報処理装置とは異なる情報
処理装置を用いて行った場合に発生する未サポート命令
発行や、入出力装置指定などによる異常終了に関し、異
常終了割込みを採取する手段と、異常終了となった該命
令や該入出力装置のアーキテクチャ上の動作をシミュレ
ートする手段と、割込み発生個所から自動的に再実行さ
せる手段を設けることにより、機能試験プログラムの正
常実行を可能とすることで、デバッグを容易に行えるこ
とを特徴とするデバッグ方式。
1. At least one or more instruction processors,
Verification of the operation of the information processing device including a peripheral device group such as a main memory device and an input / output device connected to the processor by loading a function test program into the main memory device and causing the instruction processor to execute the program. In the function test method, an unsupported instruction is issued or an input / output device is specified when the function test program is debugged using an information processing device different from the information processing device to be tested by the function test program. Regarding abnormal termination due to, for example, means for collecting an abnormal termination interrupt, means for simulating the abnormally terminated instruction and the architectural operation of the input / output device, and means for automatically re-executing from the interrupt occurrence point Is provided to enable normal execution of the functional test program, which facilitates debugging. Tsu grayed system.
JP5246593A 1993-10-01 1993-10-01 Debugging system for information processor function test program Pending JPH07105045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5246593A JPH07105045A (en) 1993-10-01 1993-10-01 Debugging system for information processor function test program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5246593A JPH07105045A (en) 1993-10-01 1993-10-01 Debugging system for information processor function test program

Publications (1)

Publication Number Publication Date
JPH07105045A true JPH07105045A (en) 1995-04-21

Family

ID=17150730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5246593A Pending JPH07105045A (en) 1993-10-01 1993-10-01 Debugging system for information processor function test program

Country Status (1)

Country Link
JP (1) JPH07105045A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140240A (en) * 2008-12-11 2010-06-24 Renesas Electronics Corp Processor, multiprocessor and debugging method
US20110270806A1 (en) * 2010-05-03 2011-11-03 Airbus Operations (Societe Par Actions Simplifiee) Checking of a communication system for an aircraft under development

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140240A (en) * 2008-12-11 2010-06-24 Renesas Electronics Corp Processor, multiprocessor and debugging method
US20110270806A1 (en) * 2010-05-03 2011-11-03 Airbus Operations (Societe Par Actions Simplifiee) Checking of a communication system for an aircraft under development
US8583316B2 (en) * 2010-05-03 2013-11-12 Airbus Operations S.A.S. Checking of a communication system for an aircraft under development

Similar Documents

Publication Publication Date Title
JPH07105044A (en) Method and system for simulation of execution of computer program
JPH0533423B2 (en)
JPH07105045A (en) Debugging system for information processor function test program
JP2861962B2 (en) Computer program simulation apparatus and method
JPH04195436A (en) Automatic test system for computer system
JPH04352245A (en) Simulation system
JPH08305609A (en) Program test method and device
JPH07253909A (en) Microprogram verifying method
JP4192380B2 (en) PLC simulator apparatus, simulation program, and recording medium on which the program is recorded
JP2533489B2 (en) Simulation system
JPH07219980A (en) Test execution system
JPH10289129A (en) Task scheduler for debugging
JP2001166966A (en) Method for managing execution environment of program to be tested in debugger
JPS62194549A (en) Cpu-io parallel working simulation system
JPH06131203A (en) Event recording system
JPH0567164A (en) Logic simulation system
JPS63157244A (en) Debugging system for test program of peripheral device
JPH05282268A (en) Function test control method for multiprocessor system
JPH04277840A (en) Simulation system for asynchronous instruction
JPH02232744A (en) Constitution control system for simulator
JPH07295860A (en) Software test method/device
JPS62271152A (en) Testing method for hardware with rom
JPH03198132A (en) Simulation device
JPH03102540A (en) Debugging system for simulator
JPH04243431A (en) Evaluation system for fault processing function

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees