JPS62166441A - Conversational type interruption information display system - Google Patents

Conversational type interruption information display system

Info

Publication number
JPS62166441A
JPS62166441A JP61008676A JP867686A JPS62166441A JP S62166441 A JPS62166441 A JP S62166441A JP 61008676 A JP61008676 A JP 61008676A JP 867686 A JP867686 A JP 867686A JP S62166441 A JPS62166441 A JP S62166441A
Authority
JP
Japan
Prior art keywords
interrupt
information
memory
instruction
analysis means
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
JP61008676A
Other languages
Japanese (ja)
Inventor
Bunji Yagi
八木 文治
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP61008676A priority Critical patent/JPS62166441A/en
Publication of JPS62166441A publication Critical patent/JPS62166441A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten the time up to the start of an analysis by introducing a conversational type memory analyzing means in an analyzing mechanism for interruption trouble. CONSTITUTION:When an interruption is initiated, an OS sets the interruption information in a saving area 10 for the interruption information and starts the interruption trouble analyzing mechanism 9. The an instruction analyzing means 1 is called and an interruption information input means 9 is called to fetch instruction information which causes the interruption from the saving area 10 and analyze it into elements. Then, operand information is taken out and the instruction information and operand information are edited into mnemonic format and displayed on a display device 12. Then, a register analyzing means 2 is read to take the contents of all registers and display them. Then the conversational type memory analyzing means 5 is read to decide whether or not there is a memory analytic process and when the presence of the process is specified, a conversation information input means 7 is called to display the contents of a specified memory.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は会話型割込み情報表示方式に関し、特にオペレ
ーティングシステムの割込み障害の解析機構における会
話型割込み情報表示、方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an interactive interrupt information display method, and more particularly to an interactive interrupt information display method in an interrupt failure analysis mechanism of an operating system.

〔従来の技術〕[Conventional technology]

従来、この種の割込み障害の解析機構における割込み情
報の解析は1、システムの標準ユーティリティを利用し
てメモリダンプをリスト出力し、このリストを経験者が
解析することによって行われていた。
Conventionally, the analysis of interrupt information in this type of interrupt failure analysis mechanism has been carried out by (1) outputting a list of memory dumps using a standard utility of the system, and having an experienced person analyze this list.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の割込み情報の解析方式は、必要な情報が
ほんの一部であるにもかかわらず常に多量のリスト出力
を行うので、解析を開始するまでに時間がかかるという
欠点がある。
The conventional interrupt information analysis method described above always outputs a large amount of list even though only a small portion of the necessary information is needed, so it has the disadvantage that it takes time to start analysis.

また、割込みの原因となった命令等の情報が一般に16
進形式で表示されるため、機械語に詳しい者でないと解
析を行うことができないという欠点がある。
Additionally, information such as the instruction that caused the interrupt is generally 16
Since it is displayed in hexadecimal format, it has the disadvantage that only those who are familiar with machine language can analyze it.

本発明の目的は、上述の点に鑑み、リスト出力を行うこ
となしに割込み障害解析機構との会話によって必要な割
込み情報を入手可能にするとともに、機械語の知識がな
い者でも割込み障害の解析が可能になるようにした会話
型割込み情報表示方式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to enable necessary interrupt information to be obtained through conversation with an interrupt failure analysis mechanism without outputting a list, and to enable even a person without knowledge of machine language to analyze interrupt failures. An object of the present invention is to provide an interactive interrupt information display method that enables the following.

