JPH04358236A - Data processor - Google Patents

Data processor

Info

Publication number
JPH04358236A
JPH04358236A JP3131520A JP13152091A JPH04358236A JP H04358236 A JPH04358236 A JP H04358236A JP 3131520 A JP3131520 A JP 3131520A JP 13152091 A JP13152091 A JP 13152091A JP H04358236 A JPH04358236 A JP H04358236A
Authority
JP
Japan
Prior art keywords
detailed information
error
software error
software
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3131520A
Other languages
Japanese (ja)
Inventor
Eiji Takemura
武村 英二
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP3131520A priority Critical patent/JPH04358236A/en
Publication of JPH04358236A publication Critical patent/JPH04358236A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To remain the history of continuously generating software error over a wide time zone. CONSTITUTION:The class information of the generated software error is stored (process 12) in an identification information storage part designated by a rough information stack pointer. It is discriminated (process 13) whether the sampling of detailed information is required or not. When it is not required, a detailed information address storage part is cleared (process 15) and it is stored that no detailed information exists in respect to the software error. When it is necessary to sample the detailed information, the detailed information is stored (process 14) in the detailed information storage part and the value of a detailed information stack pointer is stored (process 16) in the detailed information address storage part. The detailed information stack pointer is added and updated (process 17) only for the capacity of one entry, the rough information stack pointer is added and updated (process 18) only for the capacity of one entry, and an individual processing is executed (process 19) corresponding to the class of the error.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、マイクロプログラムに
より制御されるデータ処理装置、特にソフトウェアエラ
ー発生時のエラー情報採取方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device controlled by a microprogram, and more particularly to a method for collecting error information when a software error occurs.

【0002】0002

【従来の技術】従来、この種のデータ処理装置において
は、保守性高めるために、ソフトウェアエラーの発生を
検出する手段を設け、ソフトウェアエラー発生時に、マ
イクロプログラムのソフトウェアエラー処理ルーチンを
動作させ、ソフトウェアエラー処理を行なうとともに、
ソフトウェアエラーの詳細情報を主記憶上に順次スタッ
クして行く形式で格納するシステムが多かった。
2. Description of the Related Art Conventionally, in order to improve maintainability, this type of data processing apparatus has been provided with a means for detecting the occurrence of a software error, and when a software error occurs, a software error processing routine of a microprogram is operated, and the software Along with error handling,
Many systems store detailed information about software errors in a sequential stacked format on main memory.

【0003】しかし、主記憶上に格納できるソフトウェ
アエラー詳細情報の件数には限りがあるため、詳細情報
が特に必要とされる種類のソフトウェアエラーについて
のみ詳細情報を格納するようにしていた。
However, since there is a limit to the number of detailed software error information that can be stored in the main memory, detailed information has been stored only for types of software errors for which detailed information is particularly required.

【0004】0004

【発明が解決しようとする課題】ところが、このような
システムでは、詳細な情報を必要としないソフトウェア
エラーについては情報が残らないため、詳細情報が記憶
されているソフトウェアエラーとソフトウェアエラーと
の間に、詳細情報を記憶しないソフトウェアエラーが発
生したかどうかわからず、データ処理装置の動作が完全
に把握できないという欠点があった。
[Problem to be Solved by the Invention] However, in such a system, information is not retained for software errors that do not require detailed information, so there is a gap between software errors for which detailed information is stored and software errors. However, it is not known whether a software error has occurred in which detailed information is not stored, and the operation of the data processing device cannot be completely understood.

【0005】[0005]

【課題を解決するための手段】本発明によれば、「ソフ
トウェア命令を実行するマイクロプログラム制御のデー
タ処理装置において、ソフトウェアエラーの発生を検出
するソフトウェアエラー検出手段と、ソフトウェアエラ
ーを処理するソフトウェアエラー処理手段とを有し、前
記ソフトウェアエラー処理手段が、ソフトウェアエラー
の種類を示す概略情報を記憶する概略情報記憶手段と、
前記概略情報から詳細情報採取の要否を判別する詳細情
報採取判別手段と、前記詳細情報採取が必要と判別され
た場合ソフトウェアエラーの詳細情報を記憶する詳細情
報記憶手段と、ソフトウェアエラーの種類にしたがった
個別エラー処理を行なう個別エラー処理手段とを有する
ことを特徴とするデータ処理装置」が得られる。
[Means for Solving the Problems] According to the present invention, in a microprogram-controlled data processing device that executes software instructions, there is provided a software error detection means for detecting the occurrence of a software error, and a software error detection means for processing the software error. processing means, and the software error processing means stores summary information indicating the type of software error;
detailed information collection determining means for determining whether detailed information collection is necessary from the summary information; detailed information storage means for storing detailed information of a software error when it is determined that detailed information collection is necessary; Accordingly, there is obtained a data processing device characterized in that it has an individual error processing means for performing individual error processing.

