JPH05100896A - Debugging support mechanism - Google Patents

Debugging support mechanism

Info

Publication number
JPH05100896A
JPH05100896A JP3259464A JP25946491A JPH05100896A JP H05100896 A JPH05100896 A JP H05100896A JP 3259464 A JP3259464 A JP 3259464A JP 25946491 A JP25946491 A JP 25946491A JP H05100896 A JPH05100896 A JP H05100896A
Authority
JP
Japan
Prior art keywords
procedure
exception
trace
trace exception
instruction
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
JP3259464A
Other languages
Japanese (ja)
Inventor
Rimiko Iwanaga
理美子 岩永
Teruhiko Ohara
輝彦 大原
Koichi Takeda
浩一 武田
Kenji Katou
研児 加藤
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 JP3259464A priority Critical patent/JPH05100896A/en
Publication of JPH05100896A publication Critical patent/JPH05100896A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To efficiently measure execution time for calling procedure being the neck point of a program by controlling the propriety of exception generation by means of the depth of procedure calling. CONSTITUTION:A procedure counter 21 measures the depth of procedure calling and transmits the measured result to a trace exception detecting circuit 24 with a zero detecting equipment 22. A trace exception generation condition designating register 23 designates condition for generating a trace exception to the detecting circuit 24. Then, the detecting circuit 24 decides the propriety of trace exception generation by the depth of calling measured by the counter 21 at the time of procedure calling or coming back instruction execution. That is, the exception is generated from the trace exception detecting circuit 24 so as to measure called times at the time of procedure calling instruction execution in order to detect procedure calling(sub-routine) which is most frequently called in some program, for example.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、中央処理装置(CP
U)で実行するプログラムのエラーの検出とそのエラー
の是正を支援するデバッグ支援機構に関するものであ
る。
BACKGROUND OF THE INVENTION The present invention relates to a central processing unit (CP
U) relates to a debug support mechanism that supports the detection of errors in the program executed and the correction of those errors.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば次のような文献に記載されるものがあった。情報
処理学会第33回全国大会集(昭61年)河合他「SI
MPOSのプログラミング環境−コールカウンター」
P.417−418 前記文献に記載されているように、デバッグ中のプログ
ラムにおいては、一部の手続き呼び出しが頻繁に呼ば
れ、性能向上のネックポイントとなっていることが少な
くない。このため、プログラムの実行中にどの手続きが
どのくらいの頻度で呼び出されるかを計測することがで
きれば、プログラムのチューニング(高速化)に役立て
ることができる。そのため、前記文献の技術では、プロ
グラムの中間表現の中にコールカウンタ用のフラグを設
けることにより、手続きの呼び出し頻度を計測するよう
にしていた。
2. Description of the Related Art Conventionally, as a technique in such a field,
For example, some documents were described in the following documents. IPSJ 33rd National Convention Collection (1986) Kawai et al. "SI
MPOS Programming Environment-Call Counter "
P. 417-418 As described in the above document, in a program being debugged, some procedure calls are frequently called, which is often a bottleneck for performance improvement. Therefore, if it is possible to measure which procedure is called and how often during the execution of the program, it can be useful for tuning (accelerating) the program. Therefore, in the technique of the above document, the call frequency of the procedure is measured by providing a flag for a call counter in the intermediate representation of the program.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
デバッグ支援機構では、手続き呼び出しのコールカウン
タをソフトウエアによって実現しており、呼び出し回数
を計測するためには、専用のユーティリティルーチン
(動作支援用のルーチン)を必要とする。そのため、次
のような問題が生じる。
However, in the conventional debug support mechanism, the call counter for the procedure call is realized by software, and in order to measure the number of calls, a dedicated utility routine (for operation support) is used. Routine). Therefore, the following problems occur.

【0004】(a)コールカウンタ操作のためのコード
が増加するうえ、その手続きが呼び出される度にそれが
実行されるため、オーバーヘッド(必要動作時間)が大
きい。
(A) Since the code for operating the call counter is increased and the procedure is executed every time the procedure is called, the overhead (required operating time) is large.

【0005】(b)機械語など低レベルのデバッグには
適用できないため、その適用範囲が限定される。従っ
て、手続き呼び出しの実行時間を効率よく測定すること
が、困難であった。
(B) Since it cannot be applied to low-level debugging such as machine language, its application range is limited. Therefore, it is difficult to efficiently measure the execution time of the procedure call.

