JPH06103120A - Information processor - Google Patents

Information processor

Info

Publication number
JPH06103120A
JPH06103120A JP3316854A JP31685491A JPH06103120A JP H06103120 A JPH06103120 A JP H06103120A JP 3316854 A JP3316854 A JP 3316854A JP 31685491 A JP31685491 A JP 31685491A JP H06103120 A JPH06103120 A JP H06103120A
Authority
JP
Japan
Prior art keywords
dump
task
address
file
management table
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
JP3316854A
Other languages
Japanese (ja)
Inventor
Hiroyuki Matsumoto
裕行 松本
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido 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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP3316854A priority Critical patent/JPH06103120A/en
Publication of JPH06103120A publication Critical patent/JPH06103120A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To easily execute a memory dump for specifying a task at the time of fault of a system. CONSTITUTION:A task management table retrieving means retrieves a task management table 15, detects a task head address 152 of the same task name 151 as a task name 162 described in a dump address designation file 16, adds it to an address of the dump address designation file 16, and calculates a dump start address. In such a way, since a memory dump for specifying a task can be executed, the system maintenance efficiency can be improved.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、情報処理におけるダン
プ採取に利用する。本発明は、メモリダンプを行うアド
レスとレングスとが記述されているダンプアドレス指定
ファイルを読み出し、メモリダンプを行うアドレスから
メモリダンプを行うレングス長の内容をダンプ情報各フ
ァイルに書き込むことができる情報処理装置に関する。
BACKGROUND OF THE INVENTION The present invention is used for collecting dumps in information processing. INDUSTRIAL APPLICABILITY The present invention is an information processing that can read a dump address specification file in which addresses and lengths for which a memory dump is performed are written Regarding the device.

【0002】[0002]

【従来の技術】従来のダンプ採取方式においては、メモ
リダンプを行うアドレスとレングスが指定されるダンプ
アドレス指定ファイルには、単にメモリ上のアドレスと
レングスとが指定されており、ダンプ情報格納ファイル
には指定されたアドレスからレングス長のメモリ内容が
書き込まれていた。このため、特定のタスクのデータ
部、コード部をダンプしたい場合、あらかじめ特定のタ
スクがロードされるメモリ上のアドレスを調査しておか
なければならない。
2. Description of the Related Art In a conventional dump collection method, an address and a length on a memory are simply specified in a dump address specification file in which an address and a length for memory dump are specified. Was writing the length-length memory contents from the specified address. Therefore, in order to dump the data part and code part of a specific task, it is necessary to investigate the address on the memory where the specific task is loaded in advance.

【0003】図4は従来のダンプ採取処理を説明する図
である。まず、ダンプアドレス指定ファイル読み出し手
段32がダンプアドレス指定ファイル31からデータを
読み出し、ダンプ開始アドレス算出手段33内でダンプ
を行うアドレス311およびレングス312を検索し、
ダンプ情報格納ファイル書き込み手段34がダンプ開始
アドレス算出手段33で検索されたアドレス311から
レングス312長分のメモリ内容351をダンプ情報格
納ファイル35に書き込んでいた。
FIG. 4 is a diagram for explaining a conventional dump collection process. First, the dump address designation file reading means 32 reads data from the dump address designation file 31, and searches the dump start address calculation means 33 for the address 311 and the length 312 to be dumped,
The dump information storage file writing means 34 has written the memory contents 351 for the length 312 from the address 311 searched by the dump start address calculation means 33 to the dump information storage file 35.

【0004】[0004]

【発明が解決しようとする課題】前述した従来のダンプ
採取方式では、特定のタスクのデータ部およびコード部
をダンプしたい場合、あらかじめ特定のタスクがロード
されるメモリ上のアドレスを調査しておかなければなら
ず、さらに、タスクがロードされるメモリ上のアドレス
は、ロードされるタスクの個数およびレングスによって
変化するため、個数およびレングスが変化する度に特定
のタスクがロードされるメモリ上のアドレスを調査し直
さなければならないシステム保守上の欠点がある。
In the above-mentioned conventional dump collection method, when it is desired to dump the data part and code part of a specific task, it is necessary to investigate the address on the memory where the specific task is loaded in advance. Furthermore, the address on the memory to which a task is loaded changes depending on the number and length of the loaded tasks, so the address on the memory to which a specific task is loaded is changed each time the number and length change. There are system maintenance drawbacks that must be re-examined.

