JPH09244919A - Debugger for test program in multi-cpu - Google Patents

Debugger for test program in multi-cpu

Info

Publication number
JPH09244919A
JPH09244919A JP8057117A JP5711796A JPH09244919A JP H09244919 A JPH09244919 A JP H09244919A JP 8057117 A JP8057117 A JP 8057117A JP 5711796 A JP5711796 A JP 5711796A JP H09244919 A JPH09244919 A JP H09244919A
Authority
JP
Japan
Prior art keywords
cpu
debugger
processing
command
slave
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.)
Withdrawn
Application number
JP8057117A
Other languages
Japanese (ja)
Inventor
Osamu Suzuki
治 鈴木
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP8057117A priority Critical patent/JPH09244919A/en
Publication of JPH09244919A publication Critical patent/JPH09244919A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Debugging And Monitoring (AREA)
  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To debug a test program in a short time in a multi-CPU mounted device. SOLUTION: This is the debugger of programs 11 and 12 to be debugged provided corresponding to respective plural CPUs connected through a bus. Also, it is provided with inter-CPU communication processing routines 17 and 27 provided on the sides of the respective CPUs for instructing the activation and interruption of the debugger on the side of the other CPU from the side of one CPU and receiving the instruction of the activation and interruption of the debugger on the side of one CPU sent from the side of the other CPU.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マルチCPUを搭
載した装置におけるテストプログラムをデバッグするた
めのデバッガに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a debugger for debugging a test program in a device equipped with multiple CPUs.

【0002】[0002]

【従来の技術】従来、テストプログラム(以下、単にT
Pと言う。)専用モニタ組み込み型デバッガは、TPデ
バッグ時と不具合解析時の2通りで適用されている。図
11は従来のデバッガを説明する構成図である。マルチ
CPU搭載装置でデバッガを使用する場合には、図11
に示すように、マスタCPU側デバッガD1’とスレー
ブCPU側デバッガD2’とが設けられており、TP設
計時のデバッグにおいては、マスタCPU側デバッガD
1’とスレーブCPU側デバッガD2’とを各々用いて
いる。
2. Description of the Related Art Conventionally, test programs (hereinafter simply referred to as T
Say P. ) The dedicated monitor-embedded debugger is applied in two ways: during TP debugging and during failure analysis. FIG. 11 is a configuration diagram illustrating a conventional debugger. When the debugger is used on a device equipped with multiple CPUs, FIG.
As shown in FIG. 3, a master CPU side debugger D1 'and a slave CPU side debugger D2' are provided.
1'and a slave CPU side debugger D2 'are used respectively.

【0003】このマスタCPU側デバッガD1’は、T
Pから成る被デバッグプログラム11、コマンド処理ル
ーチン12、外部コンソールアテンション割込ハンドラ
13、プログラム割込ハンドラ14、デバッグ例外割込
ハンドラ15、SICドライバ16から構成されてい
る。
This master CPU side debugger D1 'is
It is composed of a debugged program 11 composed of P, a command processing routine 12, an external console attention interrupt handler 13, a program interrupt handler 14, a debug exception interrupt handler 15, and a SIC driver 16.

【0004】また、スレーブCPU側デバッガD2’も
同様に、TPから成る被デバッグプログラム21、コマ
ンド処理ルーチン22、外部コンソールアテンション割
込ハンドラ23、プログラム割込ハンドラ24、デバッ
グ例外割込ハンドラ25、SICドライバ26から構成
されている。
Similarly, the slave CPU-side debugger D2 'similarly has a program to be debugged TP 21, a command processing routine 22, an external console attention interrupt handler 23, a program interrupt handler 24, a debug exception interrupt handler 25, and an SIC. It is composed of a driver 26.

【0005】各デバッガの構成は同様であるため、以下
ではマスタCPU側デバッガD1’のみの説明を行う。
すなわち、マスタCPU側デバッガD1’のコマンド処
理ルーチン12は、本デバッガの本体である。また外部
コンソールアテンション割込ハンドラ13は、予め外部
コンソールのキーに割当てられているデバッガ起動のキ
ーが押下された時、その時点のCPU情報をスタックに
保存するルーチンである。
Since the configurations of the respective debuggers are the same, only the master CPU side debugger D1 'will be described below.
That is, the command processing routine 12 of the master CPU side debugger D1 'is the main body of this debugger. The external console attention interrupt handler 13 is a routine for saving the CPU information at that time in the stack when a debugger activation key previously assigned to the external console key is pressed.

【0006】プログラム割込ハンドラ14は、予め被デ
バッグプログラム11に組み込まれているデバッガ起動
の関数が呼び出された時、その時点のCPU情報をスタ
ックに保存するルーチンである。また、デバッグ例外割
込ハンドラ15は、デバッガを使用して設定したブレー
クポイントにアクセスした時、その時点のCPU情報を
スタックに保存するルーチンである。さらに、SICド
ライバ16は、デバッガが起動した時の外部コンソール
の入出力処理を行うものである。
The program interrupt handler 14 is a routine for saving the CPU information at that time in a stack when a debugger activation function which is built in the program to be debugged 11 in advance is called. Further, the debug exception interrupt handler 15 is a routine for saving the CPU information at that time in the stack when the breakpoint set by using the debugger is accessed. Further, the SIC driver 16 performs input / output processing of the external console when the debugger is activated.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うなデバッガにおいて、マルチCPU搭載装置の個々の
CPU上でTPを動作させた時に発生する不具合によっ
ては、デバッガでの不具合解析に多大な時間を要するこ
とになる。
However, in such a debugger, depending on the trouble that occurs when the TP is operated on each CPU of the multi-CPU mounted device, it takes a lot of time to analyze the trouble in the debugger. It will be.

【0008】例えば、エラーを起こしたTP以外のCP
Uで何のTPがどの様な動作をしているかを調べる場
合、エラーを起こした時点で、エラーを起こしていない
TPが起動しているCPUの情報がないため、原因調査
に多くの時間を必要とする。
For example, a CP other than the TP that caused the error
When investigating what TP is doing in U and how it works, there is no information on the CPU running the TP that does not generate an error when the error occurs, so much time is spent investigating the cause. I need.

【0009】このようなことから、一つのCPUで動作
中のTPが、あるハードウェア(LSI)にアクセスし
たことによる影響で、他のCPUで動作中のTPがエラ
ーを起こした場合の原因調査は非常に時間がかかるとい
う問題が生じる。
From the above, the investigation of the cause when the TP operating in one CPU causes an error in the TP operating in another CPU due to the influence of accessing a certain hardware (LSI) Is a very time consuming problem.