【0006】本発明は、前記従来技術が持っていた課題
として、手続き呼び出しの実行時間を効率よく測定する
ことが困難な点について解決したデバッグ支援機構を提
供するものである。
The present invention provides a debugging support mechanism which solves the problem of the conventional technique that it is difficult to efficiently measure the execution time of a procedure call.

【0007】[0007]

【課題を解決するための手段】本発明は、CPUで実行
するプログラムのエラーの検出とそのエラーの是正を支
援するデバッグ支援機構において、手続き呼び出しの深
さを計測する手続きネストカウンタと、トレース例外を
発生させる条件を指定するトレース例外発生条件指定手
段と、前記手続きネストカウンタ及びトレース例外発生
条件指定手段の出力に基づき、手続き呼び出しあるいは
戻り命令実行時に呼び出しの深さによってトレース例外
発生の可否を決めるトレース例外検出手段とを、備えて
いる。
SUMMARY OF THE INVENTION The present invention provides a procedure nest counter for measuring the depth of a procedure call and a trace exception in a debug support mechanism for supporting the detection of an error in a program executed by a CPU and the correction of the error. Whether to generate a trace exception is determined based on the depth of the call when a procedure call or return instruction is executed, based on the output of the trace exception occurrence condition specifying means for specifying the condition for generating Trace exception detection means.

【0008】[0008]

【作用】本発明によれば、以上のようにデバッグ支援機
構を構成したので、手続き呼び出し命令の実行回数、及
び呼び出された手続きの実行時間を測定するために、手
続きネストカウンタは、手続き呼び出しの深さを計測し
てその計測結果をトレース例外検出手段へ送る。更に、
トレース例外発生条件指定手段は、トレース例外検出手
段に対してトレース例外を発生させる条件を指定する。
すると、トレース例外検出手段は、手続き呼び出しある
いは戻り命令実行時に、呼び出しの深さによってトレー
ス例外発生の可否を決める。これにより、手続き呼び出
しの実行時間の効率のよい測定が行える。従って、前記
課題を解決できるのである。
According to the present invention, since the debug support mechanism is configured as described above, in order to measure the number of executions of the procedure call instruction and the execution time of the called procedure, the procedure nest counter is set The depth is measured and the measurement result is sent to the trace exception detecting means. Furthermore,
The trace exception generation condition specifying means specifies a condition for generating a trace exception to the trace exception detecting means.
Then, the trace exception detection means determines whether or not the trace exception is generated depending on the depth of the call when executing the procedure call or the return instruction. This allows efficient measurement of procedure call execution time. Therefore, the above problem can be solved.

【0009】[0009]

【実施例】図1は、本発明の実施例を示すデバッグ支援
機構における要部構成図である。このデバッグ支援機構
は、CPU1で実行するプログラムのエラーの検出とそ
のエラーの是正を支援するものであり、命令解読回路1
0及び例外検出回路20を備えている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of the essential parts of a debug support mechanism showing an embodiment of the present invention. This debug support mechanism supports detection of an error in a program executed by the CPU 1 and correction of the error, and the instruction decoding circuit 1
0 and an exception detection circuit 20.

【0010】命令解読回路10は、CPU1が実行する
プログラムを解読してその解読結果を例外検出回路20
等へ与える回路であり、実行中の命令を保持する命令保
持レジスタ(CODEREG)11と、該命令保持レジ
スタ11の内容を解読して制御信号INSTBSR,
INSTBSRCC,INSTRETを例外検出回
路20へ与える命令解読器12とを、備えている。
The instruction decoding circuit 10 decodes the program executed by the CPU 1 and outputs the decoding result to the exception detection circuit 20.
Etc., which is a circuit for giving an instruction holding register (CODEREG) 11 for holding an instruction being executed, and the contents of the instruction holding register 11 to decode the control signal INST - BSR,
An instruction decoder 12 for supplying INST - BSRCC, INST - RET to the exception detection circuit 20.