【0005】本発明はこのような問題を解消するもの
で、ロードされるタスクの個数およびレングスが変化し
ても、あらかじめ特定のタスクがロードされるメモリ上
のアドレスを調査することなく、特定タスクのデータ部
およびコード部のダンプを行うことができる装置を提供
することを目的とする。
The present invention solves such a problem. Even if the number and length of loaded tasks are changed, the specified task is not investigated in advance without checking the address on the memory. It is an object of the present invention to provide a device capable of dumping the data part and the code part of the.

【0006】[0006]

【課題を解決するための手段】本発明は、中央処理装置
に入出力装置およびメモリが接続され、前記メモリに、
ダンプ情報を格納するダンプ情報格納ファイルと、アド
レスおよびレングスが記述されたダンプアドレス指定フ
ァイルとを備え、前記中央処理装置に、前記ダンプアド
レス指定ファイルからアドレスおよびレングスを読み出
すダンプアドレス指定ファイル読み出し手段と、ダンプ
開始アドレスを算出するダンプ開始アドレス算出手段
と、算出されたダンプ開始アドレスを前記ダンプ情報格
納ファイルに書き込むダンプ情報格納ファイル書き込み
手段とを備えた情報処理装置において、前記メモリに、
各タスクのタスク名、タスク先頭アドレス、およびタス
クレングスが記述されたタスク管理テーブルを備え、前
記ダンプアドレス指定ファイルに、指定するタスク名を
記述する領域を設け、前記中央処理装置に、前記タスク
管理テーブルからタスク先頭アドレスを検索するタスク
管理テーブル検索手段を備えたことを特徴とする。
According to the present invention, an input / output device and a memory are connected to a central processing unit, and the memory is connected to the central processing unit.
A dump information storage file for storing dump information; and a dump address specification file in which an address and a length are described, and a dump address specification file reading means for reading an address and a length from the dump address specification file in the central processing unit. An information processing device comprising: a dump start address calculating means for calculating a dump start address; and a dump information storage file writing means for writing the calculated dump start address in the dump information storage file.
A task management table in which a task name, a task start address, and a task length of each task are described is provided, an area for describing a specified task name is provided in the dump address specification file, and the task management table is provided in the central processing unit. It is characterized in that a task management table search means for searching the table for the task start address is provided.

【0007】前記ダンプアドレス指定ファイルは、タス
ク名が指定されているか否かを示すフラグを記述する領
域を含み、前記ダンプ開始アドレス算出手段は、前記フ
ラグがタスク名指定となっているか否かを判定し前記タ
スク管理テーブル検索手段に通知する手段を含み、前記
タスク管理テーブル検索手段は、その判定がタスク名指
定であれば前記タスク管理テーブルから前記ダンプアド
レス指定ファイル内のタスク名と同じタスク名を検索
し、タスク名指定でなければ前記ダンプアドレス指定フ
ァイル内のアドレスをダンプ開始アドレスとする手段を
含むことが望ましい。
The dump address specification file includes an area for describing a flag indicating whether or not a task name is specified, and the dump start address calculation means determines whether or not the flag is a task name specification. The task management table search means includes a means for making a determination and notifying the task management table search means, and if the determination is task name designation, the task management table search means uses the same task name as that in the dump address designation file It is desirable to include a means for searching for the task name and using the address in the dump address specification file as the dump start address if the task name is not specified.

【0008】[0008]

【作用】ダンプアドレス指定ファイルの内容を読み出
し、タスク指定か否かを判定して、タスク名指定となっ
ていればタスク管理テーブルを検索し、ダンプアドレス
指定ファイル内のタスク名と同じタスク名をタスク管理
テーブルから探し出す。次いで、タスク管理テーブル内
のタスク先頭アドレスとダンプアドレス指定ファイル内
のアドレスとを加算し、その結果ダンプ開始アドレスと
する。このダンプ開始アドレスからダンプアドレス指定
ファイル内のレングス長分のメモリ内容をダンプ情報格
納ファイルに書き込む。タスク名指定となっていなけれ
ばダンプアドレス指定ファイル内のアドレスをダンプ開
始アドレスとしてダンプ情報格納ファイルに書き込む。
[Operation] Reads the contents of the dump address specification file, judges whether or not the task is specified, and if the task name is specified, searches the task management table and sets the same task name as the task name in the dump address specification file. Search from the task management table. Then, the task start address in the task management table and the address in the dump address specification file are added, and the result is set as the dump start address. From this dump start address, the memory contents for the length length in the dump address specification file are written to the dump information storage file. If the task name is not specified, the address in the dump address specification file is written to the dump information storage file as the dump start address.