【0010】さらに、TP専用モニタはマルチタスクO
S(オペレーティングシステム)であるため、一つのC
PUで複数のTPを同時に動作させる競合動作が可能で
あり、この競合動作時における上記不具合の原因調査は
非常に困難である。
Further, the TP monitor is a multitasking O
Since it is S (operating system), one C
It is possible to perform a competing operation in which a plurality of TPs are simultaneously operated by the PU, and it is very difficult to investigate the cause of the above-mentioned problem during the competing operation.

【0011】[0011]

【課題を解決するための手段】本発明はこのような課題
を解決するために成されたマルチCPUにおけるテスト
プログラムのデバッガである。すなわち、本発明は、バ
スを介して接続された複数のCPUの各々に対応して設
けられているテストプログラムのデバッガであり、各C
PU側に設けられ、一方のCPU側から他方のCPU側
のデバッガの起動や終了を指示したり、他方のCPU側
から送られる一方のCPU側のデバッガの起動や終了の
指示を受ける通信手段を備えているものである。
The present invention is a debugger of a test program in a multi-CPU, which is made to solve such a problem. That is, the present invention is a test program debugger provided corresponding to each of a plurality of CPUs connected via a bus.
Communication means is provided on the PU side, and receives a command from one CPU side to start or end a debugger on the other CPU side, or receives a command to start or end a debugger on one CPU side sent from the other CPU side. It is equipped.

【0012】本発明では、一方のCPU側のテストプロ
グラムを起動している間にデバッガの起動が指示された
場合に、通信手段によって他方のCPU側のデバッガの
起動や終了を指示するため、各CPU側のデバッガが連
係をとって動作する状態となり、いずれか一方のテスト
プログラムでエラーが発生した場合にもその時点で他方
のCPU情報も得ることができるようになる。
According to the present invention, when the activation of the debugger is instructed while the test program on the one CPU side is activated, the communication means instructs the activation or termination of the debugger on the other CPU side. The CPU-side debugger operates in a coordinated manner, and if an error occurs in one of the test programs, the CPU information of the other CPU can be obtained at that time.

【0013】[0013]

【発明の実施の形態】以下に、本発明のマルチCPUに
おけるテストプログラムのデバッガの実施の形態を図に
基づいて説明する。図1は本発明の第1実施形態を説明
する構成図、図2はハードウェア構成図である。すなわ
ち、図2に示すハードウェア構成としては、システムの
中心となるメインのバスBを介して2つのCPU基板S
1、S2が接続され、さらに共通のメモリを備えたCM
(Common Memory)基板Mが接続された構
成となっている。また、バスBにはRS232C等のイ
ンタフェースを介してキーボードやディスプレイを備え
た外部コンソールGが接続されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a test program debugger in a multi-CPU according to the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram illustrating a first embodiment of the present invention, and FIG. 2 is a hardware configuration diagram. That is, in the hardware configuration shown in FIG. 2, the two CPU boards S are connected via the main bus B which is the center of the system.
CM with 1 and S2 connected and a common memory
(Common Memory) Substrate M is connected. An external console G having a keyboard and a display is connected to the bus B via an interface such as RS232C.

【0014】各CPU基板S1、S2には各々CPUと
LM(Local Memory)が搭載されている。
なお、本実施形態では、CPU基板S1側のCPUをマ
スタCPU、CPU基板S2側のCPUをスレーブCP
Uとして説明を行う。
A CPU and an LM (Local Memory) are mounted on each of the CPU boards S1 and S2.
In the present embodiment, the CPU on the CPU board S1 side is the master CPU, and the CPU on the CPU board S2 side is the slave CP.
The description will be given as U.

【0015】図1に示すように、本実施形態におけるマ
スタCPU側デバッガD1は、TPから成る被デバッグ
プログラム11、コマンド処理ルーチン12、外部コン
ソールアテンション割込ハンドラ13、プログラム割込
ハンドラ14、デバッグ例外割込ハンドラ15、SIC
ドライバ16に加え、CPU間通信処理ルーチン17を
備えている。
As shown in FIG. 1, the master CPU-side debugger D1 according to the present embodiment includes a program to be debugged 11 including a TP, a command processing routine 12, an external console attention interrupt handler 13, a program interrupt handler 14, and a debug exception. Interrupt handler 15, SIC
In addition to the driver 16, an inter-CPU communication processing routine 17 is provided.

【0016】また、スレーブCPU側デバッガD2は、
TPから成る被デバッグプログラム21、コマンド処理
ルーチン22、プログラム割込ハンドラ24、デバッグ
例外割込ハンドラ25に加え、仮想外部コンソールアテ
ンション割込ハンドラ23’、仮想SICドライバ2
6’およびCPU間通信処理ルーチン27を備えてい
る。
Further, the slave CPU side debugger D2 is
A virtual external console attention interrupt handler 23 ′, a virtual SIC driver 2 in addition to a debugged program 21 including a TP, a command processing routine 22, a program interrupt handler 24, and a debug exception interrupt handler 25.
6'and an inter-CPU communication processing routine 27.

【0017】マスタCPU側デバッガD1のCPU間通
信処理ルーチン17は、スレーブCPU側基板から入出
力処理の依頼を受信したり、スレーブCPU側へデバッ
ガの同時起動、終了通知を行うために設けられている。
The inter-CPU communication processing routine 17 of the master CPU-side debugger D1 is provided to receive a request for input / output processing from the slave CPU-side board and to notify the slave CPU side of simultaneous start-up and termination of the debugger. There is.

【0018】また、スレーブCPU側デバッガD2のC
PU間通信処理ルーチン27は、マスタCPU側基板へ
の入出力処理の依頼の送信、デバッガの同時起動、終了
通知を行うために設けられている。さらに、仮想外部コ
ンソールアテンション割込ハンドラ23’および仮想S
ICドライバ26’は、図2に示す外部コンソールGが
一つであることに対応するため、実際にはマスタCPU
側デバッガD1の外部コンソールアテンション割込ハン
ドラ13およびSICドライバ16を利用して仮想的に
スレーブCPU側デバッガD2で使用できるようにした
ものである。
Further, C of the slave CPU side debugger D2
The inter-PU communication processing routine 27 is provided for transmitting a request for input / output processing to the master CPU side board, simultaneously starting the debugger, and notifying the end. Furthermore, the virtual external console attention interrupt handler 23 'and the virtual S
Since the IC driver 26 'corresponds to the single external console G shown in FIG.
The external console attention interrupt handler 13 and the SIC driver 16 of the side debugger D1 can be virtually used by the slave CPU side debugger D2.