【0006】[0006]

【実施例】次に、本発明の一実施例を示した図面を参照
して、より詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described in more detail with reference to the drawings.

【0007】図1を参照すると、本発明の一実施例にお
いては、ソフトウェアエラーが発生検出処理10で、ソ
フトウェアエラーが発生しているか否かがチェックされ
、ソフトウェアエラーが発生していれば、ソフトウェア
エラー処理11が開始される。ソフトウェアエラー検出
処理11は、以下の処理から構成される。まず、概略情
報格納処理12によって、発生したソフトウェアエラー
の種別情報が、図2に示される概略情報スタックポイン
タ21に指される識別情報記憶部22に格納される。 次に、詳細情報採取処理13によって、発生したエラー
がシステムの機能を実現するために発生させるファンク
ショナルなエラー、すなわち詳細情報の採取が不要なソ
フトウェアエラーか、あるいはソフトウェアの誤りによ
って発生するフェイタルなエラー、すなわち詳細情報の
採取が必要なソフトウェアエラーであるかが判別される
。詳細情報採取判別処理13によって詳細情報の採取が
不要であるとは別された場合には、詳細情報アドレス部
クリアー処理15によって識別情報スタックポインタ2
1に指される詳細情報アドレス記憶部23がクリアーさ
れ、そのソフトウェアエラーに対しては詳細情報が存在
しないことが記憶される。その後、概略情報スタックポ
インタ更新処理18によって、識別情報スタックポイン
タ21が概略情報スタックの1エントラー容量分追加更
新される。個別エラー処理19によって、発生したソフ
トウェアエラーの種別に対して個別の処理が実行され、
ソフトウェアエラー処理11が終了する。
Referring to FIG. 1, in one embodiment of the present invention, in a software error occurrence detection process 10, it is checked whether or not a software error has occurred, and if a software error has occurred, the software Error processing 11 is started. The software error detection process 11 consists of the following processes. First, by the summary information storage process 12, the type information of the software error that has occurred is stored in the identification information storage section 22 pointed to by the summary information stack pointer 21 shown in FIG. Next, detailed information collection processing 13 determines whether the error that has occurred is a functional error that occurs to realize the system's functions, that is, a software error that does not require detailed information collection, or a fatal error that occurs due to a software error. It is determined whether the error is a software error that requires collection of detailed information. If detailed information collection determination processing 13 determines that detailed information collection is not necessary, detailed information address section clear processing 15 clears the identification information stack pointer 2.
The detailed information address storage section 23 pointed to by 1 is cleared, and it is stored that detailed information does not exist for that software error. Thereafter, the identification information stack pointer 21 is additionally updated by one entler capacity of the summary information stack by the summary information stack pointer update process 18. Individual error processing 19 executes individual processing for the type of software error that has occurred,
Software error processing 11 ends.

【0008】詳細情報採取判別処理13によって詳細情
報の採取が必要と判別された場合には、詳細情報格納処
理14によって、詳細情報スタックポインタ31で示さ
れる詳細情報記憶部22にソフトウェアエラーの詳細情
報が格納され、詳細情報アドレス記憶部格納処理16に
よって、概略情報スタックポインタ21で示される詳細
情報アドレス記憶部23に詳細情報スタックポインタ3
1の値が格納される。さらに、詳細情報スタックポイン
タ更新処理17によって、詳細情報スタックポインタ3
1が詳細情報スタックの1エントリ容量分だけ加算更新
され、その後概略情報スタックポインタ更新処理18に
よって概略情報スタックポインタ21が概略情報スタッ
クの1エントリ容量分だけ加算更新される。最後に、個
別エラー処理19によって、発生したソフトウェアエラ
ーの種別に対して個別の処理が行なわれ、ソフトウェア
エラー処理11を終了する。
If detailed information collection determination processing 13 determines that detailed information collection is necessary, detailed information storage processing 14 stores detailed information about the software error in detailed information storage section 22 indicated by detailed information stack pointer 31. is stored, and the detailed information stack pointer 3 is stored in the detailed information address storage unit 23 indicated by the general information stack pointer 21 by the detailed information address storage unit storage process 16.
A value of 1 is stored. Furthermore, the detailed information stack pointer 3 is updated by the detailed information stack pointer update process 17.
1 is added and updated by the capacity of one entry of the detailed information stack, and then the general information stack pointer 21 is added and updated by the capacity of one entry of the general information stack by the general information stack pointer update process 18. Finally, individual error processing 19 performs individual processing for the type of software error that has occurred, and the software error processing 11 ends.