【0011】例外検出回路20は、命令解読器12の出
力等に基づき、手続き呼び出しあるいは戻り命令実行時
に、呼び出しの深さによってトレース例外発生の可否を
決める回路である。この例外検出回路20には、手続き
呼び出しの深さを計測するためのインクリメント/デク
リメントが可能な32ビットの手続きネストカウンタ
(SRNC)21を備え、その出力側には零検出器22
が接続されている。零検出器22は、手続きネストカウ
ンタ21の0検出を行い、それに応じた信号SRNCZ
ERO(=1)を出力する回路である。
The exception detection circuit 20 is a circuit that determines whether or not a trace exception can be generated based on the output of the instruction decoder 12 or the like when executing a procedure call or a return instruction, depending on the depth of the call. The exception detection circuit 20 is provided with a 32-bit procedure nest counter (SRNC) 21 capable of incrementing / decrementing for measuring the depth of a procedure call, and a zero detector 22 is provided on the output side thereof.
Are connected. The zero detector 22 detects 0 of the procedure nest counter 21 and outputs a signal SRNCZ corresponding to the zero detection.
This is a circuit that outputs ERO (= 1).

【0012】また、この例外検出回路20には、トレー
ス例外を発生させる条件を指定するトレース例外発生条
件指定手段、例えば32ビットのトレース例外発生条件
指定レジスタ(TECR)23が設けられている。零検
出器22及びトレース例外発生条件指定レジスタ23の
出力側には、トレース例外検出手段であるトレース例外
検出回路24が接続されている。トレース例外検出回路
24は、零検出器22の出力信号SRNCZERO、ト
レース例外発生条件指定レジスタ23の出力信号、命令
解読器12の出力制御信号INSTBSR,INST
BSRCC,INSTRET、演算の結果定まる条
件コードCCに基づき、トレース例外を発生させるか否
かを決定し、それに応じた信号ERCEXPを出力する
回路である。
The exception detection circuit 20 is also provided with trace exception generation condition designating means for designating a condition for generating a trace exception, for example, a 32-bit trace exception generation condition designating register (TECR) 23. A trace exception detection circuit 24, which is a trace exception detection means, is connected to the output sides of the zero detector 22 and the trace exception generation condition designation register 23. The trace exception detection circuit 24 outputs the output signal SRNCZERO of the zero detector 22, the output signal of the trace exception generation condition designating register 23, and the output control signals INST - BSR, INST of the instruction decoder 12.
- BSRCC, INST - RET, based on the result determined condition code CC of the operational, to determine whether or not to generate the trace exception, a circuit for outputting a signal ERCEXP accordingly.

【0013】次に、図1のデバッグ支援機構の動作を、
図2及び図3を参照しつつ説明する。図2は、CPU1
で定義されている手続き呼び出し、戻り命令の一覧を示
す図である。図3は、トレース例外検出回路24の論理
状態を示す図である。
Next, the operation of the debug support mechanism of FIG.
This will be described with reference to FIGS. 2 and 3. FIG. 2 shows the CPU 1.
It is a figure which shows the list of the procedure call and the return instruction which are defined by. FIG. 3 is a diagram showing a logical state of the trace exception detection circuit 24.

【0014】このデバッグ支援機構は、CPU1で実行
するプログラムのデバッグを支援する動作を行う。ここ
で、CPU1で定義されている手続き呼び出し、戻り命
令は、図2(1)〜(3)に示すような内容になってい
る。
This debug support mechanism operates to support debugging of a program executed by the CPU 1. Here, the procedure call and return instructions defined by the CPU 1 have the contents shown in FIGS. 2 (1) to 2 (3).

【0015】即ち、図2(1)は、無条件に手続き呼び
出しを実行する命令BSR、同図(2)は条件が満たさ
れたときに手続き呼び出しを実行する命令BSRCC、
及び同図(3)は呼び出された手続きから呼び出された
場所へ戻る命令RETである。
That is, FIG. 2A shows an instruction BSR that executes a procedure call unconditionally, and FIG. 2B shows an instruction BSRCC that executes a procedure call when a condition is satisfied.
And (3) of the same figure is an instruction RET for returning from the called procedure to the called place.

【0016】このような命令は、命令解読回路10内の
命令保持レジスタ11に保持され、そのレジスタ11の
内容が命令解読器12で解読され、該命令解読器12が
次の3つの制御信号INSTBSR,INSTBS
RCC,INSTRETをトレース例外検出回路24
へ出力する。 (i)命令が無条件手続き呼び出し命令である場合、制
御信号INSTBSRを1にする。 (ii)命令が条件付き手続き呼び出し命令である場合、
制御信号INSTBSRCCを1にする。 (iii) 命令が手続き戻り命令である場合、制御信号IN
STRETを1にする。
Such an instruction is held in the instruction holding register 11 in the instruction decoding circuit 10, the content of the register 11 is decoded by the instruction decoder 12, and the instruction decoder 12 causes the next three control signals INST. - BSR, INST - BS
Trace exception detection circuit 24 for RCC, INST - RET
Output to. (I) When the instruction is an unconditional procedure call instruction, the control signal INST - BSR is set to 1. (Ii) if the instruction is a conditional procedure call instruction,
The control signal INST - BSRCC is set to 1. (iii) If the instruction is a procedure return instruction, the control signal IN
ST - RET is set to 1.