【0019】次に、マスタCPU側デバッガD1の動作
を、図1、図3、図5、図6、図7および図8に基づい
て説明する。図3はマスタCPU側デバッガの構成図、
図5はデバッガの全体的なフローチャート、図6は送信
処理を説明するフローチャート、図7は受信処理を説明
するフローチャート、図8はCPU間通信を説明する関
連図である。
Next, the operation of the master CPU side debugger D1 will be described with reference to FIGS. 1, 3, 5, 6, 7 and 8. 3 is a block diagram of the master CPU side debugger,
5 is an overall flowchart of the debugger, FIG. 6 is a flowchart illustrating transmission processing, FIG. 7 is a flowchart illustrating reception processing, and FIG. 8 is a related diagram illustrating inter-CPU communication.

【0020】先ず、各種ハンドラからの指示により、デ
バッガが起動した場合には、図5に示すステップS10
1において、デバッガが起動した時点でのマスタCPU
のレジスタ情報をスタックに保存する処理を行う。すな
わち、デバッガキーが押下された場合や、被デバッグプ
ログラム11内に組み込まれているデバッガ起動関数が
呼び出された場合、またブレークポイントに達した場
合、さらには他のデバッガからのNMI(Non Ma
rkable Interaptの略でマスク不可能な
割込のこと)が送られてきた場合に、マスタCPUのレ
ジスタ情報をスタックに保存する。
First, when the debugger is activated by an instruction from various handlers, step S10 shown in FIG.
1, the master CPU when the debugger started
The register information of is saved in the stack. That is, when the debugger key is pressed, the debugger start-up function incorporated in the program to be debugged 11 is called, or a breakpoint is reached, the NMI (Non Ma) from another debugger is also reached.
When a non-maskable interrupt (abbreviation of rkable Interrupt) is sent, the register information of the master CPU is saved in the stack.

【0021】次いで、外部コンソールGの使用権が有る
場合にはステップS102でYesとなり、CPU間通
信ルーチン17の送信部17aからスレーブCPU側デ
バッガD2を起動する旨の指示を送信する(ステップS
103)。一方、外部コンソールGの使用権が無い場合
にはステップS102の判断でNoとなり、NMI発生
受信待ちとなる(ステップS105)。
Next, if the user has the right to use the external console G, the answer is Yes in step S102, and an instruction to activate the slave CPU side debugger D2 is transmitted from the transmitter 17a of the inter-CPU communication routine 17 (step S).
103). On the other hand, if the user does not have the right to use the external console G, the determination in step S102 is No, and the NMI occurrence reception waits (step S105).

【0022】ここで、デバッガ本体であるコマンド処理
ルーチン12の説明を行う。コマンド処理ルーチン12
は、コマンド解析12aと、CPU制御12b、入出力
制御12c、操作支援12dから成る各種デバッグ処理
とから構成されている。
The command processing routine 12, which is the main body of the debugger, will be described. Command processing routine 12
Is composed of a command analysis 12a and various debug processes including a CPU control 12b, an input / output control 12c, and an operation support 12d.

【0023】コマンド解析12aは、図5に示すステッ
プS104でコマンド入力待ちをしており、コマンドが
入力された場合にコマンドの解析を行う(ステップS1
06)。その後、各種デバッグ処理で解析したコマンド
に対応した処理を行う(S108)。
The command analysis unit 12a waits for a command input in step S104 shown in FIG. 5, and analyzes the command when the command is input (step S1).
06). After that, processing corresponding to the command analyzed in various debug processing is performed (S108).

【0024】各種デバッグ処理におけるCPU制御12
bは、プログラムの制御、レジスタ/メモリのリード/
ライト、ブレークポイントの設定、データのトリガ/ト
レース情報の取得を制御する。また、入出力制御12c
は、I/Oポートに対するデータの入出力操作である。
さらに、操作支援12dは、簡易計算、逆アセンブル機
能、コンソールアクセス権制御を含んでいる。
CPU control 12 in various debug processes
b is program control, register / memory read /
Controls writing, setting breakpoints, and getting data trigger / trace information. Also, the input / output control 12c
Is an input / output operation of data with respect to the I / O port.
Further, the operation support 12d includes simple calculation, disassembly function, and console access right control.

【0025】各種デバッガ処理は終了コマンドが入力さ
れるまで行われる(ステップS107〜S108)。終
了コマンドが入力された後は、ステップS109へ進
み、外部コンソールGの使用権の有無を判断する。使用
権が無い場合にはステップS111へ進み、スタック情
報をレジスタへ戻す処理を行う。一方、使用権が有る場
合にはステップS110へ進み、CPU間通信ルーチン
17の送信部17aからスレーブCPU側デバッガD2
を終了する旨の指示を送信する。
Various debugger processes are performed until the end command is input (steps S107 to S108). After the end command is input, the process proceeds to step S109, and it is determined whether the external console G has the right to use. If the user does not have the usage right, the process proceeds to step S111 and the stack information is returned to the register. On the other hand, if the user has the usage right, the process proceeds to step S110, where the slave CPU-side debugger D2 is sent from the transmitter 17a of the inter-CPU communication routine 17 to the slave CPU side debugger D2.
Send an instruction to end.

【0026】このような一連の処理によって、マスタC
PU側デバッガD1とスレーブCPU側デバッガD2と
の間で処理の連係をとることが可能となる。
Through the series of processes described above, the master C
It becomes possible to coordinate processing between the PU side debugger D1 and the slave CPU side debugger D2.

【0027】ここで、CPU間通信処理ルーチン17の
説明を行う。図3に示すように、CPU間通信処理ルー
チン17の送信部17aは、送信処理ドライバを備えた
送信部17aと、CPU間通信割込ハンドラを備えた受
信部17bとから構成されている。
Here, the inter-CPU communication processing routine 17 will be described. As shown in FIG. 3, the transmission unit 17a of the inter-CPU communication processing routine 17 includes a transmission unit 17a including a transmission processing driver and a reception unit 17b including an inter-CPU communication interrupt handler.

【0028】図5に示すステップS103、S110の
CPU間通信送信処理では、送信部17aからスレーブ
CPU側へ処理依頼を行う。また、スレーブCPU側デ
バッガD2から送られるNMIは受信部17bに受け取
る。
In the inter-CPU communication transmission processing of steps S103 and S110 shown in FIG. 5, the transmission unit 17a makes a processing request to the slave CPU side. Further, the NMI sent from the slave CPU side debugger D2 is received by the receiving unit 17b.

