JP2000200202A - Method and system for link processing in debugging of application program and information recording medium - Google Patents
Method and system for link processing in debugging of application program and information recording mediumInfo
- Publication number
- JP2000200202A JP2000200202A JP11002222A JP222299A JP2000200202A JP 2000200202 A JP2000200202 A JP 2000200202A JP 11002222 A JP11002222 A JP 11002222A JP 222299 A JP222299 A JP 222299A JP 2000200202 A JP2000200202 A JP 2000200202A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- object module
- link
- module file
- processing
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 67
- 238000012545 processing Methods 0.000 title claims description 189
- 238000003672 processing method Methods 0.000 claims description 17
- 238000012217 deletion Methods 0.000 claims description 5
- 230000037430 deletion Effects 0.000 claims description 5
- 238000004904 shortening Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 12
- 238000012937 correction Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000013523 data management Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、アプリケーション
プログラムのデバッグにおけるリンク処理方法及びその
システム並びに情報記録媒体に関し、特に、リンク処理
の処理時間を削減するリンク処理方法及びそのシステム
並びに情報記録媒体に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a link processing method for debugging an application program, a system therefor, and an information recording medium, and more particularly to a link processing method and system for reducing the processing time of link processing, and an information recording medium.
【0002】[0002]
【従来の技術】従来、アプリケーションプログラムの開
発において、プログラム規模が大きくなり、そのステッ
プ数が増大化している。このアプリケーションプログラ
ムの作成では、コンパイル(アセンブリ)、リンク、デ
バッグ、コード修正の一連の作業工程を繰り返して行っ
ている。この作業工程は、プログラム規模の増大ととも
に、その作業時間が大きくなっている。このようなアプ
リケーションプログラムのデバッグにおけるリンク処理
として、特開昭63−8935号公報例が周知である。2. Description of the Related Art Conventionally, in the development of application programs, the program scale has been increased and the number of steps has been increased. In creating this application program, a series of work steps of compiling (assembly), linking, debugging, and modifying the code are repeatedly performed. This work process requires a longer work time as the program scale increases. Japanese Patent Application Laid-Open No. 63-8935 is known as a link process for debugging such an application program.
【0003】図8は、この従来のアプリケーションプロ
グラムのデバッグにおけるリンク処理を説明するための
図である。このリンク処理では、複数個のオブジェクト
ファイルにライブラリ中から必要なルーチンを取り込ん
で実行するアプリケーションプログラムを作成するもの
であり、外部記憶装置1に格納しているソースプログラ
ムを分割した複数のオブジェクトモジュールファイル
(適宜、OMFと略称する)をリンカ2が順次読み出
し、かつ、リンカ2における結合部、配置部、シンボル
解決部、コード補正部、ロードモジュールファイル出力
部が一連のリンク処理を実行している。すなわち、OM
Fごとにコンパイラやアセンブラによるオブジェクトデ
ータファイルを生成し、この生成したオブジェクトデー
タファイルを結合したロードモジュールファイルを作成
して、対象装置のメモリに格納している。FIG. 8 is a diagram for explaining link processing in debugging of the conventional application program. In the linking process, an application program is created to load a necessary routine from a library into a plurality of object files and execute the program. A plurality of object module files obtained by dividing the source program stored in the external storage device 1 (Abbreviated to OMF as appropriate) is sequentially read by the linker 2, and a linking unit, an arrangement unit, a symbol solving unit, a code correcting unit, and a load module file output unit in the linker 2 execute a series of link processing. That is, OM
An object data file is generated by a compiler or an assembler for each F, and a load module file combining the generated object data files is created and stored in the memory of the target device.
【0004】このリンク処理は、OMFの格納がインデ
ックス形式であり、複数のOMFのインデックスを一つ
ずつサーチしている。この結果、データのアクセス時間
が多大になる。また、このリンク処理では、毎回外部記
憶装置1からOMFを読み込む必要がある。換言すれ
ば、OMFの格納をインデックス形式からポインタ方式
に張り替えても、一回のリンク処理でリンカが終了して
しまい、メモリに読み込んだOMFの情報が開放されて
しまう。この場合もリンク処理の時間が多大になる。In this link processing, the OMF is stored in an index format, and a plurality of OMF indexes are searched one by one. As a result, the data access time increases. In this link processing, it is necessary to read the OMF from the external storage device 1 every time. In other words, even if the storage of the OMF is changed from the index format to the pointer method, the linker is terminated by one link processing, and the information of the OMF read into the memory is released. Also in this case, the time of the link processing becomes long.
【0005】このようなリンク処理の効率化に関して
は、特開平5−324280号公報の「プログラム開発
装置」(デバッグ作業中に、ターゲットシステムに実行
形式を出力し、全てのデバッグ作業終了後に最終的な実
行形式を記憶装置に出力する)が知られている。また、
特開平7−44370号公報の「デバッグ方法」(デバ
ッグによる修正済のモジュールを修正前の元のメモリの
格納領域に再格納する)、及び、特開平10−1716
80号公報の「デバッグ情報作成方法、デバッグ方法及
びデバッグシステム」(リンク処理を全てのデバッグ情
報ファイルを一つのデバッグ書ファイルに編集せずに、
管理情報ファイルを生成する)が知られている。しかし
ながら、これらの公報における従来例では、リンク処理
の、より効率化に対する改善の余地がある。[0005] To improve the efficiency of such link processing, Japanese Patent Laid-Open Publication No. Hei 5-324280 discloses a "program development apparatus" (an execution format is output to a target system during a debugging operation, and after all debugging operations have been completed, the final form is required). Which outputs a simple execution format to a storage device). Also,
Japanese Patent Application Laid-Open No. 7-44370 discloses a "debugging method" (restore a module corrected by debugging in a storage area of an original memory before correction), and Japanese Patent Application Laid-Open No. 10-1716.
No. 80, “Debug information creation method, debug method and debug system” (link processing without editing all debug information files into one debug document file,
(Generating a management information file) is known. However, in the conventional examples described in these publications, there is room for improvement in link processing for more efficiency.
【0006】[0006]
【発明が解決しようとする課題】このように、上記従来
例は、アプリケーションプログラムのデバッグにおける
リンク処理に要する処理時間が多大になり、そのアプリ
ケーションプログラムの作成効率が向上が低下するとい
う欠点があった。As described above, the conventional example described above has a drawback that the processing time required for link processing in the debugging of an application program increases and the efficiency of creating the application program is reduced. .
【0007】本発明は、このような従来の技術における
課題を解決するものであり、アプリケーションプログラ
ムのデバッグにおけるリンク処理に要する処理時間を削
減できるようになり、アプリケーションプログラムの作
成効率が向上するアプリケーションプログラムのデバッ
グにおけるリンク処理方法及びそのシステム並びに情報
記録媒体の提供を目的とする。SUMMARY OF THE INVENTION The present invention solves such problems in the prior art, and can reduce the processing time required for link processing in debugging an application program, thereby improving the efficiency of creating an application program. The purpose of the present invention is to provide a link processing method and a system for debugging a program, and an information recording medium.
【0008】[0008]
【課題を解決するための手段】上記課題を達成するため
に、本発明のアプリケーションプログラムのデバッグに
おけるリンク処理方法は、外部記憶装置からメモリに読
み込んで格納したオブジェクトモジュールファイル中の
データにポインタ方式を適用して管理している。In order to achieve the above object, a link processing method for debugging an application program according to the present invention uses a pointer method for data in an object module file read from an external storage device into a memory and stored. Apply and manage.
【0009】また、本発明のアプリケーションプログラ
ムのデバッグにおけるリンク処理方法は、前記ポインタ
形式を適用した管理において、1回目のリンク処理でオ
ブジェクトモジュールファイルの内容をメモリに書き込
み、リンカを待機状態に設定して、オブジェクトモジュ
ールファイルをメモリに残し、この1回目に書き込んだ
メモリの内容を2回目以降のリンク処理で使用してい
る。In the link processing method for debugging an application program according to the present invention, the contents of an object module file are written to a memory in a first link processing and the linker is set to a standby state in the management using the pointer format. Thus, the object module file is left in the memory, and the contents of the memory written first time are used in the second and subsequent link processing.
【0010】更に、本発明のアプリケーションプログラ
ムのデバッグにおけるリンク処理方法は、前記1回目の
リンク処理で、メモリにおける記憶容量の占有率が設定
値以上であるかを判断し、この判断で設定値以上の場合
に、最後に読み込んだオブジェクトモジュールファイル
をメモリから削除し、この削除対象のオブジェクトモジ
ュールファイルが、2回目以降のリンク処理かつ外部記
憶装置からのオブジェクトモジュールファイルの読み込
み時に、メモリに存在するかの判断を更に行っている。Further, in the link processing method for debugging an application program according to the present invention, in the first link processing, it is determined whether or not the occupation ratio of the storage capacity in the memory is equal to or more than a set value. In the case of, the object module file read last is deleted from the memory, and the object module file to be deleted exists in the memory at the time of the second and subsequent link processing and when the object module file is read from the external storage device. The decision is further made.
【0011】本発明のアプリケーションプログラムリン
ク処理システムは、一回目のリンク処理において、一連
のリンク処理終了後にリンク処理プロセスを未終了とし
て待機状態に設定する設定処理手段と、設定処理手段で
の設定後の再リンカ起動時に待機状態のリンカに制御を
移行してリンク処理を行うリンク処理手段と、リンク処
理手段において外部記憶装置からメモリに読み込んだオ
ブジェクトモジュールファイル中のデータをポインタ形
式で管理するための変更を行う変更処理手段と、2回目
以降のリンク処理において、変更処理手段で変更された
オブジェクトモジュールファイルのみを外部記憶装置か
ら読み込み、かつ、変更されていないオブジェクトモジ
ュールファイルに対して変更処理手段でポインタ形式に
変更されたメモリ中のオブジェクトモジュールファイル
を読み込む処理を実行する読込処理手段とを備える構成
としてある。The application program link processing system according to the present invention comprises, in the first link processing, a setting processing means for setting a link processing process to an unfinished state and setting the link processing process to a standby state after a series of link processing is completed; Processing means for transferring control to a linker in a standby state when a relinker is activated and performing link processing, and for managing data in an object module file read from an external storage device into a memory by a link processing means in a pointer format. The change processing means for performing the change, and in the second and subsequent link processing, only the object module file changed by the change processing means is read from the external storage device, and the change processing means for the object module file which has not been changed. Memory changed to pointer format It is constituted and a reading processing unit for executing a process of reading the object module file.
【0012】前記変更手段が、ポインタ形式で管理する
変更を行うとともに、オブジェクトモジュールファイル
が作成された日付情報を付加して、読み込んだオブジェ
クトモジュールファイルの前後関係を判断する構成とし
てある。[0012] The change means may be configured to make a change to be managed in a pointer format and to add date information of the creation of the object module file to determine the context of the read object module file.
【0013】また、前記1回目のリンク処理で、メモリ
における記憶容量の占有率が設定値以上かを判断する判
断処理手段と、判断処理手段が設定値を越えたと判断し
た際に、最後に読み込んだオブジェクトモジュールファ
イルをメモリから削除する削除処理手段と、削除処理手
段での削除対象のオブジェクトモジュールファイルが、
2回目以降のリンク処理かつ外部記憶装置からのオブジ
ェクトモジュールファイルの読み込み時にメモリに存在
するかを判断する判断処理手段とを更に備える構成とし
てある。In the first link processing, a judgment processing means for judging whether or not the occupation ratio of the storage capacity in the memory is equal to or more than a set value, and when the judgment processing means judges that the set value is exceeded, the data is read last. Deletion processing means for deleting the object module file from the memory, and the object module file to be deleted by the deletion processing means,
It is configured to further include a determination processing unit that determines whether the object module file exists in the memory at the time of the second and subsequent link processing and when the object module file is read from the external storage device.
【0014】更に、前記設定値として、メモリにおける
記憶容量の占有率が、少なくとも50パーセント以上又
は未満であるかを判断するための値を設定する構成とし
てある。[0014] Further, a value for judging whether the occupancy of the storage capacity in the memory is at least 50% or less is set as the set value.
【0015】また、前記設定処理手段、リンク処理手
段、変更処理手段及び読込処理手段として、少なくと
も、RAM、メモリ、外部記憶装置、リンカ処理部、デ
ータ入出力表示装置及び中央演算処理装置を用いる構成
としてある。また、前記判断処理手段、削除処理手段及
び判断処理手段として、少なくとも、RAM、メモリ、
外部記憶装置、リンカ処理部、データ入出力表示装置及
び中央演算処理装置を用いる構成としてある。A configuration using at least a RAM, a memory, an external storage device, a linker processing unit, a data input / output display device, and a central processing unit as the setting processing unit, the link processing unit, the change processing unit, and the reading processing unit. There is. In addition, at least a RAM, a memory,
The configuration uses an external storage device, a linker processing unit, a data input / output display device, and a central processing unit.
【0016】本発明のアプリケーションプログラムリン
ク処理情報記録媒体は、外部記憶装置からメモリに読み
込んで格納したオブジェクトモジュールファイル中のデ
ータにポインタ方式を適用して管理し、1回目のリンク
処理でオブジェクトモジュールファイルの内容をメモリ
に書き込んで、リンカを待機状態に設定して、オブジェ
クトモジュールファイルをメモリに残し、2回目以降の
リンク処理で、1回目に書き込んだメモリの内容を使用
するための制御を実行する制御プログラムを記録してい
る。The application program link processing information recording medium of the present invention manages the data in the object module file read from the external storage device into the memory and stored by applying the pointer method, and executes the object module file in the first link processing. Is written into the memory, the linker is set to the standby state, the object module file is left in the memory, and control is performed to use the first written memory in the second and subsequent link processing. The control program is recorded.
【0017】前記1回目のリンク処理で、メモリにおけ
る記憶容量の占有率が設定値以上の場合に、最後に読み
込んだオブジェクトモジュールファイルをメモリから削
除し、このオブジェクトモジュールファイルが2回目以
降のリンク処理かつ外部記憶装置からのオブジェクトモ
ジュールファイルの読み込み時に、メモリに存在するか
の判断を行う制御を実行するための制御プログラムを更
に記録している。In the first link processing, when the occupancy of the storage capacity in the memory is equal to or more than the set value, the object module file read last is deleted from the memory, and this object module file is linked to the second and subsequent link processing. In addition, a control program for executing control for determining whether the object module file exists in the memory when the object module file is read from the external storage device is further recorded.
【0018】このような本発明のアプリケーションプロ
グラムのデバッグにおけるリンク処理方法及びシステム
は、外部記憶装置からメモリに読み込んで格納したオブ
ジェクトモジュールファイル中のデータにポインタ方式
を適用して管理するとともに、1回目のリンク処理でオ
ブジェクトモジュールファイルの内容をメモリに書き込
み、リンカを待機状態に設定して、オブジェクトモジュ
ールファイルをメモリに残している。そして、2回目以
降のリンク処理で、1回目に書き込んだメモリの内容を
使用している。Such a link processing method and system for debugging an application program according to the present invention manages data in an object module file read from an external storage device into a memory and stored by applying a pointer method to the data. In the link processing, the contents of the object module file are written into the memory, the linker is set to the standby state, and the object module file is left in the memory. In the second and subsequent link processing, the contents of the memory written first time are used.
【0019】この結果、アプリケーションプログラムの
デバッグにおけるリンク処理に要する処理時間を削減で
きるようになり、そのアプリケーションプログラムの作
成効率が向上する。As a result, the processing time required for link processing in debugging the application program can be reduced, and the efficiency of creating the application program can be improved.
【0020】また、本発明のアプリケーションプログラ
ムのデバッグにおけるリンク処理方法及びシステムは、
1回目のリンク処理で、メモリにおける記憶容量の占有
率が設定値以上の場合に、最後に読み込んだオブジェク
トモジュールファイルをメモリから削除する。そして、
この削除対象のオブジェクトモジュールファイルが、2
回目以降のリンク処理かつ部記憶装置からのオブジェク
トモジュールファイルの読み込み時にメモリに存在する
かの判断を行っている。Further, according to the present invention, there is provided a link processing method and system for debugging an application program.
In the first link processing, when the occupation ratio of the storage capacity in the memory is equal to or more than the set value, the object module file read last is deleted from the memory. And
The object module file to be deleted is 2
At the time of the subsequent link processing and the reading of the object module file from the storage unit, it is determined whether the object module file exists in the memory.
【0021】この結果、アクセス頻度の低いメモリの領
域を一時的にディスクに退避して、再度アクセスされた
時点でメモリに読み出すスワップがなくなり、システム
のスワップが多大にならずに、オペレーティングシステ
ムの処理速度に影響を与えないようになる。換言すれ
ば、リンク処理に要する処理時間の削減が、より効果的
に行われる。As a result, the area of the memory with a low access frequency is temporarily saved to the disk, and there is no swap to be read out to the memory when the memory is accessed again. Will not affect speed. In other words, the processing time required for the link processing is more effectively reduced.
【0022】本発明のアプリケーションプログラムリン
ク処理情報記録媒体は、前記した処理を実行する制御プ
ログラムを格納している。The application program link processing information recording medium of the present invention stores a control program for executing the above-described processing.
【0023】この結果、制御プログラムを汎用ソフトウ
ェアとして提供できるようになり、汎用小型コンピュー
タでのアプリケーションプログラムのデバッグにおける
リンク処理に要する処理時間を削減できるようになり、
そのアプリケーションプログラムの作成効率が向上す
る。As a result, the control program can be provided as general-purpose software, and the processing time required for link processing in debugging an application program on a general-purpose small computer can be reduced.
The efficiency of creating the application program is improved.
【0024】[0024]
【発明の実施の形態】次に、本発明のアプリケーション
プログラムのデバッグにおけるリンク処理方法及びその
システム並びに情報記録媒体の実施の形態を図面を参照
して詳細に説明する。図1は本発明のアプリケーション
プログラムのデバッグにおけるリンク処理方法及びその
システム並びに情報記録媒体の第1実施形態にかかる構
成を示すブロック図である。このアプリケーションプロ
グラムリンク処理システムは、汎用小型コンピュータを
用いて、複数個のオブジェクトファイルにライブラリ中
から必要なルーチンを取り込んでアプリケーションプロ
グラムを作成するためのものであり、この汎用小型コン
ピュータによってコンパイル(アセンブリ)、リンク、
デバッグ、コード修正の一連の作業工程を繰り返して行
っている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a link processing method and a system for debugging an application program and an information recording medium according to the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of a link processing method and system for debugging an application program and an information recording medium according to the present invention. This application program link processing system is for creating an application program by incorporating necessary routines from a library into a plurality of object files using a general-purpose small computer, and compiling (assembly) by the general-purpose small computer. ,Link,
A series of work steps of debugging and code correction are repeated.
【0025】図1において、このアプリケーションプロ
グラムリンク処理システムは、汎用小型コンピュータに
おける外部記憶装置10に格納した複数のオブジェクト
モジュールファイル(OMF)を順次読み出し、リンカ
11がリンク処理を実行している。また、汎用小型コン
ピュータにおけるRAM12及びメモリ13が、このリ
ンカ11でのリンク処理にかかるデータの記憶処理を行
っている。また、入出力表示処理装置14及び中央演算
処理装置15が設けられている。In FIG. 1, the application program link processing system sequentially reads out a plurality of object module files (OMF) stored in an external storage device 10 of a small general-purpose computer, and a linker 11 executes a link process. Further, the RAM 12 and the memory 13 in the general-purpose small computer perform a process of storing data relating to the link process in the linker 11. Further, an input / output display processing device 14 and a central processing unit 15 are provided.
【0026】なお、以下のリンク処理は汎用小型コンピ
ュータを用いて実行される。したがって、以下のリンク
処理をCD−ROMや磁気記録媒体に格納した汎用ソフ
トウェア(情報記録媒体)として提供可能である。The following link processing is executed using a general-purpose small computer. Therefore, the following link processing can be provided as general-purpose software (information recording medium) stored in a CD-ROM or a magnetic recording medium.
【0027】図1において、この例は、再リンクを指示
するオプション指定101、及び、リンカ終了を指示す
るオプション指定102の処理とともに、待機中のリン
ク処理のプロセスに制御を移行させるための処理を行う
入出力処理部(A)110と、外部記憶装置10からO
MFのファイルを取り込んでメモリ13に展開するOM
F入力部(A)111と、OMF中のデータ管理をイン
デックス形式からポインタ形式に変換するためのインデ
ックス張り替え処理部112と、リンク処理本体105
とを備えている。In FIG. 1, in this example, processing for transferring control to a standby link processing process is performed together with processing of an option specification 101 for instructing relinking and an option specification 102 for instructing termination of a linker. From the external storage device 10
OM for importing MF file and expanding it to memory 13
F input unit (A) 111; index reassignment processing unit 112 for converting data management in the OMF from an index format to a pointer format;
And
【0028】リンク処理本体105は、結合部113
と、配置部114と、シンボル解決部115と、コード
補正部116と、ロードモジュールファイル出力部11
7とを有している。このリンク処理本体105では、外
部記憶装置10に格納しているソースプログラムを分割
した複数のOMFごとにコンパイラやアセンブラによる
オブジェクトデータファイルを生成し、この生成したオ
ブジェクトデータファイルを結合したロードモジュール
ファイルを作成して、対象装置のメモリに送出してい
る。The link processing unit 105 includes a linking unit 113
, An arrangement unit 114, a symbol solving unit 115, a code correcting unit 116, and a load module file output unit 11.
7 are provided. The link processing main body 105 generates an object data file by a compiler or an assembler for each of a plurality of OMFs obtained by dividing the source program stored in the external storage device 10 and loads a load module file obtained by combining the generated object data files. It is created and sent to the memory of the target device.
【0029】更に、この例は、リンク処理本体105で
のリンカ終了を指示するオプション指定が指示されたか
を判断し、リンカ終了を指示するオプションが指定され
ていた場合にリンカを終了させ、また、リンカ終了を指
示するオプションが指定されていない場合にリンク処理
のプロセスを待機状態に設定する入出力処理部(B)1
18と、ロードモジュールファイルがメモリ13中のO
MFよりも後に作成されたものであれば、外部記憶装置
10からOMFを読み込む処理を行うOMF入力部
(B)119とを備えている。Further, in this example, it is determined whether or not an option designation instructing termination of the linker in the link processing main body 105 has been designated, and if the option designating termination of the linker has been designated, the linker is terminated. An input / output processing unit (B) 1 for setting a link processing process to a standby state when an option for instructing termination of a linker is not specified.
18 and the load module file is
An OMF input unit (B) 119 that performs a process of reading the OMF from the external storage device 10 if the OMF is created after the MF.
【0030】次に、この第1実施形態の動作について説
明する。図2は第1実施形態の動作の処理手順を示すフ
ローチャートである。図1及び図2において、再リンク
オプション指定101が行われているかを判断する(ス
テップS201) 。ここで再リンクオプション指定10
1が行われていない場合(No)、指定されたOMFを
メモリ13に読み込む(ステップS202) 。この読み
込んだOMF中のデータをインデックス形式で管理して
いるデータをポインタ形式に変換するとともに、読み込
んだオブジェクトモジュールファイルの前後関係を判断
するためのオブジェクトモジュールファイルが作成され
た日付情報を付加する(ステップS203) 。Next, the operation of the first embodiment will be described. FIG. 2 is a flowchart showing a processing procedure of the operation of the first embodiment. In FIG. 1 and FIG. 2, it is determined whether the relink option designation 101 has been performed (step S201). Here relink option specification 10
If 1 has not been performed (No), the designated OMF is read into the memory 13 (step S202). The data managed in the read OMF in the index format is converted into the pointer format, and the date information when the object module file for determining the context of the read object module file is added is added ( Step S203).
【0031】このステップS203について詳細に説明
する。図3は図2中のステップ203の詳細な処理手順
を示すフローチャートである。図2中のOMF中のデー
タをインデックス形式で管理しているデータをポインタ
形式に張り替え、更に日付情報を付加した後(ステップ
S203)に、変換するOMFを読み込む(ステップS
301)。インデックス値(何番目のデータであるかを
示す値)をカウントする変数countを「0」に初期
化する(ステップS302)。次に、ファイルヘッダ情
報からインデックス形式をポインタ形式に変換するデー
タの先頭アドレスを取得し(ステップS303) 、変換
するデータのインデックス値を取得する(ステップS3
04) 。Step S203 will be described in detail. FIG. 3 is a flowchart showing a detailed processing procedure of step 203 in FIG. After the data in the OMF shown in FIG. 2 is managed in the index format, the data is converted into the pointer format, and after adding date information (step S203), the OMF to be converted is read (step S203).
301). A variable count for counting an index value (a value indicating the number of data) is initialized to "0" (step S302). Next, the head address of the data to be converted from the index format to the pointer format is obtained from the file header information (step S303), and the index value of the data to be converted is obtained (step S3).
04).
【0032】更に、ファイルヘッダ情報から変換するデ
ータを示している先頭アドレスを変数addrに代入す
る(ステップS305) 。次に、インデックス値と変数
countとが同一であるかを判断する(ステップS3
06) 。この判断でインデックス値と変数countと
が同じでない場合(No)、次のデータにアドレスを進
めるためデータのサイズ分を変数addrに加算する
(ステップS312) 。続いて、変数countに
「1」を加算して(ステップS313)、ステップ30
6に戻る。このステップS306,S312,S313
を繰り返すサーチによって該当するデータを検出する。Further, the head address indicating the data to be converted from the file header information is assigned to a variable addr (step S305). Next, it is determined whether the index value is equal to the variable count (step S3).
06). If the index value and the variable count are not the same (No), the size of the data is added to the variable addr to advance the address to the next data (step S312). Subsequently, "1" is added to the variable "count" (step S313), and step 30 is executed.
Return to 6. Steps S306, S312, S313
The corresponding data is detected by a search that is repeated.
【0033】次に、このメモリ13に入力したOMF
(インデックス形式)について説明する。図4はインデ
ックス形式をポインタ形式に変換する前のOMFの内容
を説明するための図である。図5はシンボルテーブルを
説明するための図である。図4に示すインデックス形式
では、インデックス値に基づいて、図5に示すシンボル
情報を一つずつサーチして、データを参照しなければな
らないが、ポインタ形式ではアドレスを参照することに
よって、直接そのデータを参照できる。Next, the OMF input to the memory 13 is
(Index format) will be described. FIG. 4 is a diagram for explaining the contents of the OMF before converting the index format into the pointer format. FIG. 5 is a diagram for explaining the symbol table. In the index format shown in FIG. 4, the symbol information shown in FIG. 5 must be searched one by one based on the index value to refer to the data. In the pointer format, the data is directly referred to by referring to the address. Can be referred to.
【0034】図3において、インデックス値と変数co
untとが同一になった場合、インデックス値が格納さ
れていた領域に変数addrの内容を代入する(ステッ
プS307) 。これによって、一つのデータをインデッ
クス形式からポインタ形式へに変換する処理が終了した
ことになる。次に、一つのOMF中の全てのインデック
ス形式がポインタ形式に変換できたかの終了を判断する
(ステップS308)。この判断で終了していない場合
(S308:No)、ステップS302に戻り、また、
ステップS308の判断で終了している場合(Ye
s)、OMFの作成日時情報をOMFに追加する(ステ
ップS309) 。In FIG. 3, the index value and the variable co
If unt is the same, the contents of the variable addr are assigned to the area where the index value is stored (step S307). As a result, the process of converting one data from the index format to the pointer format is completed. Next, it is determined whether all index formats in one OMF have been converted to the pointer format (step S308). If the determination has not been completed (S308: No), the process returns to step S302, and
When it is determined that the processing is completed in step S308 (Ye
s), the OMF creation date and time information is added to the OMF (step S309).
【0035】次に、全てのOMFのインデックス形式が
ポインタ形式に変換できたかの終了を判断する(ステッ
プS310) 。この判断で全てのOMFの変換(ポイン
タ形式)が終了していない場合(No)、ステップS3
01に戻って、以降の処理を繰り返す。また、ステップ
S310の判断で全てのOMFの変換(ポインタ形式)
が終了している場合(Yes)、図2に示すリンク処理
本体105での処理に移行する(ステップS204)。
このリンク処理本体105での処理(ステップS20
4)は、結合部113、配置部114、シンボル解決部
115、コード補正部116、ロードモジュールファイ
ル出力部117によって、外部記憶装置10に格納して
いるソースプログラムを分割した複数のOMFごとにコ
ンパイラやアセンブラによるオブジェクトデータファイ
ルを生成し、この生成したオブジェクトデータファイル
を結合したロードモジュールファイルを作成している。Next, it is determined whether or not the index format of all the OMFs has been converted into the pointer format (step S310). If all OMF conversions (pointer format) have not been completed (No) in this determination, step S3
01 and the subsequent processing is repeated. Also, all OMF conversions (pointer format) are determined in step S310.
Is completed (Yes), the process proceeds to the link processing main body 105 shown in FIG. 2 (step S204).
Processing in the link processing body 105 (step S20)
4) is a compiler for each of a plurality of OMFs obtained by dividing the source program stored in the external storage device 10 by the combining unit 113, the arrangement unit 114, the symbol solving unit 115, the code correcting unit 116, and the load module file output unit 117. And an assembler to generate an object data file, and create a load module file by combining the generated object data files.
【0036】このリンク処理本体105での処理(ステ
ップS204)が終了すると、リンク終了オプション指
定(オプション指定102)が行われたかを判断する
(ステップS205) 。この判断で指定が行われている
場合(Yes)、リンク処理を終了する。また、ステッ
プS205の判断で指定が行われていない場合(N
o)、入出力処理部の確保を行って(ステップS20
6) 、リンク処理を待機状態に設定する(ステップS2
07) 。次に、再リンクオプション指定101が行われ
ている場合、すなわち、2回目以降のリンク処理では、
まず、入出力処理部(A)110の確保を行う(ステッ
プS213) 。装置のアドレスとポート番号情報に基づ
いて、すでに待機状態のリンク処理のプロセスに接続要
求を行う(ステップS214) 。When the processing in the link processing main body 105 (step S204) is completed, it is determined whether or not a link end option designation (option designation 102) has been performed (step S205). If the designation has been made in this determination (Yes), the link processing ends. If no designation has been made in step S205 (N
o), securing an input / output processing unit (step S20)
6) The link processing is set to a standby state (step S2)
07). Next, when the relink option designation 101 is performed, that is, in the second and subsequent link processes,
First, the input / output processing unit (A) 110 is secured (step S213). Based on the device address and the port number information, a connection request is made to the link processing that is already on standby (step S214).
【0037】そして、指定されたファイル名及びオプシ
ョン情報を待機状態のリンク処理のプロセスに渡して、
その制御を移行する(ステップS215) 。この制御が
移行された待機状態のリンク処理のプロセスでは、ファ
イル名(OMF)及びオプション情報を取得する(ステ
ップS208) 。この取得したOMFとメモリ13とに
格納されているOMFの日付情報とを比較する(ステッ
プS209) 。Then, the designated file name and the option information are passed to the standby link processing process, and
The control is shifted (step S215). In the link processing process in the standby state to which this control has been transferred, a file name (OMF) and option information are acquired (step S208). The obtained OMF is compared with the OMF date information stored in the memory 13 (step S209).
【0038】この日付情報の比較によって、メモリ13
中のOMFが新しいかを判断し(ステップS210) 、
この判断でメモリ13中のOMFが古い場合(No)、
外部記憶装置10から再度読み込みを行う(ステップS
211) 。そして、他に指定されたファイルがあるかを
判断する(ステップS212) 。メモリ13中のOMF
が新しい場合(S212:Yes)、ステップS212
に進む。まだ、他のファイルがある場合(S212:N
o)は、ステップS203に戻って以降の処理を繰り返
す。By comparing the date information, the memory 13
It is determined whether the inside OMF is new (step S210),
If the OMF in the memory 13 is old (No),
Reading is performed again from the external storage device 10 (step S
211). Then, it is determined whether there is another specified file (step S212). OMF in memory 13
Is newer (S212: Yes), step S212
Proceed to. If there is still another file (S212: N
In o), the process returns to step S203 and the subsequent processing is repeated.
【0039】図2において、再リンクを指示するオプシ
ョン指定101が行われていない場合、すなわち、2回
目移行のリンク処理では、入出力処理部の確保を行い
(ステップS213) 、装置のアドレスとポート番号情
報に基づいて、すでに動作しているリンク処理のプロセ
スに接続要求を行う(ステップS214) 。次に、起動
時に指定したファイル名とオプション情報を、すでに動
作しているリンク処理のプロセスに、その制御を移行す
る(ステップS215) 。In FIG. 2, when the option designation 101 for instructing relinking is not performed, that is, in the link processing of the second shift, an input / output processing unit is secured (step S213), and the address and port of the device are set. Based on the number information, a connection request is made to a link processing process that is already operating (step S214). Next, the control transfers the file name and option information specified at the time of startup to a link processing process that is already operating (step S215).
【0040】このようにして図4に示すインデックス形
式をポインタ形式に変換する前のOMFをポインタ形式
に変換する。図6はインデックス形式をポインタ形式に
変換した後及び作成日付を付加した後のOMFの内容を
説明するための図である。図4に示すリロケーションデ
ータ1及びリロケーションデータnがインデックス方式
によって、そのシンボルを示しているのに対して、図6
では、ポインタ形式によって、そのシンボルを示してい
る。Thus, the OMF before converting the index format shown in FIG. 4 into the pointer format is converted into the pointer format. FIG. 6 is a diagram for explaining the contents of the OMF after converting the index format into the pointer format and adding the creation date. While the relocation data 1 and the relocation data n shown in FIG. 4 indicate the symbols by the index method, FIG.
In, the symbol is indicated by a pointer format.
【0041】このようにして、最初にリンク処理を実行
したときに、OMFを読み込み、このOMF中のデータ
をインデックス形式からポインタ形式に張り替えて処理
を行う。この結果、処理時間を削減できる。更に、リン
ク処理を終了させずに待機状態とする。これによって、
メモリ13中のOMFを2回目以降のリンク処理で使用
できることになる。この2回目以降のリンク処理では、
指定されたファイル名及びオプション情報を待機状態の
リンク処理に渡すことによって、その処理を行う。ま
た、変更されたOMFのみを外部記憶装置10から読み
込み、変更されていないOMFは、メモリ13中に格納
されているOMFを使用する。この結果、更に処理時間
が削減される。As described above, when the link processing is executed for the first time, the OMF is read, and the data in the OMF is converted from the index format to the pointer format to perform the process. As a result, the processing time can be reduced. Further, the link processing is set to a standby state without ending. by this,
The OMF in the memory 13 can be used in the second and subsequent link processes. In this second and subsequent link processing,
By passing the specified file name and option information to the link processing in the standby state, the processing is performed. Further, only the changed OMF is read from the external storage device 10, and the unmodified OMF uses the OMF stored in the memory 13. As a result, the processing time is further reduced.
【0042】次に、この処理時間の削減を具体的な数字
に基づいて説明する。以下、OMF数を30個でリンク
処理する場合について説明する。従来例のリンク処理に
あって、30本のOMFをリンク処理すると約180秒
が必要である。この中でOMFを読み込むために要する
時間は、30本で計36秒である。1日間、そのデバッ
グ処理を行うと、通常約30〜50回のリンク処理を行
うことになり、その合計時間は、40回×180秒=7
200秒(120分)となり、この時間内でのOMFを
読み込む時間は、40回×36秒=1440秒(24
分)となる。Next, the reduction of the processing time will be described based on specific figures. Hereinafter, a case where the link processing is performed with the number of OMFs being 30 will be described. In the link processing of the conventional example, it takes about 180 seconds to link 30 OMFs. The time required for reading the OMF is 30 seconds for a total of 36 seconds. When the debugging process is performed for one day, the link process is usually performed about 30 to 50 times, and the total time is 40 times × 180 seconds = 7.
200 seconds (120 minutes), and the reading time of the OMF within this time is 40 times × 36 seconds = 1440 seconds (24
Minutes).
【0043】この時間に基づいたリンカ11の実行で
は、以下のようになる。インデックス形式で管理されて
いるデータをポインタ形式に変更することによって、リ
ンク処理時間が従来例よりも10パーセント削減でき
る。また、RAM12から読み出す速さは、ハードディ
スク装置(HDD)の約40〜160倍である。したが
って、このRAM12から読み出す速さは、ほぼ無視で
きる値となる。また、通常、再リンク処理を行う場合に
更新されるOMFは、1〜2本であるため、2回目以降
のリンク処理では、この1〜2本のOMFの読み込み時
間のみを要することになり、他の28,29本の読み込
み時間が無視できる値となる。これを従来例によって、
その合計時間を計算すると次のようになる。The execution of the linker 11 based on this time is as follows. By changing the data managed in the index format to the pointer format, the link processing time can be reduced by 10% compared to the conventional example. The speed of reading from the RAM 12 is about 40 to 160 times that of a hard disk drive (HDD). Therefore, the speed of reading from the RAM 12 is almost negligible. In addition, since the number of OMFs that are updated when the relinking process is performed is normally one or two, only the reading time of the one or two OMFs is required in the second and subsequent link processes. The reading time of the other 28 and 29 lines becomes a value that can be ignored. According to the conventional example,
The total time is calculated as follows.
【0044】40回×(180秒−(36秒+(180
秒×10パーセント)+1秒=5000秒(約84分)
となる。したがって、従来例よりも実施形態でのリンク
処理は、処理時間を約30パーセント削減(24分/8
4分)できることになる。なお、前記した1秒は、外部
記憶装置10からOMFを読み込む時間である。40 times × (180 seconds− (36 seconds + (180
Second x 10 percent) + 1 second = 5000 seconds (approximately 84 minutes)
Becomes Therefore, the link processing in the embodiment compared to the conventional example reduces the processing time by about 30% (24 minutes / 8)
4 minutes). The one second is a time for reading the OMF from the external storage device 10.
【0045】このように、この第1実施形態では、アプ
リケーションプログラムのデバッグにおけるリンク処理
に要する処理時間を削減できるようになり、結果的にア
プリケーションプログラムの作成効率が向上することに
なる。As described above, in the first embodiment, the processing time required for link processing in debugging the application program can be reduced, and as a result, the efficiency of creating the application program is improved.
【0046】次に、第2実施形態について説明する。図
7は第2実施形態の処理手順を示すブロック図である。
図7において、図2に示した第1実施形態の処理と同一
の処理には、同一の参照符号を付し、かつ、その重複し
た説明は省略する。この第2実施形態では、前記した第
1実施形態に対し、システムのメモリ13における記憶
容量に対する占有率を調べ、そのメモリ13の記憶容量
の占有率が50パーセント以上の場合に、メモリ13に
読み込んでいるOMFを削除する処理を追加している。
このメモリ13における記憶容量の占有率を50パーセ
ント未満としているのは、50パーセント以上になると
システムのスワップが多大になり、オペレーティングシ
ステムの処理速度に影響を与える場合を考慮したもので
ある。Next, a second embodiment will be described. FIG. 7 is a block diagram illustrating a processing procedure according to the second embodiment.
In FIG. 7, the same processes as those of the first embodiment shown in FIG. 2 are denoted by the same reference numerals, and the duplicate description will be omitted. In the second embodiment, the occupancy of the storage capacity of the memory 13 of the system is checked with respect to the first embodiment, and when the occupancy of the storage capacity of the memory 13 is 50% or more, the data is read into the memory 13. A process for deleting the OMF that is being added is added.
The reason why the occupation ratio of the storage capacity in the memory 13 is set to less than 50% is to consider a case where the occupancy of the storage capacity becomes large when the occupancy exceeds 50%, which affects the processing speed of the operating system.
【0047】図7において、ステップS201からステ
ップS205までの処理は、図2に示した第1実施形態
の処理と同様である。このステップS205によるリン
ク終了オプション指定(オプション指定102)が行わ
れたかの判断の後のステップS701では、この第2実
施形態のリンカが占有しているメモリ13の記憶容量が
システムでのデータ処理における全体の50パーセント
以上かを判断する。ここで50パーセント以上の場合
(S701:Yes)、ステップS702で最後に読み
込んだOMFをメモリ13から削除してステップS70
1に戻る。また、ステップS701で50パーセント未
満の場合(No)、ステップS206に進む。このステ
ップS206からステップS209までの処理は図2に
示した第1実施形態の処理と同様である。In FIG. 7, the processing from step S201 to step S205 is the same as the processing of the first embodiment shown in FIG. In step S701 after determining whether or not the link end option specification (option specification 102) has been performed in step S205, the storage capacity of the memory 13 occupied by the linker of the second embodiment is determined by the entire data processing in the system. Is determined to be 50% or more. Here, if it is 50% or more (S701: Yes), the OMF read last in step S702 is deleted from the memory 13 and the process proceeds to step S70.
Return to 1. If it is less than 50% in step S701 (No), the process proceeds to step S206. The processing from step S206 to step S209 is the same as the processing of the first embodiment shown in FIG.
【0048】ステップS209における取得したOMF
とメモリ13とに格納されているOMFの日付情報との
比較後のステップS703では、メモリ13中に存在
し、かつ、メモリ13中のOMFが新しいかの判断を行
う。ここでメモリ13中のOMFが古い場合(No)、
図2に示した第1実施形態におけるステップS211,
S212を処理する。すなわち、外部記憶装置10から
再度読み込みを行い、他に指定されたファイルがあるか
を判断する。The OMF obtained in step S209
In step S703 after the comparison between the date and the OMF date information stored in the memory 13, it is determined whether the OMF in the memory 13 is new and the OMF in the memory 13 is new. Here, when the OMF in the memory 13 is old (No),
Step S211 in the first embodiment shown in FIG.
Process S212. That is, reading is performed again from the external storage device 10, and it is determined whether there is another specified file.
【0049】このように、この第2実施形態では、アク
セス頻度の低いメモリ13の領域を一時的にディスクに
退避して、再度アクセスされた時点でメモリ13に読み
出すスワップがなくなる。したがって、システムでのス
ワップが多大にならずに、オペレーティングシステムの
処理速度に影響を与えないようになる。換言すれば、リ
ンク処理に要する処理時間の削減が、より効果的に行わ
れる。As described above, in the second embodiment, the area of the memory 13 with a low access frequency is temporarily saved to the disk, and there is no swap to be read out to the memory 13 when the area is accessed again. Therefore, the amount of swap in the system is not so large that the processing speed of the operating system is not affected. In other words, the processing time required for the link processing is more effectively reduced.
【0050】[0050]
【発明の効果】以上の説明から明らかなように、本発明
のアプリケーションプログラムのデバッグにおけるリン
ク処理方法及びシステムによれば、読み込んだオブジェ
クトモジュールファイル中のデータにポインタ方式を適
用して管理するとともに、1回目のリンク処理でオブジ
ェクトモジュールファイルの内容をメモリに書き込み、
リンカを待機状態に設定して、オブジェクトモジュール
ファイルをメモリに残すとともに、2回目以降のリンク
処理で1回目に書き込んだメモリの内容を使用してい
る。As is apparent from the above description, according to the link processing method and system for debugging an application program according to the present invention, the data in the read object module file is managed by applying the pointer method. In the first link processing, the contents of the object module file are written to the memory,
The linker is set to the standby state, the object module file is left in the memory, and the contents of the memory written first in the second and subsequent link processes are used.
【0051】この結果、アプリケーションプログラムの
デバッグにおけるリンク処理に要する処理時間を削減で
きるようになり、そのアプリケーションプログラムの作
成効率が向上することになる。As a result, the processing time required for link processing in debugging the application program can be reduced, and the efficiency of creating the application program can be improved.
【0052】また、本発明のアプリケーションプログラ
ムのデバッグにおけるリンク処理方法及びシステムによ
れば、1回目のリンク処理で、メモリにおける記憶容量
の占有率が設定値以上の場合に、最後に読み込んだオブ
ジェクトモジュールファイルをメモリから削除し、この
削除対象のオブジェクトモジュールファイルが、2回目
以降のリンク処理かつ部記憶装置からのオブジェクトモ
ジュールファイルの読み込み時にメモリに存在するかの
判断を行っている。According to the link processing method and system for debugging an application program of the present invention, when the occupancy of the storage capacity in the memory is equal to or more than the set value in the first link processing, the object module read last is read. The file is deleted from the memory, and it is determined whether the object module file to be deleted exists in the memory at the time of the second and subsequent link processing and reading of the object module file from the partial storage device.
【0053】したがって、アクセス頻度の低いメモリの
領域を一時的にディスクに退避して、再度アクセスされ
た時点でメモリに読み出すスワップがなくなり、システ
ムのスワップが多大にならずに、オペレーティングシス
テムの処理速度に影響を与えないようになる。この結
果、リンク処理に要する処理時間の削減が、より効果的
に行われるようになる。Therefore, the area of the memory with low access frequency is temporarily saved to the disk, and there is no swap to be read out to the memory when the area is accessed again. Therefore, the swap of the system is not increased and the processing speed of the operating system is reduced. Will not be affected. As a result, the processing time required for the link processing can be reduced more effectively.
【0054】更に、本発明のアプリケーションプログラ
ムリンク処理情報記録媒体では、前記した処理を実行す
る制御プログラムを格納している。Further, in the application program link processing information recording medium of the present invention, a control program for executing the above-mentioned processing is stored.
【0055】この結果、制御プログラムを汎用ソフトウ
ェアとして提供できるようになり、汎用小型コンピュー
タでのアプリケーションプログラムのデバッグにおける
リンク処理に要する処理時間を削減できるようになり、
そのアプリケーションプログラムの作成効率が向上する
ようになる。As a result, the control program can be provided as general-purpose software, and the processing time required for link processing in debugging an application program on a general-purpose small computer can be reduced.
The efficiency of creating the application program is improved.
【図1】本発明のアプリケーションプログラムのデバッ
グにおけるリンク処理方法及びそのシステム並びに情報
記録媒体の第1実施形態にかかる構成を示すブロック図
である。FIG. 1 is a block diagram showing a configuration of a link processing method and system for debugging an application program according to a first embodiment of the present invention;
【図2】第1実施形態の動作の処理手順を示すフローチ
ャートである。FIG. 2 is a flowchart illustrating a processing procedure of an operation according to the first embodiment.
【図3】図2中の処理の詳細な手順を示すフローチャー
トである。FIG. 3 is a flowchart showing a detailed procedure of a process in FIG. 2;
【図4】第1実施形態にあってインデックス形式をポイ
ンタ形式に変換する前のオブジェクトモジュールファイ
ルの内容を説明するための図である。FIG. 4 is a diagram for explaining contents of an object module file before converting an index format into a pointer format in the first embodiment.
【図5】第1実施形態にあってシンボルテーブルを示す
図である。FIG. 5 is a diagram showing a symbol table in the first embodiment.
【図6】第1実施形態にあってインデックス形式をポイ
ンタ形式に変換した後及び作成日付を付加した後のオブ
ジェクトモジュールファイルの内容を説明するための図
である。FIG. 6 is a diagram for explaining the contents of an object module file after converting an index format into a pointer format and adding a creation date in the first embodiment.
【図7】第2実施形態の処理手順を示すブロック図であ
る。FIG. 7 is a block diagram illustrating a processing procedure according to a second embodiment.
【図8】従来のアプリケーションプログラムのデバッグ
におけるリンク処理を説明するための図である。FIG. 8 is a diagram for explaining link processing in debugging of a conventional application program.
10 外部記憶装置 11 リンカ 12 RAM 13 メモリ 14 入出力表示処理装置 15 中央演算処理装置 105 リンク処理部 110/118 入出力処理部(A)/(B) 111/119 OMF入力部(A)/(B) 112 インデックス張り替え処理部 113 結合部 114 配置部 115 シンボル解決部 116 コード補正部 117 ロードモジュールファイル出力部 Reference Signs List 10 external storage device 11 linker 12 RAM 13 memory 14 input / output display processing device 15 central processing unit 105 link processing unit 110/118 input / output processing unit (A) / (B) 111/119 OMF input unit (A) / ( B) 112 Index replacement processing unit 113 Combining unit 114 Arrangement unit 115 Symbol resolution unit 116 Code correction unit 117 Load module file output unit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 社本 英司 神奈川県川崎市中原区小杉町一丁目403番 53 日本電気アイシーマイコンシステム株 式会社内 Fターム(参考) 5B042 GA05 HH08 HH39 HH41 5B076 AB03 AB07 CA08 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Eiji Shamoto 53-4-1 Kosugi-cho, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture F-term (reference) 5B042 GA05 HH08 HH39 HH41 5B076 AB03 AB07 CA08
Claims (11)
におけるリンク処理方法において、 外部記憶装置からメモリに読み込んで格納したオブジェ
クトモジュールファイル中のデータにポインタ方式を適
用して管理することを特徴とするアプリケーションプロ
グラムのデバッグにおけるリンク処理方法。1. A link processing method for debugging an application program, wherein a pointer method is applied to data in an object module file read from an external storage device and stored in a memory and stored, and managed. Link processing method.
て、 1回目のリンク処理でオブジェクトモジュールファイル
の内容をメモリに書き込み、リンカを待機状態に設定し
て、オブジェクトモジュールファイルをメモリに残し、 この1回目に書き込んだメモリの内容を2回目以降のリ
ンク処理で使用することを特徴とする請求項1記載のア
プリケーションプログラムのデバッグにおけるリンク処
理方法。2. In the management using the pointer format, in the first link processing, the contents of the object module file are written into the memory, the linker is set to a standby state, and the object module file is left in the memory. 2. The link processing method for debugging an application program according to claim 1, wherein the contents of the memory written in the application program are used in the second and subsequent link processing.
ける記憶容量の占有率が設定値以上かを判断し、 この判断で設定値以上の場合に、最後に読み込んだオブ
ジェクトモジュールファイルをメモリから削除し、 この削除対象のオブジェクトモジュールファイルが、2
回目以降のリンク処理かつ外部記憶装置からのオブジェ
クトモジュールファイルの読み込み時に、メモリに存在
するかの判断を更に行うことを特徴とする請求項2記載
のアプリケーションプログラムのデバッグにおけるリン
ク処理方法。3. In the first link processing, it is determined whether or not the occupation ratio of the storage capacity in the memory is equal to or more than a set value, and if the occupancy is equal to or more than the set value, the object module file read last is deleted from the memory. The object module file to be deleted is 2
3. The link processing method for debugging an application program according to claim 2, further comprising the step of determining whether or not the object module file exists in the memory at the time of the subsequent link processing and reading of the object module file from the external storage device.
におけるリンク処理を実行するアプリケーションプログ
ラムリンク処理システムにおいて、 一回目のリンク処理において、一連のリンク処理終了後
にリンク処理プロセスを未終了として待機状態に設定す
る設定処理手段と、 前記設定処理手段での設定後の再リンカ起動時に待機状
態のリンカに制御を移行してリンク処理を行うリンク処
理手段と、 前記リンク処理手段において外部記憶装置からメモリに
読み込んだオブジェクトモジュールファイル中のデータ
をポインタ形式で管理するための変更を行う変更処理手
段と、 2回目以降のリンク処理において、前記変更処理手段で
変更されたオブジェクトモジュールファイルのみを外部
記憶装置から読み込み、かつ、変更されていないオブジ
ェクトモジュールファイルに対して前記変更処理手段で
ポインタ形式に変更されたメモリ中のオブジェクトモジ
ュールファイルを読み込む処理を実行する読込処理手段
と、 を備えることを特徴とするアプリケーションプログラム
リンク処理システム。4. An application program link processing system for executing a link process in debugging an application program, wherein in a first link process, after a series of link processes, a link processing process is set to an unfinished state and set to a standby state. Link processing means for transferring control to a linker in a standby state at the time of starting the relinker after setting by the setting processing means to perform link processing; and an object module file read into a memory from an external storage device by the link processing means. Change processing means for performing a change for managing the data in the pointer format, and in the second and subsequent link processing, only the object module file changed by the change processing means is read from the external storage device and changed. Not of Application program link processing system characterized by comprising: a reading process unit for executing a process of reading an object module file in the memory that is changed to the pointer format by the change processing means with respect to E transfected module file, a.
る変更を行うとともに、オブジェクトモジュールファイ
ルが作成された日付情報を付加して、読み込んだオブジ
ェクトモジュールファイルの前後関係を判断することを
特徴とする請求項4記載のアプリケーションプログラム
リンク処理システム。5. The method according to claim 1, wherein the change unit makes a change to be managed in a pointer format, and adds date information on the creation of the object module file to determine the context of the read object module file. The application program link processing system according to claim 4.
ける記憶容量の占有率が設定値以上であるかを判断する
判断処理手段と、 前記判断処理手段が設定値を越えたと判断した際に、最
後に読み込んだオブジェクトモジュールファイルをメモ
リから削除する削除処理手段と、 前記削除処理手段での削除対象のオブジェクトモジュー
ルファイルが、2回目以降のリンク処理かつ外部記憶装
置からのオブジェクトモジュールファイルの読み込み時
にメモリに存在するかを判断する判断処理手段と、 を更に備えることを特徴とする請求項4記載のアプリケ
ーションプログラムリンク処理システム。6. A judgment processing means for judging whether or not the occupation rate of the storage capacity in the memory is equal to or more than a set value in the first link processing, and when the judgment processing means judges that the set value is exceeded, Deletion processing means for deleting the last read object module file from the memory; and an object module file to be deleted by the deletion processing means being linked in the second and subsequent times and reading the object module file from the external storage device. 5. The application program link processing system according to claim 4, further comprising: a judgment processing means for judging whether or not the application program exists.
ーセント以上又は未満であるかを判断するための値を設
定することを特徴とする請求項6記載のアプリケーショ
ンプログラムリンク処理システム。7. The application program link according to claim 6, wherein a value for determining whether the occupation ratio of the storage capacity in the memory is at least 50% or less is set as the set value. Processing system.
更処理手段及び読込処理手段として、 少なくとも、RAM、メモリ、外部記憶装置、リンカ処
理部、データ入出力表示装置及び中央演算処理装置を用
いることを特徴とする請求項4記載のアプリケーション
プログラムリンク処理システム。8. At least a RAM, a memory, an external storage device, a linker processing unit, a data input / output display device, and a central processing unit are used as the setting processing unit, the link processing unit, the change processing unit, and the reading processing unit. 5. The application program link processing system according to claim 4, wherein:
断処理手段として、 少なくとも、RAM、メモリ、外部記憶装置、リンカ処
理部、データ入出力表示装置及び中央演算処理装置を用
いることを特徴とする請求項4記載のアプリケーション
プログラムリンク処理システム。9. A method according to claim 1, wherein at least a RAM, a memory, an external storage device, a linker processing unit, a data input / output display device, and a central processing unit are used as said judgment processing means, deletion processing means and judgment processing means. The application program link processing system according to claim 4.
格納したオブジェクトモジュールファイル中のデータに
ポインタ方式を適用して管理し、 1回目のリンク処理でオブジェクトモジュールファイル
の内容をメモリに書き込んで、リンカを待機状態に設定
して、オブジェクトモジュールファイルをメモリに残
し、 2回目以降のリンク処理で、1回目に書き込んだメモリ
の内容を使用するための制御を実行する制御プログラム
を記録したことを特徴とするアプリケーションプログラ
ムリンク処理情報記録媒体。10. A pointer method is applied to data in an object module file read from an external storage device into a memory and stored, and the contents of the object module file are written to a memory in a first linking process. In a standby state, the object module file is left in the memory, and in the second and subsequent link processing, a control program for executing control for using the contents of the first written memory is recorded. Application program link processing information recording medium.
おける記憶容量の占有率が設定値以上の場合に、最後に
読み込んだオブジェクトモジュールファイルをメモリか
ら削除し、このオブジェクトモジュールファイルが2回
目以降のリンク処理かつ外部記憶装置からのオブジェク
トモジュールファイルの読み込み時に、メモリに存在す
るかの判断を行う制御を実行するための制御プログラム
を、更に記録したことを特徴とする請求項10記載のア
プリケーションプログラムリンク処理情報記録媒体。11. In the first link processing, when the occupancy of the storage capacity in the memory is equal to or more than a set value, the object module file read last is deleted from the memory, and this object module file is deleted from the second or subsequent time. 11. The application program link according to claim 10, further comprising: a control program for executing a control for determining whether or not the object module file exists in the memory at the time of link processing and reading of the object module file from the external storage device. Processing information recording medium.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11002222A JP2000200202A (en) | 1999-01-07 | 1999-01-07 | Method and system for link processing in debugging of application program and information recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11002222A JP2000200202A (en) | 1999-01-07 | 1999-01-07 | Method and system for link processing in debugging of application program and information recording medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000200202A true JP2000200202A (en) | 2000-07-18 |
Family
ID=11523335
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11002222A Pending JP2000200202A (en) | 1999-01-07 | 1999-01-07 | Method and system for link processing in debugging of application program and information recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000200202A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011215759A (en) * | 2010-03-31 | 2011-10-27 | Mitsubishi Electric Corp | Apparatus and program for generating and processing of code |
-
1999
- 1999-01-07 JP JP11002222A patent/JP2000200202A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011215759A (en) * | 2010-03-31 | 2011-10-27 | Mitsubishi Electric Corp | Apparatus and program for generating and processing of code |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2664137B2 (en) | IC card | |
| JP3061408B2 (en) | Software compiler and linker with improved line number table | |
| JP2000347872A (en) | Method and apparatus for handling exceptions as regular control flows | |
| US10445185B1 (en) | Version mapped incremental backups | |
| US7315871B2 (en) | Method, system and program product for interning invariant data objects in dynamic space constrained systems | |
| US6175935B1 (en) | Software debugging method and recording medium to which debugging program has been recorded | |
| JP2000305857A (en) | Data medium with recoverable basic data basis state and its formation | |
| JP2007535241A (en) | System and method for conditionally reducing executable modules | |
| JP2000200202A (en) | Method and system for link processing in debugging of application program and information recording medium | |
| CN112269764A (en) | A file aggregation method, apparatus, device and readable storage medium | |
| US20230259365A1 (en) | Computer-readable recording medium storing conversion program and conversion method | |
| JP3267550B2 (en) | Degrade check device | |
| JP2002269162A (en) | Action synthesizing method | |
| JP3233541B2 (en) | Input/output device information management system for multi-computer systems | |
| JPH06214803A (en) | Virtual space block arranging system | |
| CN114579135B (en) | Installation package generation method and device | |
| JP3090048B2 (en) | Standard program function expansion method and method | |
| US11442929B2 (en) | Double header logging of slotted page structures | |
| JP3338466B2 (en) | Main memory access optimization processor | |
| JP2000148562A (en) | Data backup method, data backup device utilizing the method and computer readable recording medium recorded with data backup program | |
| JP2604066B2 (en) | Text file correction storage method | |
| JPH01286053A (en) | Data control system over plural types of computers | |
| CN119865634A (en) | Cross-platform editing resource management method and device | |
| CN121116180A (en) | Data storage methods, devices and storage media | |
| CN116841657A (en) | Interface function calling method and device |