US5615332A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Debugging aid apparatus
Assignee: Mitsubishi Electric Corp
•
Filing: 1994-12-20
•
Granted: 1997-03-25
•
Expires: 2014-12-20
Abstract
Abstract A debugging aid apparatus that provides fetching system call data which includes a return address to the application task, but not, a return address to a high-level language interface routine, as the return address on completion of the system call instruction, when the system call is issued to an OS through the high-level language interface routine from an application task written in a high-level language.
Inventors
- 👤 Osamu Yamamoto
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-01 12:36
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/362; G06F11/3636
Claims Analysis
Total Claims: 7
Claim 1
Independent Claim
275 words
An apparatus for aiding debugging an application task by fetching system call data concerning a system call which includes a return address to a calling task that is pushed onto a stack each time calling another task, when the system call is issued to an operating system from an application task written in an assembly language or from an application task written in a high-level language, said apparatus comprising: a high-level language interface routine which is called when an application task written in a high level language is to be executed, and which converts the application task written in the high-level language into codes that can be executed; means for determining whether the application task calls to pass the high-level language interface routine when the system call being issued; a first table for storing the system call data; a second table for storing the type of the system call with the number of parameters included in said system call; means for extracting the number of parameters corresponding to the type of the issued system call by referencing the second table when the system call is issued from the application task written in the high-level language; means for fetching the return address to the application task, which was pushed down the stack by addresses corresponding to the extracted number of parameters, when control is passed to the operating system resulting from the issue of the system call, and for storing the fetched return address into the first table; means for giving an instruction to display the system call data; and means responsive to the instruction for displaying the system call data applied from the first table.
Claim 2
Independent Claim
275 words
An apparatus for aiding debugging an application task by fetching system call data concerning a system call which includes a return address to a calling task that is pushed onto a stack each time calling another task, when the system call is issued to an operating system from an application task written in an assembly language or from an application task written in a high-level language, said apparatus comprising: a high-level language interface routine which is called when an application task written in a high level language is to be executed, and which converts the application task written in the high-level language into codes that can be executed; means for determining whether the application task calls to pass the high-level language interface routine when the system call being issued; a first table for storing the system call data; a second table for storing the type of the system call with the number of parameters included in said system call; means for extracting the number of parameters corresponding to the type of the issued system call by referencing the second table when the system call is issued from the application task written in the high-level language; means for fetching the return address to the application task, which was pushed down the stack by addresses corresponding to the extracted number of parameters, when control is passed to the operating system resulting from the issue of the system call, and for storing the fetched return address into the first table; means for giving an instruction to display the system call data; and means responsive to the instruction for displaying the system call data applied from the first table.
Claim 3
Dependent Claim
37 words
The apparatus as set forth in claim 1, wherein said determining means includes means for setting a flag when the high-level language interface routine is passed, and means for checking whether said flag is set or not.
Claim 4
Dependent Claim
61 words
The apparatus as set forth in claim 1, wherein said determining means includes a third table for storing the return address to the high-level language interface routine, and means for determining whether the third table contains the return address to the high-level language interface routine saved on the stack when the system call is issued from the high-level language interface routine.
Claim 5
Independent Claim
323 words
An apparatus for aiding debugging an application task by fetching system call data concerning a system call which includes a return address to the calling task that is pushed onto a stack each time calling another task, when the system call is issued to an operating system from an application task written in an assembly language or from an application task written in a high-level language, said apparatus comprising: a high-level language interface routine which is called when an application task written in a high level language is to be executed, and which converts the application task written in the high-level language into codes that can be executed; a first table for storing the system call data; a second table for storing the type of a system call with the number of parameters included in the system call; means for extracting the number of parameters corresponding to the type of the issued system call by referencing the second table when the system call is issued; means for fetching the return address to the immediately previous task pushed onto the stack, when control is passed to the operating system resulting from the issue of the system call, as first data, and for fetching data pushed down the stack by addresses corresponding to the extracted number of parameters as second data, and for storing the fetched data into the first table; means for determining whether the application task that issued the system call passes the high-level language interface routine; means for giving an instruction to display the system call data; and means responsive to the means for determining and means for giving an instruction for displaying the first data when said application task does not pass the high-level language interface routine, or the second data when said application task passes the high-level language interface routine, said first and second data being displayed as the return address to the application task that issued the system call.
Claim 6
Independent Claim
323 words
An apparatus for aiding debugging an application task by fetching system call data concerning a system call which includes a return address to the calling task that is pushed onto a stack each time calling another task, when the system call is issued to an operating system from an application task written in an assembly language or from an application task written in a high-level language, said apparatus comprising: a high-level language interface routine which is called when an application task written in a high level language is to be executed, and which converts the application task written in the high-level language into codes that can be executed; a first table for storing the system call data; a second table for storing the type of a system call with the number of parameters included in the system call; means for extracting the number of parameters corresponding to the type of the issued system call by referencing the second table when the system call is issued; means for fetching the return address to the immediately previous task pushed onto the stack, when control is passed to the operating system resulting from the issue of the system call, as first data, and for fetching data pushed down the stack by addresses corresponding to the extracted number of parameters as second data, and for storing the fetched data into the first table; means for determining whether the application task that issued the system call passes the high-level language interface routine; means for giving an instruction to display the system call data; and means responsive to the means for determining and means for giving an instruction for displaying the first data when said application task does not pass the high-level language interface routine, or the second data when said application task passes the high-level language interface routine, said first and second data being displayed as the return address to the application task that issued the system call.
Claim 7
Dependent Claim
35 words
The apparatus as set forth in claim 4, wherein said determining means includes a third table for storing data indicating whether each individual application task is a task that passes the high-level language interface routine.
References Cited (Backward Citations)
US4879646A
Cited
US4866665A
Cited
US5134701A
Cited
JPH02271436A
Cited
US5124989A
Cited
US5265254A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2000-03-24 | 2000-09-23 | 2001-03-25 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2004-03-24 | 2004-09-23 | 2005-03-25 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2008-03-24 | 2008-09-23 | 2009-03-25 | $7700.00 | Window Closed / Lapsed |