【0029】送信部17aは、各種デバッガが送信要求
を出した場合に、図8に示すCM基板MのCM領域情報
格納枠におけるメッセージ枠M1〜M3に必要な情報を
書き込み(図6に示すステップS201)、スレーブC
PU側デバッガに対し、セレクティブNMIを発行する
(ステップS202)。また、文字の入力処理があった
場合にはCM領域情報格納枠の取得文字枠を読み取る処
理を行う(ステップS203〜S205)。
When various debuggers issue transmission requests, the transmission unit 17a writes necessary information in the message frames M1 to M3 in the CM area information storage frame of the CM board M shown in FIG. 8 (steps shown in FIG. 6). S201), slave C
A selective NMI is issued to the PU side debugger (step S202). If the character input process is performed, the process of reading the acquired character frame of the CM area information storage frame is performed (steps S203 to S205).

【0030】ここで、各種デバッガが出す送信要求と
は、スレーブCPU側デバッガの起動と終了、およびス
レーブCPU側デバッガへの外部コンソールアクセス権
の解放指示のことである。この送信処理は、上記NMI
を発行した後、送信先のCPU側から依頼処理終了の通
知を受けると終了となる(ステップS206)。
Here, the transmission requests issued by the various debuggers are activation and termination of the slave CPU side debugger, and an instruction to release the external console access right to the slave CPU side debugger. This transmission process is the same as the above NMI.
When the notification of the end of the request process is received from the CPU side of the transmission destination after the is issued, the process ends (step S206).

【0031】また、受信部17bは、図7に示すように
他のCPUであるスレーブCPU側デバッガD2からN
MIを受け取ると、その時のマスタCPUのレジスタ情
報をスタックに保存し(ステップS301)、図8に示
すCM領域情報格納枠のメッセージ枠M1〜M3を読み
出し(ステップS302)、依頼された処理を判別して
実行する。
Further, as shown in FIG. 7, the receiving unit 17b has the slave CPU side debuggers D2 to N which are other CPUs.
When MI is received, the register information of the master CPU at that time is saved in the stack (step S301), the message frames M1 to M3 of the CM area information storage frame shown in FIG. 8 are read (step S302), and the requested processing is determined. Then run.

【0032】処理の内容としては、マスタCPU側デバ
ッガの起動処理(ステップS303〜S305)、文字
の出力処理(ステップS306〜S307)、文字の入
力処理(ステップS308〜S309)、外部コンソー
ルの使用権取得処理(ステップS310〜S311)、
マスタCPU側デバッガの終了処理(ステップS31
2)がある。
The contents of the processing are as follows: start-up processing of the master CPU side debugger (steps S303 to S305), character output processing (steps S306 to S307), character input processing (steps S308 to S309), usage rights of the external console. Acquisition processing (steps S310 to S311),
End processing of the master CPU side debugger (step S31
There is 2).

【0033】なお、マスタCPU側デバッガの起動処理
を除く他の処理の場合には、最後に依頼元であるスレー
ブCPU側デバッガに処理完了通知をして受信処理を終
了する(ステップS313)。
In the case of processes other than the starting process of the master CPU-side debugger, the completion of the process is notified to the slave CPU-side debugger, which is the request source, and the receiving process is terminated (step S313).

【0034】以下、順に各処理の説明を行う。先ず、マ
スタCPU側デバッガの起動処理(ステップS303〜
S305)では、初めに図8に示す依頼処理完了バッフ
ァM1を設定し、スレーブCPU側デバッガD2へ処理
の起動を通知する(ステップS303)。次いで、外部
コンソールのアクセス権を解放した後(ステップS30
4)、デバッガ本体の呼び出しを行う(ステップS30
5)。この時、デバッガ本体では外部コンソールのアク
セス権が無いため、スレーブCPU側からセレクティブ
NMI9の発生待ちとなる(図5のステップS105参
照)。
Hereinafter, each process will be described in order. First, the process of starting the master CPU side debugger (step S303-
In S305), first, the request processing completion buffer M1 shown in FIG. 8 is set, and the slave CPU side debugger D2 is notified of the start of processing (step S303). Then, after releasing the access right of the external console (step S30
4) Call the debugger body (step S30)
5). At this time, since the main body of the debugger does not have the right to access the external console, the slave CPU waits for the selective NMI 9 to occur (see step S105 in FIG. 5).

【0035】また、外部コンソールの使用権取得処理
(ステップS310〜S311)およびマスタCPU側
デバッガの終了処理(ステップS312)は、スレーブ
CPU側からのセレクティブNMIの発生待ちの状態か
らとなる。
The external console usage right acquisition processing (steps S310 to S311) and the master CPU side debugger termination processing (step S312) are in a state of waiting for the generation of a selective NMI from the slave CPU side.

【0036】外部コンソールの使用権取得処理ではコマ
ンドバッファにコンソールコマンドを設定する処理を行
い(ステップS310)、外部コンソールの使用権の取
得として図8に示すコンソールアクセス権フラグの設定
を行う(ステップS311)。また、マスタCPU側デ
バッガの終了処理ではコマンドバッファに終了コマンド
を設定する処理を行う(ステップS312)。
In the external console usage right acquisition processing, processing for setting console commands in the command buffer is performed (step S310), and the console access right flag shown in FIG. 8 is set as acquisition of the external console usage right (step S311). ). Further, in the termination processing of the master CPU side debugger, processing of setting the termination command in the command buffer is performed (step S312).

【0037】文字の出力処理(ステップS306〜S3
07)、入力処理(ステップS308〜S309)は、
スレーブCPU側デバッガの外部コンソール出力および
外部コンソール入力である。すなわち、出力処理では、
図8に示すCM領域情報格納枠の入出力文字格納バッフ
ァM3に、指定された文字をマスタCPU側デバッガD
1のSICドライバ16の文字出力処理に渡し(ステッ
プS306)、このSICドライバ16を使って文字を
表示する(ステップS307)。
Character output processing (steps S306 to S3)
07) and the input process (steps S308 to S309)
External console output and external console input of the slave CPU side debugger. That is, in the output process,
In the input / output character storage buffer M3 of the CM area information storage frame shown in FIG.
It is passed to the character output process of the first SIC driver 16 (step S306), and the characters are displayed using this SIC driver 16 (step S307).

【0038】また、入力処理では、SICドライバ16
の文字入力処理を呼び出し(ステップS308)、これ
により取得した文字を図8に示すCM領域情報格納枠の
入出力文字格納バッファM3に設定して、スレーブCP
U側デバッガD2へ渡す処理を行う(ステップS30
9)。
In the input processing, the SIC driver 16
The character input process of step S308 is called (step S308), and the character thus acquired is set in the input / output character storage buffer M3 of the CM area information storage frame shown in FIG.
Processing for passing to the U-side debugger D2 is performed (step S30
9).