【0017】例外検出回路20において、手続きネスト
カウンタ21、及びトレース例外発生条件指定レジスタ
23は、特殊レジスタであり、そのうち手続きネストカ
ウンタ21は、命令BSRCCを実行し、条件が真であ
った場合、または命令BSRを実行した場合にインクリ
メント(+1増分)される。命令RETを実行したとき
には、デクリメント(−1減分)される。この手続きネ
ストカウンタ21の0状態は、零検出器22で検出さ
れ、その検出信号SRNCZERO(=1)がトレース
例外検出回路24へ与えられる。
In the exception detection circuit 20, the procedure nest counter 21 and the trace exception occurrence condition designation register 23 are special registers, of which the procedure nest counter 21 executes the instruction BSRCC, and when the condition is true, Alternatively, it is incremented (+1 increment) when the instruction BSR is executed. When the instruction RET is executed, it is decremented (decremented by -1). The 0 state of the procedure nest counter 21 is detected by the zero detector 22, and the detection signal SRNCZERO (= 1) is applied to the trace exception detection circuit 24.

【0018】一方、トレース例外発生条件指定レジスタ
23は、32ビットのレジスタであり、その各ビット
が、次の(a)〜(e)のように割当てられる。なお、
このレジスタ23の5〜31ビットは未使用状態であ
る。
On the other hand, the trace exception occurrence condition designation register 23 is a 32-bit register, and each bit thereof is assigned as shown in (a) to (e) below. In addition,
Bits 5 to 31 of this register 23 are unused.

【0019】(a)ビット0 1;無条件手続き呼び出し命令BSRを実行したときに
例外を発生する。 0;無条件手続き呼び出し命令BSRを実行しても例外
を発生させない。 (b)ビット1 1;条件付き手続き呼び出し命令BSRCCを実行し、
かつ条件が真であったときに例外を発生する。 0;条件付き手続き呼び出し命令BSRCCを実行し、
かつ条件が真であっても例外を発生させない。
(A) Bit 0 1; An exception is generated when the unconditional procedure call instruction BSR is executed. 0: No exception is generated even if the unconditional procedure call instruction BSR is executed. (B) bit 1 1; executes the conditional procedure call instruction BSRCC,
And when the condition is true, raise an exception. 0: The conditional procedure call instruction BSRCC is executed,
And even if the condition is true, it does not raise an exception.

【0020】(c)ビット2 1;条件付き手続き呼び出し命令BSRCCを実行し、
かつ条件が偽であったときに例外を発生する。 0;条件付き手続き呼び出し命令BSRCCを実行し、
かつ条件が偽であっても例外を発生させない。
(C) Bit 21: The conditional procedure call instruction BSRCC is executed,
And an exception is raised when the condition is false. 0: The conditional procedure call instruction BSRCC is executed,
And even if the condition is false, it does not raise an exception.

【0021】(d)ビット3 1;手続き戻り命令RETを実行したときに例外を発生
する。 0;手続き戻り命令RETを実行しても例外を発生させ
ない。 以下に示すビットは、ビット0から3までの付加条件と
なる。
(D) Bit 31: An exception is generated when the procedure return instruction RET is executed. 0: No exception occurs even if the procedure return instruction RET is executed. The bits shown below are additional conditions for bits 0 to 3.

【0022】(e)ビット4 1;手続きネストカウンタの値が0になったとき例外を
発生させる。 0;手続きネストカウンタの値のいかんによらず例外を
発生させない。 例えば、ビット4とビット3がセットされていた場合、
例外の発生条件は“手続き戻り命令を実行し”かつ“手
続きネストカウンタの値が0”となる。
(E) Bit 41: An exception is generated when the value of the procedure nest counter becomes 0. 0: An exception is not generated regardless of the value of the procedure nest counter. For example, if bit 4 and bit 3 are set,
The exception generation conditions are "execute the procedure return instruction" and "the value of the procedure nest counter is 0".