【0009】これにより、タスクを特定したメモリダン
プを行うことができ、あらかじめタスクの存在するアド
レスを調査しておくことをなくしてシステムの保守効率
を向上させることができる。
As a result, it is possible to perform a memory dump in which a task is specified, and it is possible to improve the maintenance efficiency of the system without investigating the address where the task exists in advance.

【0010】[0010]

【実施例】次に、本発明実施例を図面に基づいて説明す
る。図1は本発明実施例の構成を示すブロック図であ
る。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0011】本発明実施例は、中央処理装置1に入出力
装置2およびメモリ3が接続され、メモリ3に、ダンプ
情報を格納するダンプ情報格納ファイル17と、アドレ
スおよびレングスが記述されたダンプアドレス指定ファ
イル16とを備え、中央処理装置1に、ダンプアドレス
指定ファイル16からアドレスおよびレングスを読み出
すダンプアドレス指定ファイル読み出し手段12と、ダ
ンプ開始アドレスを算出するダンプ開始アドレス算出手
段13と、算出されたダンプ開始アドレスをダンプ情報
格納ファイル17に書き込むダンプ情報格納ファイル書
き込み手段14とを備え、さらに、本発明の特徴とし
て、メモリ3に、各タスクのタスク名、タスク先頭アド
レス、およびタスクレングスが記述されたタスク管理テ
ーブル15を備え、ダンプアドレス指定ファイル16
に、指定するタスク名を記述する領域を設け、中央処理
装置1に、タスク管理テーブル15からタスク先頭アド
レスを検索するタスク管理テーブル検索手段11を備え
る。
In the embodiment of the present invention, the input / output unit 2 and the memory 3 are connected to the central processing unit 1, and the dump information storage file 17 for storing the dump information in the memory 3 and the dump address in which the address and the length are described. The central processing unit 1 includes a designated file 16, a dump address designated file reading unit 12 that reads an address and a length from the dump address designated file 16, and a dump start address calculation unit 13 that calculates a dump start address. The dump information storage file writing means 14 for writing the dump start address in the dump information storage file 17 is further provided. Further, as a feature of the present invention, the task name, task start address, and task length of each task are described in the memory 3. Equipped with a task management table 15 Amplifier address specified file 16
In addition, an area for describing a designated task name is provided, and the central processing unit 1 is provided with a task management table search means 11 for searching the task management table 15 for a task start address.

【0012】さらに、ダンプアドレス指定ファイル16
は、タスク名が指定されているか否かを示すフラグを記
述する領域を含み、ダンプ開始アドレス算出手段13
は、前記フラグがタスク名指定となっているか否かを判
定しタスク管理テーブル検索手段11に通知する手段を
含み、タスク管理テーブル検索手段11は、その判定が
タスク名指定であればタスク管理テーブル15からダン
プアドレス指定ファイル16内のタスク名と同じタスク
名を検索し、タスク名指定でなければダンプアドレス指
定ファイル16内のアドレスをダンプ開始アドレスとす
る手段を含む。
Further, the dump address designation file 16
Includes an area for describing a flag indicating whether or not a task name is designated, and the dump start address calculating means 13
Includes means for determining whether or not the flag designates a task name and notifying the task management table search means 11 of the task management table search means 11. If the determination is task name designation, the task management table search means 11 A means for retrieving the same task name as the task name in the dump address specification file 16 from 15 and using the address in the dump address specification file 16 as the dump start address unless the task name is specified.

【0013】次に、このように構成された本発明実施例
の動作について説明する。図2は本発明実施例における
ダンプ採取処理を説明するブロック図、図3は本発明実
施例の処理の流れを示すフローチャートである。
Next, the operation of the embodiment of the present invention thus constructed will be described. FIG. 2 is a block diagram illustrating a dump collection process in the embodiment of the present invention, and FIG. 3 is a flowchart showing a processing flow of the embodiment of the present invention.

【0014】まず、ダンプアドレス指定ファイル読み出
し手段12がダンプアドレス指定ファイル16を読み出
し(S21)、ダンプ開始アドレス算出手段13がダン
プアドレス指定ファイル16内のフラグ161を調べる
(S22)。フラグ161がタスク名指定となっていれ
ば、タスク管理テーブル検索手段11がタスク管理テー
ブル15を検索し、ダンプアドレス指定ファイル16内
のタスク名162と同じタスク名151をタスク管理テ
ーブル15から探し出す(S23)。
First, the dump address designation file reading means 12 reads the dump address designation file 16 (S21), and the dump start address calculation means 13 checks the flag 161 in the dump address designation file 16 (S22). If the flag 161 designates a task name, the task management table search means 11 searches the task management table 15 and searches the task management table 15 for the same task name 151 as the task name 162 in the dump address designation file 16 ( S23).