【0039】次に、スレーブCPU側デバッガD2の動
作を、図1、図4、図5、図6、図7および図8に基づ
いて説明する。図4はスレーブCPU側デバッガの構成
図である。なお、図5〜図7のフローチャートおよび図
8の関連図は先に説明したマスタCPU側デバッガD1
の場合と共通である。
Next, the operation of the slave CPU side debugger D2 will be described with reference to FIGS. 1, 4, 5, 6, 7, and 8. FIG. 4 is a block diagram of the slave CPU side debugger. The flowcharts of FIGS. 5 to 7 and the related diagram of FIG. 8 are the master CPU side debugger D1 described above.
It is common with the case of.

【0040】スレーブCPU側デバッガD2のマスタC
PU側デバッガD1との相違は、外部コンソールアテン
ション割込ハンドラ13(図3参照)が仮想外部コンソ
ールアテンション割込ハンドラ23’となり、SICド
ライバ16(図3参照)が仮想SICドライバ26’と
なっている点である。
Master C of the slave CPU side debugger D2
The difference from the PU side debugger D1 is that the external console attention interrupt handler 13 (see FIG. 3) becomes a virtual external console attention interrupt handler 23 'and the SIC driver 16 (see FIG. 3) becomes a virtual SIC driver 26'. That is the point.

【0041】先ず、各種ハンドラからの指示によりデバ
ッガが起動した場合には、図5に示すステップS101
において、デバッガが起動した時点でのスレーブCPU
のレジスタ情報をスタックに保存する処理を行う。すな
わち、デバッガキーが押下された場合や、被デバッグプ
ログラム21内に組み込まれているデバッガ起動関数が
呼び出された場合、またブレークポイントに達した場
合、さらには他のデバッガからのNMI(Non Ma
rkable Interaptの略でマスク不可能な
割込のこと)が送られてきた場合に、スレーブCPUの
レジスタ情報をスタックに保存する。
First, when the debugger is activated by an instruction from various handlers, step S101 shown in FIG.
The slave CPU at the time the debugger started
The register information of is saved in the stack. That is, when the debugger key is pressed, when the debugger start function incorporated in the program to be debugged 21 is called, or when a breakpoint is reached, the NMI (Non Ma) from another debugger is also reached.
When a non-maskable interrupt (abbreviation of rkable Interrupt) is sent, the register information of the slave CPU is saved in the stack.

【0042】次いで、外部コンソールGの使用権が有る
場合にはステップS102でYesとなり、CPU間通
信ルーチン27の送信部27aからマスタCPU側デバ
ッガD1を起動する旨の指示を送信する(ステップS1
03)。一方、外部コンソールGの使用権が無い場合に
はステップS102の判断でNoとなり、NMI発生受
信待ちとなる(ステップS105)。
Next, if the user has the right to use the external console G, the result of step S102 becomes Yes, and an instruction to activate the master CPU side debugger D1 is transmitted from the transmission section 27a of the inter-CPU communication routine 27 (step S1).
03). On the other hand, if the user does not have the right to use the external console G, the determination in step S102 is No, and the NMI occurrence reception waits (step S105).

【0043】ここで、デバッガ本体であるコマンド処理
ルーチン22の説明を行う。コマンド処理ルーチン22
は、コマンド解析22aと、CPU制御22b、入出力
制御22c、操作支援22dから成る各種デバッグ処理
とから構成されている。
Here, the command processing routine 22 which is the main body of the debugger will be described. Command processing routine 22
Is composed of a command analysis 22a and various debug processes including a CPU control 22b, an input / output control 22c, and an operation support 22d.

【0044】コマンド解析22aは、図5に示すステッ
プS104でコマンド入力待ちをしており、コマンドが
入力された場合にコマンドの解析を行う(ステップS1
06)。その後、各種デバッグ処理で解析したコマンド
に対応した処理を行う(S108)。
The command analysis 22a waits for a command input in step S104 shown in FIG. 5, and analyzes the command when the command is input (step S1).
06). After that, processing corresponding to the command analyzed in various debug processing is performed (S108).

【0045】各種デバッグ処理におけるCPU制御22
bは、プログラムの制御、レジスタ/メモリのリード/
ライト、ブレークポイントの設定、データのトリガ/ト
レース情報の取得を制御する。また、入出力制御22c
は、I/Oポートに対するデータの入出力操作である。
さらに、操作支援22dは、簡易計算、逆アセンブル機
能、コンソールアクセス権制御を含んでいる。
CPU control 22 in various debug processes
b is program control, register / memory read /
Controls writing, setting breakpoints, and getting data trigger / trace information. Also, the input / output control 22c
Is an input / output operation of data with respect to the I / O port.
Further, the operation support 22d includes simple calculation, disassembly function, and console access right control.

【0046】各種デバッガ処理は終了コマンドが入力さ
れるまで行われる(ステップS107〜S108)。終
了コマンドが入力された後は、ステップS109へ進
み、外部コンソールGの使用権の有無を判断する。使用
権が無い場合にはステップS111へ進み、スタック情
報をレジスタへ戻す処理を行う。一方、使用権が有る場
合にはステップS110へ進み、CPU間通信ルーチン
27の送信部27aからマスタCPU側デバッガD1を
終了する旨の指示を送信する。
Various debugger processes are performed until an end command is input (steps S107 to S108). After the end command is input, the process proceeds to step S109, and it is determined whether the external console G has the right to use. If the user does not have the usage right, the process proceeds to step S111 and the stack information is returned to the register. On the other hand, if the user has the right to use, the process proceeds to step S110, and an instruction to terminate the master CPU-side debugger D1 is transmitted from the transmission unit 27a of the inter-CPU communication routine 27.

【0047】このような一連の処理によって、スレーブ
CPU側デバッガD2とマスタCPU側デバッガD1と
の間で処理の連係をとることが可能となる。
By such a series of processing, it becomes possible to coordinate the processing between the slave CPU side debugger D2 and the master CPU side debugger D1.

【0048】ここで、CPU間通信処理ルーチン27の
説明を行う。図4に示すように、CPU間通信処理ルー
チン27の送信部27aは、送信処理ドライバを備えた
送信部27aと、CPU間通信割込ハンドラを備えた受
信部27bとから構成されている。
Here, the inter-CPU communication processing routine 27 will be described. As shown in FIG. 4, the transmission unit 27a of the inter-CPU communication processing routine 27 includes a transmission unit 27a including a transmission processing driver and a reception unit 27b including an inter-CPU communication interrupt handler.