【0009】[0009]

【発明の効果】以上説明したように、本発明によれば、
ソフトウェアエラーの種類を示す概略情報を発生したソ
フトウェアエラーのすべてに対して記憶することにより
、時間的に広範囲でありかつ連続的なソフトウェアエラ
ーの発生履歴を残すことができるため、保守性が向上す
る。
[Effects of the Invention] As explained above, according to the present invention,
By storing summary information indicating the type of software error for all software errors that have occurred, it is possible to keep a continuous history of software error occurrences over a wide range of time, improving maintainability. .

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】本実施例における概略情報スタックの構成を示
す図である。
FIG. 2 is a diagram showing the configuration of a general information stack in this embodiment.

【図3】本実施例における詳細情報スタックの構成を示
す図である。
FIG. 3 is a diagram showing the configuration of a detailed information stack in this embodiment.

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

21    概略情報スタックポインタ22    概
略情報記憶部 23    詳細情報アドレス記憶部 31    詳細情報スタックポインタ32    詳
細情報記憶部
21 General information stack pointer 22 General information storage section 23 Detailed information address storage section 31 Detailed information stack pointer 32 Detailed information storage section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ソフトウェア命令を実行するマイクロ
プログラム制御のデータ処理装置において、ソフトウェ
アエラーの発生を検出するソフトウェアエラー検出手段
と、ソフトウェアエラーを処理するソフトウェアエラー
処理手段とを有し、前記ソフトウェアエラー処理手段が
、ソフトウェアエラーの種類を示す概略情報を記憶する
概略情報記憶手段と、前記概略情報から詳細情報採取の
要否を判別する詳細情報採取判別手段と、前記詳細情報
採取が必要と判別された場合ソフトウェアエラーの詳細
情報を記憶する詳細情報記憶手段と、ソフトウェアエラ
ーの種類にしたがった個別エラー処理を行なう個別エラ
ー処理手段とを有することを特徴とするデータ処理装置
1. A microprogram-controlled data processing device that executes software instructions, comprising: software error detection means for detecting the occurrence of a software error; and software error processing means for processing the software error; The means includes a summary information storage means for storing summary information indicating the type of software error, a detailed information collection determination means for determining whether detailed information collection is necessary from the summary information, and a detailed information collection determination means for determining whether detailed information collection is necessary. 1. A data processing device comprising: detailed information storage means for storing detailed information on software errors; and individual error processing means for performing individual error processing according to the type of software error.
JP3131520A 1991-06-04 1991-06-04 Data processor Pending JPH04358236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3131520A JPH04358236A (en) 1991-06-04 1991-06-04 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3131520A JPH04358236A (en) 1991-06-04 1991-06-04 Data processor

Publications (1)

Publication Number Publication Date
JPH04358236A true JPH04358236A (en) 1992-12-11

Family

ID=15059978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3131520A Pending JPH04358236A (en) 1991-06-04 1991-06-04 Data processor

Country Status (1)

Country Link
JP (1) JPH04358236A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200366A (en) * 1993-12-28 1995-08-04 Nec Corp Collection system for fault information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07200366A (en) * 1993-12-28 1995-08-04 Nec Corp Collection system for fault information

Similar Documents

Publication Publication Date Title
EP0106670A2 (en) CPU with multiple execution units
US5412802A (en) Reasoning method and fault diagnosis method and system implementing the same
WO1994023376B1 (en) Method and apparatus for goal processing memory management
US6829719B2 (en) Method and apparatus for handling nested faults
JPH04358236A (en) Data processor
JP3035108B2 (en) Parallel processing unit
JPH03154934A (en) Method for detecting file transfer error
JP2795332B2 (en) Loop processing error detection device
JPH04257938A (en) Trouble information collecting system for electronic computer system
JPH08286950A (en) Information processor and trace information storage method
JPS60193051A (en) Error analyzer
JPS599936B2 (en) data monitoring device
JPH0293730A (en) Information processor
JPH0810227B2 (en) Automatic analyzer
JP2560545B2 (en) Interface inspection processor
JPH02157943A (en) Data manipulation language instruction retesting system
JPS61290544A (en) Program tracing device
JPH03191437A (en) Data processor
JPS62224833A (en) Suitability inspecting system of data form
JPS6186830A (en) Data processing system
JPH05143422A (en) Updated journal managing system
JPH07299948A (en) Printer and detection of abnormality at time of printing
JPH04336631A (en) Error message output system
JPH0724028B2 (en) Control device with test function
JPS621021A (en) Data input system