【0015】次いで、ダンプ開始アドレス算出手段13
が、タスク管理テーブル15内のタスク先頭アドレス1
52とダンプアドレス指定ファイル16内のアドレス1
63とを加算し(S24)、その結果をダンプ開始アド
レスとする。ダンプ情報格納ファイル書き込み手段14
はそのダンプ開始アドレスからダンプアドレス指定ファ
イル16内のレングス164長分のメモリ内容171を
ダンプ情報格納ファイル17に書き込む(S25)。
Next, the dump start address calculating means 13
Is the task start address 1 in the task management table 15.
52 and the address 1 in the dump address specification file 16
63 is added (S24), and the result is used as the dump start address. Dump information storage file writing means 14
Writes the memory content 171 of the length 164 length in the dump address specification file 16 from the dump start address to the dump information storage file 17 (S25).

【0016】また、ダンプアドレス指定ファイル16内
のフラグ161がタスク名指定となっていなければ、ダ
ンプ開始アドレス算出手段13はダンプアドレス指定フ
ァイル16内のアドレス163をダンプ開始アドレスと
する(S26)。
If the flag 161 in the dump address specification file 16 does not specify the task name, the dump start address calculation means 13 sets the address 163 in the dump address specification file 16 as the dump start address (S26).

【0017】このようにして、ダンプアドレス指定ファ
イル16とタスク管理テーブル15との内容からダンプ
を行うダンプ開始アドレスを算出することにより、特定
タスクの内容を容易にダンプすることができる。以上の
説明において例として、ダンプアドレス指定ファイル
に、タスク名の指定を示すフラグを記述したが、必ずし
もフラグが必要なわけではなく、タスク名を記述する
か、記述しないかなどでダンプアドレス指定ファイル1
6内の各エリアを使用しても、タスク指定か、タスク指
定でないかを識別することができ、同様の効果を得るこ
とができる。
In this way, the contents of the specific task can be easily dumped by calculating the dump start address for dumping from the contents of the dump address specification file 16 and the task management table 15. In the above description, as an example, the flag indicating the designation of the task name was described in the dump address specification file, but the flag is not always necessary. Depending on whether the task name is described or not, the dump address specification file 1
Even if each area in 6 is used, it is possible to identify whether the task is designated or not, and the same effect can be obtained.

【0018】[0018]

【発明の効果】以上説明したように本発明によれば、タ
スクを特定したメモリダンプを行うことができるため、
あらかじめタスクの存在するアドレスを調査しておく必
要が無くなり、システムの保守効率を向上させることが
できる効果がある。
As described above, according to the present invention, a task-specific memory dump can be performed.
There is no need to investigate the address where the task exists in advance, which has the effect of improving the system maintenance efficiency.

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

【図1】本発明実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明実施例におけるダンプ採取処理を説明す
る図。
FIG. 2 is a diagram illustrating a dump collection process according to an embodiment of the present invention.

【図3】本発明実施例の処理動作の流れを示すフローチ
ャート。
FIG. 3 is a flowchart showing a flow of processing operations according to the embodiment of the present invention.

【図4】従来例のダンプ採取する処理を説明する図。FIG. 4 is a diagram illustrating a process of collecting a dump according to a conventional example.

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