【0049】図5に示すステップS103、S110の
CPU間通信送信処理では、送信部27aからマスタC
PU側へ処理依頼を行う。また、マスタCPU側デバッ
ガD1から送られるNMIは受信部27bに受け取る。
In the inter-CPU communication transmission processing of steps S103 and S110 shown in FIG. 5, the master C is transmitted from the transmission unit 27a.
Request processing to the PU side. The NMI sent from the master CPU side debugger D1 is received by the receiving unit 27b.

【0050】送信部27aは、各種デバッガが送信要求
を出した場合に、図8に示すCM基板MのCM領域情報
格納枠におけるメッセージ枠M1〜M3に必要な情報を
書き込み(図6に示すステップS201)、マスタCP
U側デバッガに対し、セレクティブNMIを発行する
(ステップS202)。また、文字の入力処理があった
場合にはCM領域の取得文字枠を読み取る処理を行う
(ステップS203〜S205)。
When various debuggers issue a transmission request, the transmission section 27a writes necessary information in the message frames M1 to M3 in the CM area information storage frame of the CM board M shown in FIG. 8 (step shown in FIG. 6). S201), master CP
A selective NMI is issued to the U-side debugger (step S202). If the character input process is performed, the process of reading the acquired character frame of the CM area is performed (steps S203 to S205).

【0051】また、受信部27bは、図7に示すように
他のCPUであるマスタCPU側デバッガD1からNM
Iを受け取ると、その時のスレーブCPUのレジスタ情
報をスタックに保存し(ステップS301)、図8に示
すCM領域情報格納枠のメッセージ枠M1〜M3を読み
出し(ステップS302)、依頼された処理を判別して
実行する。
Further, as shown in FIG. 7, the receiving section 27b includes the master CPU side debuggers D1 to NM which are other CPUs.
When I is received, the register information of the slave CPU at that time is stored in the stack (step S301), the message frames M1 to M3 of the CM area information storage frame shown in FIG. 8 are read (step S302), and the requested processing is determined. Then run.

【0052】処理の内容としては、スレーブCPU側デ
バッガの起動処理(ステップS303〜S305)、文
字の出力処理(ステップS306〜S307)、文字の
入力処理(ステップS308〜S309)、外部コンソ
ールの使用権取得処理(ステップS310〜S31
1)、スレーブCPU側デバッガの終了処理(ステップ
S312)がある。なお、各処理は先に説明したマスタ
CPU側デバッガD1での処理と同様である。
The contents of the processing are as follows: start-up processing of the slave CPU side debugger (steps S303 to S305), character output processing (steps S306 to S307), character input processing (steps S308 to S309), usage right of the external console. Acquisition process (steps S310 to S31)
1) and the slave CPU side debugger end processing (step S312). Each process is the same as the process in the master CPU side debugger D1 described above.

【0053】このようなマスタCPU側デバッガD1と
スレーブCPU側デバッガD2との関連により、マルチ
CPU搭載装置において、一方のCPUで動作中のTP
が、あるハード(LSI)にアクセスしたことによる影
響で、他のCPUで動作中のTPがエラーを起こした場
合であっても、そのエラーを起こした時点で、他のCP
Uで動作しているTPのデバッガが入り、停止すること
になる。
Due to the relation between the master CPU side debugger D1 and the slave CPU side debugger D2, the TP operating in one CPU in the multi-CPU mounted device
However, even if a TP running on another CPU causes an error due to the effect of accessing a certain hardware (LSI), another CP is activated when the error occurs.
The TP debugger running in U enters and stops.

【0054】これにより、起動したデバッガを使用し
て、他のCPUで動作しているTPの情報がタイムリー
に取り出せるようになる。更に、競合動作中であって
も、デバッガが自動的に他のCPUで動作しているTP
にブレークをかけるので、その時点での原因調査が可能
となる。
As a result, the information of the TP operating in another CPU can be retrieved in a timely manner by using the activated debugger. In addition, the TP that the debugger is automatically operating on another CPU even during competitive operation
Since it breaks, it is possible to investigate the cause at that point.

【0055】次に、本発明の第2実施形態の説明を行
う。第2実施形態では、第1実施実施形態で説明した構
成に加え、図6に示すようにCM基板MのCM領域情報
格納枠にコマンドログ格納バッファB1を加えた構成と
なっている。
Next, a second embodiment of the present invention will be described. In the second embodiment, in addition to the configuration described in the first embodiment, a command log storage buffer B1 is added to the CM area information storage frame of the CM substrate M as shown in FIG.

【0056】マスタCPU側デバッガD1およびスレー
ブCPU側デバッガD2の動作へ上記説明した第1実施
形態の場合と同様であるが、このようにコマンドログ格
納バッファB1をCM基板Mに設けることで、コマンド
のログを各CPU基板S1、S2で共用できるようにな
る。すなわち、コマンドのログの共用により、マスタC
PU側デバッガD1とスレーブCPU側デバッガD2と
で外部コンソールG(図2参照)の切替えを行っても、
デバッグ処理の操作支援であるHISコマンド(コマン
ドの実行履歴をとるコマンド)で同じコマンドをアクセ
スできるようになる。
The operation of the master CPU side debugger D1 and the slave CPU side debugger D2 is the same as in the case of the first embodiment described above, but by providing the command log storage buffer B1 on the CM board M in this way, The log can be shared by the CPU boards S1 and S2. That is, by sharing the command log, the master C
Even if the external console G (see FIG. 2) is switched between the PU side debugger D1 and the slave CPU side debugger D2,
The same command can be accessed by a HIS command (a command that takes a command execution history) that is an operation support for the debug processing.

【0057】つまり、デバッグ時に、マスタCPU側デ
バッガD1とスレーブCPU側デバッガD2とで外部コ
ンソールG(図2参照)の切替えを行う場合、切替え前
と後とで同じコマンドを使用する場合が多いため、第2
実施形態のようにコマンドログ格納バッファB1がCM
基板Mに設けられていることで、いずれのデバッガと外
部コンソールGが接続されている場合であっても、切替
え前と後とで同じコマンドを即座に使用できるようにな
る。
That is, when switching the external console G (see FIG. 2) between the master CPU side debugger D1 and the slave CPU side debugger D2 during debugging, the same command is often used before and after switching. , Second
As in the embodiment, the command log storage buffer B1 is CM
Since the board M is provided, the same command can be immediately used before and after switching regardless of which debugger is connected to the external console G.