【0023】このレジスタ23の出力がトレース例外検
出回路24へ与えられる。トレース例外検出回路24
は、図3に示すような論理図に従い、TERC<4>が
1の場合と0の場合、例外を発生させるかどうかを決定
し、例外を発生させる場合は出力信号ERCEXPを1
にする。
The output of register 23 is applied to trace exception detection circuit 24. Trace exception detection circuit 24
Determines whether to generate an exception when TERC <4> is 1 or 0 according to the logic diagram as shown in FIG. 3, and when the exception is generated, sets the output signal ERCEXP to 1
To

【0024】以上のように、本実施例の計測機構を活用
することにより、プログラムのネックポイントを効率よ
く検出することが可能となる。例えば、あるプログラム
で最も頻繁に呼ばれている手続き呼び出し(サブルーチ
ン)を検出するためには、手続き呼び出し命令実行時
に、トレース例外検出回路24から例外を発生させ、呼
び出された回数を計測すればよい。
As described above, by utilizing the measuring mechanism of this embodiment, it becomes possible to efficiently detect the neck point of the program. For example, in order to detect the procedure call (subroutine) that is most frequently called in a certain program, an exception is generated from the trace exception detection circuit 24 when the procedure call instruction is executed, and the number of times of calling is measured. ..

【0025】また、手続きの実行時間を計測する場合
は、サブルーチンネストカウンタを使用することによ
り、効率よく行える。ある手続きが呼び出され、トレー
ス例外が発生したとき、サブルーチンネストカウンタに
1をセットする。トレース例外発生条件指定レジスタ2
3のビット3とビット4に1をセットし、他のビットに
は0をセットする。これにより、トレース例外検出回路
24からトレース例外が発生する条件は、“手続き戻り
命令を実行し”かつ“手続きネストカウンタ21の値が
0になったとき”となる。そのため、この手続きを呼び
出したルーチンへ戻る命令を実行するまで、トレース例
外検出回路24からトレース例外が発生しない。従っ
て、何等のオーバーヘッドもなく、手続き呼び出しの実
行時間を効率よく計測することができる。
When the procedure execution time is measured, the subroutine nest counter can be used efficiently. When a procedure is called and a trace exception occurs, the subroutine nest counter is set to 1. Trace exception generation condition specification register 2
Bits 3 and 4 of 3 are set to 1, and other bits are set to 0. As a result, the conditions for the trace exception to be generated from the trace exception detection circuit 24 are "when the procedure return instruction is executed" and "when the value of the procedure nest counter 21 becomes 0". Therefore, the trace exception detection circuit 24 does not generate a trace exception until the instruction returning to the routine that called this procedure is executed. Therefore, the execution time of the procedure call can be efficiently measured without any overhead.

【0026】なお、本発明は上記実施例に限定されず、
種々の変形が可能である。例えば、図1において、手続
きネストカウンタ21及びトレース例外発生条件指定レ
ジスタ23のビット数を任意のビット数にしたり、その
レジスタ23を他の回路のトレース例外発生条件指定手
段で構成してもよい。また、トレース例外検出回路24
は、個別回路で構成する以外に、CPU1のプログラム
制御等といった他のトレース例外検出手段で構成しても
よい。更に、計測機構の高精度化を図るために、他のレ
ジスタやフラグ等といった種々の回路を図1のデバッグ
支援機構に付加することも可能である。
The present invention is not limited to the above embodiment,
Various modifications are possible. For example, in FIG. 1, the number of bits of the procedure nest counter 21 and the trace exception occurrence condition designation register 23 may be set to an arbitrary number of bits, or the register 23 may be configured by the trace exception occurrence condition designation means of another circuit. In addition, the trace exception detection circuit 24
May be composed of other trace exception detecting means such as program control of the CPU 1 instead of being composed of an individual circuit. Further, in order to improve the accuracy of the measurement mechanism, various circuits such as other registers and flags can be added to the debug support mechanism of FIG.

【0027】[0027]

【発明の効果】以上詳細に説明したように、本発明によ
れば、手続きネストカウンタ、トレース例外発生条件指
定手段、及びトレース例外検出手段を設けたので、手続
き呼び出しの深さによって例外発生の可否を制御でき、
それによって手続き呼び出し命令の実行回数、及び呼び
出された手続きの実行時間を測定できる。従って、プロ
グラムのネックポイントである手続き呼び出しの実行時
間を効率よく測定できる。
As described above in detail, according to the present invention, since the procedure nest counter, the trace exception occurrence condition designating means and the trace exception detecting means are provided, whether or not an exception can be generated depending on the depth of the procedure call. Can control
As a result, the number of executions of the procedure call instruction and the execution time of the called procedure can be measured. Therefore, it is possible to efficiently measure the execution time of the procedure call, which is the neck point of the program.

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