1 中央処理装置 2 入出力装置 3 メモリ 11 タスク管理テーブル検索手段 12、32 ダンプアドレス指定ファイル読み出し手
段 13、33 ダンプ開始アドレス算出手段 14、34 ダンプ情報格納ファイル書き込み手段 15 タスク管理テーブル 16、31 ダンプアドレス指定ファイル 17、35 ダンプ情報格納ファイル 151、162 タスク名 152 タスク先頭アドレス 153 タスクレングス 161 フラグ 163、311 アドレス 164、312 レングス 171、351 メモリ内容
DESCRIPTION OF SYMBOLS 1 central processing unit 2 input / output unit 3 memory 11 task management table search means 12, 32 dump address specification file reading means 13, 33 dump start address calculation means 14, 34 dump information storage file writing means 15 task management table 16, 31 dump Address specification file 17, 35 Dump information storage file 151, 162 Task name 152 Task start address 153 Task length 161 Flag 163, 311 Address 164, 312 Length 171, 351 Memory contents

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置に入出力装置およびメモリ
が接続され、 前記メモリに、 ダンプ情報を格納するダンプ情報格納ファイルと、 アドレスおよびレングスが記述されたダンプアドレス指
定ファイルとを備え、 前記中央処理装置に、 前記ダンプアドレス指定ファイルからアドレスおよびレ
ングスを読み出すダンプアドレス指定ファイル読み出し
手段と、 ダンプ開始アドレスを算出するダンプ開始アドレス算出
手段と、 算出されたダンプ開始アドレスを前記ダンプ情報格納フ
ァイルに書き込むダンプ情報格納ファイル書き込み手段
とを備えた情報処理装置において、 前記メモリに、各タスクのタスク名、タスク先頭アドレ
ス、およびタスクレングスが記述されたタスク管理テー
ブルを備え、 前記ダンプアドレス指定ファイルに、指定するタスク名
を記述する領域を設け、 前記中央処理装置に、前記タスク管理テーブルからタス
ク先頭アドレスを検索するタスク管理テーブル検索手段
を備えたことを特徴とする情報処理装置。
An input / output device and a memory are connected to a central processing unit, and the memory includes a dump information storage file for storing dump information and a dump address specification file in which an address and a length are described. A dump address specification file reading means for reading an address and a length from the dump address specification file, a dump start address calculation means for calculating a dump start address, and a calculated dump start address in the dump information storage file. In an information processing device having a dump information storage file writing means, the memory is provided with a task management table in which a task name of each task, a task start address, and a task length are described. You A task management table search means for searching for a task start address from the task management table is provided in the central processing unit.
【請求項2】 前記ダンプアドレス指定ファイルは、タ
スク名が指定されているか否かを示すフラグを記述する
領域を含む請求項1記載の情報処理装置。
2. The information processing apparatus according to claim 1, wherein the dump address designation file includes an area in which a flag indicating whether or not a task name is designated is described.
【請求項3】 前記ダンプ開始アドレス算出手段は、前
記フラグがタスク名指定となっているか否かを判定し前
記タスク管理テーブル検索手段に通知する手段を含み、 前記タスク管理テーブル検索手段は、その判定がタスク
名指定であれば前記タスク管理テーブルから前記ダンプ
アドレス指定ファイル内のタスク名と同じタスク名を検
索し、タスク名指定でなければ前記ダンプアドレス指定
ファイル内のアドレスをダンプ開始アドレスとする手段
を含む請求項1記載の情報処理装置。
3. The dump start address calculating means includes means for judging whether or not the flag designates a task name and notifying the task management table searching means, and the task management table searching means If the determination is task name designation, the task management table is searched for the same task name as the task name in the dump address designation file, and if no task name is designated, the address in the dump address designation file is used as the dump start address. The information processing apparatus according to claim 1, further comprising means.
JP3316854A 1991-11-29 1991-11-29 Information processor Pending JPH06103120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3316854A JPH06103120A (en) 1991-11-29 1991-11-29 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3316854A JPH06103120A (en) 1991-11-29 1991-11-29 Information processor

Publications (1)

Publication Number Publication Date
JPH06103120A true JPH06103120A (en) 1994-04-15

Family

ID=18081658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3316854A Pending JPH06103120A (en) 1991-11-29 1991-11-29 Information processor

Country Status (1)

Country Link
JP (1) JPH06103120A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system

Similar Documents

Publication Publication Date Title
JPH06103120A (en) Information processor
JPS5987566A (en) Memory access detecting system
JP3130870B2 (en) Memory dump file reconstruction method
US20020199130A1 (en) Automatic address redirecting memory device and the method of the same
JPS63112883A (en) Magnetic disk file name converting system
JPS62121532A (en) Data retrieving method
JPH04175825A (en) Information processor provided with branch history table
JPH05257761A (en) Damp output control system
JPH07282073A (en) Data retrieving device and its method
JPS6231427A (en) Storing and retrieving device for production control information
JPH03255547A (en) Memory dump output system
JPH0883202A (en) Electronic filing device
JPH0628417A (en) Electronic film device
JPH03230231A (en) Stand-alone dump processing system
JPH08314766A (en) Information processor
JPS60549A (en) Memory testing system
KR920022313A (en) Memory address and data bus test method
JPH04352042A (en) Memory dump collecting system
JPH04353944A (en) Record additional system for index order formation file
JPH08329164A (en) Device for searching spread sheet data
JPH06124307A (en) Data base processor
JPH0355623A (en) Using condition control system for disk unit
JPH05289908A (en) Program tracer
JPH05216596A (en) Virtual disk device
JPH04170672A (en) Article data deleting system