【0058】次に、本発明の第3実施形態の説明を行
う。図9は第3実施形態を説明するハードウェア構成
図、図10は送信用マネジャ処理を説明するフローチャ
ートである。第1実施形態および第2実施形態では、い
ずれもマスタCPUが搭載される基板とスレーブCPU
が搭載される基板とが各々1枚である場合を例としてい
るが、第3実施形態ではスレーブCPUが搭載されてい
る基板を増設した構成となっている。
Next, a third embodiment of the present invention will be described. FIG. 9 is a hardware configuration diagram illustrating the third embodiment, and FIG. 10 is a flowchart illustrating a transmission manager process. In both the first and second embodiments, the board on which the master CPU is mounted and the slave CPU are both
Although the example in which each board is mounted is one, the third embodiment has a configuration in which a board on which a slave CPU is mounted is added.

【0059】すなわち、図9に示すように第3実施形態
では、バスBを介してマスタCPUが搭載されるCPU
基板S1と、スレーブCPUが搭載される複数のCPU
基板S2〜Sn、Sn+1と、CM基板Mとが接続され
たハードウェア構成となっている。
That is, as shown in FIG. 9, in the third embodiment, the CPU in which the master CPU is mounted via the bus B
Substrate S1 and a plurality of CPUs equipped with slave CPUs
It has a hardware configuration in which the boards S2 to Sn and Sn + 1 and the CM board M are connected.

【0060】CPU基板S1には図3と同じ構成から成
るマスタCPU側デバッガD1が設けられ、CPU基板
S2〜Sn、Sn+1には図4と同じ構成から成るスレ
ーブCPU側デバッガD2〜Dn、Dn+1が設けられ
ている。
A master CPU side debugger D1 having the same configuration as that of FIG. 3 is provided on the CPU substrate S1, and slave CPU side debuggers D2 to Dn and Dn + 1 having the same configuration as FIG. 4 are provided on the CPU substrates S2 to Sn and Sn + 1. It is provided.

【0061】ただし、デバッガの変更点としては、図1
に示すCPU間通信処理ルーチン17、27をCPU間
通信処理マネジャとして図10に示すフローチャートに
沿った送信処理を行う点である。また、CM基板Mには
送信CPU許可バッファB2を設け、このバッファの各
ビットに対して各CPUのナンバーを対応させておく。
However, the change of the debugger is as shown in FIG.
The inter-CPU communication processing routines 17 and 27 shown in FIG. 10 are used as inter-CPU communication processing managers to perform transmission processing according to the flowchart shown in FIG. Further, the CM board M is provided with a transmission CPU permission buffer B2, and each CPU number is made to correspond to each bit of this buffer.

【0062】この送信CPU許可バッファB2を設ける
ことで、任意のCPU側デバッガが、他のCPU側に起
動と終了の要求を行っている時に、別のCPU側デバッ
ガがNMIを発行してしまうことを防止できる。
By providing this transmission CPU permission buffer B2, another CPU-side debugger will issue an NMI when an arbitrary CPU-side debugger issues a start and end request to another CPU-side. Can be prevented.

【0063】動作としては、先ず一のCPU側デバッガ
が他のCPU側デバッガに処理の依頼を要求する。これ
により、送信CPU許可バッファB2の一のCPUナン
バーに対応したビットをチェックし、送信許可になって
いるか否かを確認する(ステップS401)。
In operation, one CPU side debugger first requests another CPU side debugger for processing. As a result, the bit corresponding to one CPU number in the transmission CPU permission buffer B2 is checked to see if the transmission is permitted (step S401).

【0064】送信許可となっている場合にはステップS
401の判断でYesとなり、ステップS402へ進ん
で他のCPU側デバッガの起動/終了要求か否かの判断
を行う。この処理要求の種類に応じてステップS403
またはS404へ進み、CPU間通信送信ドライバによ
る送信処理を行う。
If the transmission is permitted, step S
If the result of the determination in step 401 is Yes, the process proceeds to step S402 to determine whether or not there is a request to start / end another CPU-side debugger. Step S403 according to the type of this processing request
Alternatively, the process proceeds to S404, and transmission processing by the inter-CPU communication transmission driver is performed.

【0065】処理要求が他のCPU側デバッガの起動/
終了要求である場合にはステップS403へ進み、CP
U間通信送信用ドライバによる要求先のCPUへ処理依
頼を送信を行う(図6に示すステップS201〜S20
6参照)。この時、CM領域情報格納枠へのデバッガ依
頼条件の設定時(ステップS201)に、送信CPU許
可バッファB2の他のCPUデバッガに対応するビット
をマスクし、この間、他のCPU側デバッガからのNM
I発行を不可能とする。
When a processing request is to start another CPU side debugger /
If the request is an end request, the process advances to step S403, and the CP
A processing request is transmitted to the requesting CPU by the U-U communication transmission driver (steps S201 to S20 shown in FIG. 6).
6). At this time, when the debugger request condition is set in the CM area information storage frame (step S201), the bits corresponding to other CPU debuggers in the transmission CPU permission buffer B2 are masked, and during this period, NMs from other CPU side debuggers are masked.
I cannot be issued.

【0066】その後、NMIの送信先を変更し(ステッ
プS405)、全てのCPUに対して送信が終わるまで
ステップS403〜S405の処理を繰り返す。
After that, the transmission destination of the NMI is changed (step S405), and the processes of steps S403 to S405 are repeated until the transmission to all CPUs is completed.

【0067】また、処理要求が他のCPU側デバッガの
起動/終了要求以外の場合には、CPU間通信送信用ド
ライバによる処理要求のみを行う。
When the processing request is other than the activation / termination request of another CPU side debugger, only the processing request by the inter-CPU communication transmission driver is issued.

【0068】なお、各CPU側デバッガでの受信処理
は、第1実施形態と同様に図7に示すフローチャートに
沿って行われる。これにより、複数のスレーブCPU側
デバッガD2〜Dn、Dn+1がバスBに接続されてい
る場合であっても、マスタCPU側デバッガD1との連
係をとることが可能となる。
The receiving process in each CPU-side debugger is performed according to the flowchart shown in FIG. 7 as in the first embodiment. As a result, even when a plurality of slave CPU-side debuggers D2 to Dn and Dn + 1 are connected to the bus B, it is possible to establish coordination with the master CPU-side debugger D1.

【0069】[0069]

【発明の効果】以上説明したように、本発明のマルチC
PUにおけるテストプログラムのデバッガによれば、一
方のCPU側デバッガと他方のCPU側デバッガとの動
作を連係させることができ、一方のCPUで動作中のT
Pによる影響で、他のCPUで動作中のTPがエラーを
起こした場合であっても、他のCPUで動作しているT
Pの情報をタイムリーに取り出せるようになる。
As described above, the multi-C of the present invention is used.
According to the debugger of the test program in the PU, the operation of one CPU-side debugger and the operation of the other CPU-side debugger can be coordinated, and the T-running in one CPU can be performed.
Even if a TP operating on another CPU causes an error due to the influence of P, T operating on another CPU
It becomes possible to retrieve P information in a timely manner.