【図1】本発明の実施例を示すデバッグ支援機構の要部
構成図である。
FIG. 1 is a configuration diagram of a main part of a debug support mechanism showing an embodiment of the present invention.

【図2】CPUで定義されている手続き呼び出し、戻り
命令の一覧を示す図である。
FIG. 2 is a diagram showing a list of procedure call and return instructions defined by a CPU.

【図3】トレース例外検出回路の論理状態を示す図であ
る。
FIG. 3 is a diagram showing a logical state of a trace exception detection circuit.

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

1 CPU 10 命令解読回路 20 例外検出回路 21 手続きネストカウカタ 23 トレース例外発生条件指定レジスタ 24 トレース例外検出回路 1 CPU 10 Instruction Decoding Circuit 20 Exception Detection Circuit 21 Procedure Nested Cowcata 23 Trace Exception Generation Condition Designation Register 24 Trace Exception Detection Circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 加藤 研児 東京都港区虎ノ門1丁目7番12号 沖電気 工業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Kenji Kato 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置で実行するプログラムのエ
ラーの検出とそのエラーの是正を支援するデバッグ支援
機構において、 手続き呼び出しの深さを計測する手続きネストカウンタ
と、トレース例外を発生させる条件を指定するトレース
例外発生条件指定手段と、前記手続きネストカウンタ及
びトレース例外発生条件指定手段の出力に基づき、手続
き呼び出しあるいは戻り命令実行時に呼び出しの深さに
よってトレース例外発生の可否を決めるトレース例外検
出手段とを、備えたことを特徴とするデバッグ支援機
構。
1. A debug support mechanism for supporting detection of an error in a program executed by a central processing unit and correction of the error, by specifying a procedure nest counter for measuring the depth of a procedure call and a condition for generating a trace exception. Trace exception occurrence condition designating means and trace exception detection means for deciding whether or not to generate a trace exception according to the depth of the call when executing a procedure call or a return instruction based on the outputs of the procedure nest counter and the trace exception occurrence condition designating means. , A debugging support mechanism characterized by being provided.
JP3259464A 1991-10-07 1991-10-07 Debugging support mechanism Withdrawn JPH05100896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3259464A JPH05100896A (en) 1991-10-07 1991-10-07 Debugging support mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3259464A JPH05100896A (en) 1991-10-07 1991-10-07 Debugging support mechanism

Publications (1)

Publication Number Publication Date
JPH05100896A true JPH05100896A (en) 1993-04-23

Family

ID=17334438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3259464A Withdrawn JPH05100896A (en) 1991-10-07 1991-10-07 Debugging support mechanism

Country Status (1)

Country Link
JP (1) JPH05100896A (en)

Similar Documents

Publication Publication Date Title
US6681280B1 (en) Interrupt control apparatus and method separately holding respective operation information of a processor preceding a normal or a break interrupt
US5717851A (en) Breakpoint detection circuit in a data processor and method therefor
US7376820B2 (en) Information processing unit, and exception processing method for specific application-purpose operation instruction
KR100267410B1 (en) Information processing device and its interrupt signal generation method
US6654877B1 (en) System and method for selectively executing computer code
US7620802B2 (en) Instruction execution device, debugging method, debugging device, and debugging program
US20090013313A1 (en) Debug device, debug method, and program
JPH05100896A (en) Debugging support mechanism
US20050050524A1 (en) Generating software test information
JPH05100902A (en) Debug support mechanism
JP2525492B2 (en) Programmable controller
US9600284B2 (en) Computer program instruction analysis
JP2646957B2 (en) Microprocessor with built-in cache and its trace system
JP2616542B2 (en) Pseudo failure generation system
JPH0283749A (en) Microprocessor internal interrupt control method
JPH02191046A (en) Tracing system for program
JP3068578B2 (en) In-circuit emulator and saturation calculation processing method
JPS63104151A (en) Microprocessor containing tracing function
JPH0512005A (en) Information processor
JPH02126341A (en) Central processing unit
JPH03262039A (en) Exception handling circuit
JPH04306741A (en) Undefined variable detection device
JPH0546434A (en) Program debugging system
JPH10320231A (en) Debugging device
JPH11242613A (en) Microprocessor

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: 19990107