c問題点を解決するための手段〕 本発明の会話型割込み情報表示方式は、割込み障害発生
時にオペレーティングシステムによって記憶装置に退避
された割込みの原因となった命令と割込み時のレジスタ
の内容と割込み時のメモリの状態とを含む割込み情報の
解析方式において、前記割込みの原因となった命令を解
析して編集する命令解析手段と、前記割込み時のレジス
タの内容を解析して編集するレジスタ解析手段と、利用
者との会話によりメモリダンプの開始アドレスと長さと
を指定させる会話制御手段および前記割込み時のメモリ
の状態を解析して編集するメモリ解析手段からなる会話
型メモリ解析手段と、前記命令解析手段と前記レジスタ
解析手段と前記会話型メモリ解析手段との入力情報であ
る退避された前記割込み情報を前記記憶装置から入力す
る割込み情報入力手段と、前記会話制御手段の入力情報
である会話情報を入力装置から入力する会話情報入力手
段と、前記命令解析手段と前記レジスタ解析手段と前記
会話型メモリ解析手段とが編集した結果を表示装置に表
示する表示手段とを有する。
Means for Solving Problem c] The interactive interrupt information display method of the present invention displays the instruction that caused the interrupt saved in the storage device by the operating system when an interrupt failure occurs, the contents of the register at the time of the interrupt, and the interrupt. In the method for analyzing interrupt information including the state of memory at the time of the interrupt, an instruction analysis means for analyzing and editing the instruction that caused the interrupt, and a register analysis means for analyzing and editing the contents of the register at the time of the interrupt. a conversation control means for specifying the start address and length of the memory dump through conversation with a user; and a memory analysis means for analyzing and editing the state of the memory at the time of the interrupt; and the command analysis means; interrupt information input means for inputting the saved interrupt information, which is input information to the register analysis means and the conversational memory analysis means, from the storage device; and conversation information, which is input information to the conversation control means. and a display means for displaying the results edited by the command analysis means, the register analysis means, and the conversational memory analysis means on a display device.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の会話型割込み情報表示方式を実現する
ための割込み障害解析機構の一実施例を示す構成図であ
る。第1図を参照すると、本発明の一実施例は、命令解
析手段1、レジスタ解析手段2、会話制御手段3および
メモリ解析手段4からなる会話型メモリ解析手段5、割
込み情報入力手段6、会話情報入力手段7、表示手段8
、割込み障害解析機構9、割込み情報の退避領域10、
入力装置11および表示装置12から構成されている。
FIG. 1 is a block diagram showing an embodiment of an interrupt failure analysis mechanism for realizing the interactive interrupt information display method of the present invention. Referring to FIG. 1, one embodiment of the present invention includes an interactive memory analysis means 5 consisting of an instruction analysis means 1, a register analysis means 2, a conversation control means 3, and a memory analysis means 4, an interrupt information input means 6, a conversation Information input means 7, display means 8
, interrupt failure analysis mechanism 9, interrupt information save area 10,
It is composed of an input device 11 and a display device 12.

第2図を参照すると、第1図中に示した命令解析手段1
における命令解析処理は、命令情報の取出しステップ2
1と、命令要素への分解ステ゛ツブ22と、オペランド
情報の取出しステップ23と、ニモニック形式への編集
ステップ24と、表示装置12への表示ステップ25と
からなる。
Referring to FIG. 2, the instruction analysis means 1 shown in FIG.
The instruction analysis process in Step 2 of extracting instruction information is
1, a decomposition step 22 into instruction elements, an operand information extraction step 23, an editing step 24 into mnemonic format, and a display step 25 on the display device 12.

第3図を参照すると、第1図中に示したレジスタ解析手
段2におけるレジスタ解析処理は、全レジスタの内容の
取出しステップ31と、16進形式への編集ステップ3
2と、表示装置12への表示ステップ33とからなる。
Referring to FIG. 3, the register analysis process in the register analysis means 2 shown in FIG.
2, and a display step 33 on the display device 12.

第4図を参照すると、第1図中に示し゛た会話型メモリ
解析手段5における会話型メモリ解析処理は、メモリ表
示処理の有無判定ステップ41と、ダンプ開始アドレス
および長さの入力ステップ42と、指定されたメモリの
内容の16進形式への編集ステップ43と、表示装置1
2への表示ステップ44とからなる。
Referring to FIG. 4, the conversational memory analysis process in the conversational memory analysis means 5 shown in FIG. , editing step 43 of the contents of the designated memory into hexadecimal format, and display device 1
2 and a display step 44.

次に、このように構成された本実施例の会話型割込み情
報表示方式の動作について説明する。
Next, the operation of the conversational interrupt information display system of this embodiment configured as described above will be explained.

割込みが発生すると、オペレーティングシステム(以下
、O8と略記する)は、割込み情報(割込みの原因とな
った命令、割込み時のレジスタの内容、割込み時のメモ
リ状態等)を割込み情報の退避領域10に設定して、待
期中の割込み障害解析機構9を起動させる。
When an interrupt occurs, the operating system (hereinafter abbreviated as O8) saves the interrupt information (instruction that caused the interrupt, register contents at the time of the interrupt, memory state at the time of the interrupt, etc.) to the interrupt information save area 10. setting, and the waiting interrupt failure analysis mechanism 9 is activated.

割込み障害解析機構9は、まず命令解析手段1を呼び出
す。命令解析手段1は、割込み情報入力手段6を呼び出
して、割込み情報の退避領域10から割込みの原因とな
った命令の命令情@(1語)を取り出す(ステップ21
)。この命令情報は、命令コード、レジスタ番号および
アドレス式の各要素に分解される(ステップ22)。次
に、命令解析手段1は、割込み情報入力手段6を呼び出
して、割込み情報の退避領域10からアドレス式で定め
られる語数のオペランド情報を取り出す(ステップ23
)。この後、命令情報子オペランド情報をニモニック形
式に編集しくステップ24)、表示手段8を呼び出して
表示装置12に表示する(ステップ25)。
The interrupt failure analysis mechanism 9 first calls the instruction analysis means 1. The instruction analysis means 1 calls the interrupt information input means 6 and retrieves the instruction information @(1 word) of the instruction that caused the interrupt from the interrupt information save area 10 (step 21).
). This instruction information is decomposed into each element of an instruction code, register number, and address formula (step 22). Next, the instruction analysis means 1 calls the interrupt information input means 6 and retrieves operand information of the number of words determined by the address formula from the interrupt information save area 10 (step 23
). Thereafter, the instruction information child operand information is edited into a mnemonic format (step 24), and the display means 8 is called to display it on the display device 12 (step 25).