【0070】これにより、TPがエラーを起こした場合
の原因調査にかかる時間を短縮することが可能となる。
更に、競合動作中であっても、デバッガが自動的に他の
CPUで動作しているTPにブレークをかけるので、そ
の時点での原因調査を行うことが可能となる。
This makes it possible to shorten the time taken to investigate the cause when the TP causes an error.
Further, even during the conflicting operation, the debugger automatically breaks the TP operating in another CPU, so that the cause can be investigated at that time.

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

【図1】第1実施形態を説明する構成図である。FIG. 1 is a configuration diagram illustrating a first embodiment.

【図2】ハードウェア構成図である。FIG. 2 is a hardware configuration diagram.

【図3】マスタCPU側デバッガの構成図である。FIG. 3 is a block diagram of a master CPU side debugger.

【図4】スレーブCPU側デバッガの構成図である。FIG. 4 is a block diagram of a slave CPU side debugger.

【図5】デバッガの全体的なフローチャートである。FIG. 5 is an overall flowchart of a debugger.

【図6】送信処理を説明するフローチャートである。FIG. 6 is a flowchart illustrating a transmission process.

【図7】受信処理を説明するフローチャートである。FIG. 7 is a flowchart illustrating a reception process.

【図8】CPU間通信を説明する関連図である。FIG. 8 is a related diagram illustrating communication between CPUs.

【図9】第3実施形態を説明するハードウェア構成図で
ある。
FIG. 9 is a hardware configuration diagram illustrating a third embodiment.

【図10】送信用マネジャ処理を説明するフローチャー
トである。
FIG. 10 is a flowchart illustrating a transmission manager process.

【図11】従来例を説明する構成図である。FIG. 11 is a configuration diagram illustrating a conventional example.

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

11、21 被デバッグプログラム 12、22 コマンド処理ルーチン 13 外部コンソールアテンション割込ハンドラ 14、24 プログラム割込ハンドラ 15、25 デバッグ例外割込ハンドラ 16 SICドライバ 17、27 CPU間通信処理ルーチン 23’ 仮想外部コンソールアテンション割込ハンドラ 26’ 仮想SICドライバ D1 マスタCPU側デバッガ D2 スレーブCPU側デバッガ G 外部コンソール S1、S2 CPU基板 11, 21 Program to be debugged 12, 22 Command processing routine 13 External console attention interrupt handler 14, 24 Program interrupt handler 15, 25 Debug exception interrupt handler 16 SIC driver 17, 27 CPU communication processing routine 23 'Virtual external console Attention interrupt handler 26 'Virtual SIC driver D1 Master CPU side debugger D2 Slave CPU side debugger G External console S1, S2 CPU board

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 バスを介して接続された複数のCPUの
各々に対応して設けられているテストプログラムのデバ
ッガにおいて、 各CPU側に設けられ、一方のCPU側から他方のCP
U側のデバッガの起動や終了を指示したり、該他方のC
PU側から送られる該一方のCPU側のデバッガの起動
や終了の指示を受ける通信手段を備えていることを特徴
とするマルチCPUにおけるテストプログラムのデバッ
ガ。
1. A debugger of a test program provided corresponding to each of a plurality of CPUs connected via a bus, the debugger being provided on each CPU side, and from one CPU side to the other CP.
Instruct to start or end the debugger on the U side,
A debugger for a test program in a multi-CPU, comprising communication means for receiving instructions for starting and ending a debugger on the one CPU side sent from the PU side.
【請求項2】 前記一方のCPU側に設けられている通
信手段は、前記バスに接続された外部コンソールの使用
許可指示を該一方のCPU側から他方のCPU側のデバ
ッガへ通知したり、該他方のCPU側のデバッガから出
される該外部コンソールの使用許可指示を受けることを
特徴とする請求項1記載のマルチCPUにおけるテスト
プログラムのデバッガ。
2. The communication means provided on the one CPU side notifies the use permission instruction of the external console connected to the bus from the one CPU side to the debugger on the other CPU side, and The debugger for a test program in a multi-CPU according to claim 1, wherein an instruction for permitting use of the external console is issued from a debugger on the other CPU side.
JP8057117A 1996-03-14 1996-03-14 Debugger for test program in multi-cpu Withdrawn JPH09244919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8057117A JPH09244919A (en) 1996-03-14 1996-03-14 Debugger for test program in multi-cpu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8057117A JPH09244919A (en) 1996-03-14 1996-03-14 Debugger for test program in multi-cpu

Publications (1)

Publication Number Publication Date
JPH09244919A true JPH09244919A (en) 1997-09-19

Family

ID=13046610

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8057117A Withdrawn JPH09244919A (en) 1996-03-14 1996-03-14 Debugger for test program in multi-cpu

Country Status (1)

Country Link
JP (1) JPH09244919A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589879B2 (en) 2005-06-22 2013-11-19 Nec Corporation Debugging system, debugging method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589879B2 (en) 2005-06-22 2013-11-19 Nec Corporation Debugging system, debugging method, and program

Similar Documents

Publication Publication Date Title
US6148381A (en) Single-port trace buffer architecture with overflow reduction
US5630049A (en) Method and apparatus for testing software on a computer network
US4392208A (en) Data processing system and diagnostic unit
US6502209B1 (en) Chip with debug capability
US20070242611A1 (en) Computer Hardware Fault Diagnosis
KR20080104388A (en) Inter-port communication in a multi-port memory device
JP2996440B2 (en) Diagnosis method of data processing system
US5678003A (en) Method and system for providing a restartable stop in a multiprocessor system
JPH0451788B2 (en)
JPH02224140A (en) Interruption testing device
JPH11272493A (en) Cpu initialization method for emulation
JPH1139190A (en) Debugging system of parallel processing program and its debugging method
CA2002966C (en) Method of checking test program in duplex processing apparatus
JPS58129568A (en) Computer system with auxiliary service computor
JPH09244919A (en) Debugger for test program in multi-cpu
JP3503504B2 (en) Debug processing system, computer and debug processing method
JP4197798B2 (en) Chip with debugging capability
JP2855633B2 (en) Fault diagnosis device for dual port memory in multiprocessor system
JP3085730B2 (en) Parallel simulation method for complex CPU system
JPH07152598A (en) Incircuit emulator
JPH0581087A (en) Processor monitoring system
JP2954006B2 (en) Emulation device and emulation method
JP3394834B2 (en) Debugging method for devices that make up a multiprocessor system
JP2584903B2 (en) External device control method
JP2902861B2 (en) Buffer device with trace function

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603