次に、割込み障害解析機構9は、レジスタ解析手段2を
呼び出す。レジスタ解析手段2は、割込み情報入力手段
6を呼び出して割込み情報の退避領域10から割込みが
発生したときの全レジスタの内容(40語)を取り出す
(ステップ31)。この後、各レジスタの内容を16進
形式に編集しくステップ32)、表示手段8を呼び出し
て表示袋W12に表示する (ステップ33)。
Next, the interrupt failure analysis mechanism 9 calls the register analysis means 2. The register analysis means 2 calls the interrupt information input means 6 and extracts the contents (40 words) of all registers at the time when the interrupt occurs from the interrupt information save area 10 (step 31). Thereafter, the contents of each register are edited into hexadecimal format (step 32), and the display means 8 is called to display them on the display bag W12 (step 33).

続いて、割込み障害解析機構9は、会話制御手段3とメ
モリ解析手段4とからなる会話型メモリ解析手段5を呼
び出す。会話制御手段3は、会話情報入力手段7を呼び
出してメモリ解析処理の有無に関する指定を入力装置1
1から入力し、メモリ解析処理の有無について判定する
(ステップ41)。
Subsequently, the interrupt failure analysis mechanism 9 calls the conversational memory analysis means 5, which consists of the conversation control means 3 and the memory analysis means 4. The conversation control means 3 calls the conversation information input means 7 and inputs a specification regarding the presence or absence of memory analysis processing to the input device 1.
1, and it is determined whether memory analysis processing is to be performed (step 41).

処理“無”が指定されると、会話型メモリ解析処理を終
了する。処理“有”が指定された場合は、さらに会話情
報入力手段7を呼び出して、メモリダンプの開始アドレ
スおよび長さを入力装置11から入力する(ステップ4
2)。次に、メモリ解析手段4が、指定されたメモリの
内容を16進形式に編集しくステップ43)、表示手段
8を呼び出して表示袋2.12に表示する(ステップ4
4)。この後、会話制御手段3からの動作を再度繰り返
す。
When the process "none" is specified, the interactive memory analysis process ends. If the process "Yes" is specified, the conversation information input means 7 is further called and the start address and length of the memory dump are input from the input device 11 (step 4).
2). Next, the memory analysis means 4 edits the specified memory contents into hexadecimal format (Step 43), calls the display means 8, and displays them on the display bag 2.12 (Step 4).
4). After this, the operation from the conversation control means 3 is repeated again.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、割込み障害の解析機構に
会話型メモリ解析手段を導入することにより、必要なメ
モリ情報が障害の発生時点で入手可能となり、解析を開
始するまでの時間が大幅に短縮されるという効果がある
As explained above, by introducing an interactive memory analysis means into the interrupt failure analysis mechanism, the present invention enables necessary memory information to be obtained at the time a failure occurs, and the time required to start analysis is significantly reduced. It has the effect of being shortened.

また、割込みの原因となった命令をニモニック形式で表
示する命令解析手段を導入することにより、機械語の知
識がなくても割込み障害の解析が可能になるという効果
がある。
Furthermore, by introducing an instruction analysis means that displays the instruction that caused an interrupt in mnemonic format, it is possible to analyze an interrupt failure even without knowledge of machine language.

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

第1図は本発明の会話型割込み情報表示方式を実現する
ための割込み障害解析機構の一実施例を示す構成図、 第2図は第1図中に示した命令解析手段における命令解
析処理を示す流れ図、 第3図は第1図中に示したレジスタ解析手段におけるレ
ジスタ解析処理を示す流れ図、第4図は第1図中に示し
た会話型メモリ解析手段における会話型メモリ解析処理
を示す流れ図である。 図において、 1・・・命令解析手段、 2・・・レジスタ解析手段、 3・・・会話制御手段、 4・・・メモリ解析手段、 5・・・会話型メモリ解析手段、 6・・・割込み情報入力手段、 7・・・会話情報入力手段、 8・・・表示手段、 9・・・割込み障害解析機構、 10・・・割込み情報の退避領域、 11・・・入力装置、 12・・・表示装置である。
FIG. 1 is a block diagram showing an embodiment of an interrupt failure analysis mechanism for realizing the interactive interrupt information display method of the present invention, and FIG. 2 shows an instruction analysis process in the instruction analysis means shown in FIG. 3 is a flowchart showing register analysis processing in the register analysis means shown in FIG. 1; FIG. 4 is a flowchart showing conversational memory analysis processing in the conversational memory analysis means shown in FIG. It is. In the figure, 1... Instruction analysis means, 2... Register analysis means, 3... Conversation control means, 4... Memory analysis means, 5... Interactive memory analysis means, 6... Interruption. Information input means, 7... Conversation information input means, 8... Display means, 9... Interrupt failure analysis mechanism, 10... Interrupt information save area, 11... Input device, 12... It is a display device.

Claims (1)

【特許請求の範囲】 割込み障害発生時にオペレーティングシステムによって
記憶装置に退避された割込みの原因となった命令と割込
み時のレジスタの内容と割込み時のメモリの状態とを含
む割込み情報の解析方式において、 前記割込みの原因となった命令を解析して編集する命令
解析手段と、 前記割込み時のレジスタの内容を解析して編集するレジ
スタ解析手段と、 利用者との会話によりメモリダンプの開始アドレスと長
さとを指定させる会話制御手段および前記割込み時のメ
モリの状態を解析して編集するメモリ解析手段からなる
会話型メモリ解析手段と、前記命令解析手段と前記レジ
スタ解析手段と前記会話型メモリ解析手段との入力情報
である退避された前記割込み情報を前記記憶装置から入
力する割込み情報入力手段と、 前記会話制御手段の入力情報である会話情報を入力装置
から入力する会話情報入力手段と、前記命令解析手段と
前記レジスタ解析手段と前記会話型メモリ解析手段とが
編集した結果を表示装置に表示する表示手段と、 を有することを特徴とする会話型割込み情報表示方式。
[Scope of Claims] A method for analyzing interrupt information including an instruction that caused an interrupt saved in a storage device by an operating system when an interrupt failure occurs, the contents of a register at the time of the interrupt, and the state of memory at the time of the interrupt, An instruction analysis means for analyzing and editing the instruction that caused the interrupt, a register analysis means for analyzing and editing the contents of the register at the time of the interrupt, and a memory dump start address and length based on a conversation with the user. an interactive memory analysis means comprising a conversation control means for specifying a memory state and a memory analysis means for analyzing and editing the state of the memory at the time of the interrupt; the instruction analysis means; the register analysis means; and the conversation memory analysis means. interrupt information input means for inputting the saved interrupt information that is input information of the conversation control means from the storage device; conversation information input means that inputs conversation information that is input information of the conversation control means from an input device; An interactive interrupt information display method, comprising: means and display means for displaying the results edited by the register analysis means and the interactive memory analysis means on a display device.
JP61008676A 1986-01-17 1986-01-17 Conversational type interruption information display system Pending JPS62166441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61008676A JPS62166441A (en) 1986-01-17 1986-01-17 Conversational type interruption information display system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61008676A JPS62166441A (en) 1986-01-17 1986-01-17 Conversational type interruption information display system

Publications (1)

Publication Number Publication Date
JPS62166441A true JPS62166441A (en) 1987-07-22

Family

ID=11699529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61008676A Pending JPS62166441A (en) 1986-01-17 1986-01-17 Conversational type interruption information display system

Country Status (1)

Country Link
JP (1) JPS62166441A (en)

Similar Documents

Publication Publication Date Title
JPS62166441A (en) Conversational type interruption information display system
JPS6175435A (en) Association system between syntax checker and text editor
JPH0760363B2 (en) Method for automatically creating user-defined commands
JPS63288357A (en) Data editing system
JPS61210415A (en) Crt key input operating device
JPS6293745A (en) Table information correcting system at the time of table format data is inputted
JP2731572B2 (en) Logic simulation method
JPS63228341A (en) Program syntax checking system
JPS6136651B2 (en)
JPH10187611A (en) Altering process system for job schedule
JPS6274130A (en) Data generating system for program structure
JPS6332389B2 (en)
JPS63180141A (en) Debugging system by conversational debugger
JPH0251737A (en) Display system for symbol defining line of assembler program
JPH03235135A (en) Automatic inspection system for program
JPH04178728A (en) Program structure display and output system
JPH05307475A (en) Process control processing method
JPH03105532A (en) Output control system for debug information
JPH0352019A (en) Data nonediting display system
JPS6285322A (en) Picture displaying system
JPS6266371A (en) Text separation type learning system
JPH05224800A (en) Automatic input system
JPH0764478A (en) Program composing device for programmable controller
JPH03282637A (en) Preparation system for test specifications
JPH0350640A (en) Trace information editing system for execution program