IP Library › Granted Patent US 7,028,291
Granted Patent B2
US 7,028,291 · App. 10/191,426 · Granted Apr 11, 2006

Debugging method and debugging device

Assignee: Matsushita Electric Industrial Co., Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,028,291
App. No.
10/191,426
Granted
Apr 11, 2006
Kind
B2
Abstract

According to the present invention, a compiler generates, as debugging information on variables appearing in a source program and the allocation of hardware resources, location information made up of elements showing, for each entry of a variable, an address range within which the variable is valid, a condition flag which is made true within the address range when the variable is valid, and a resource allocated to the variable. A debugging device analyzes the debugging information and stores it. When examining the value of a variable, an entry for the valid variable is determined from the address currently being executed and the value held in the condition flag register, and the resource allocated to that variable is obtained. In this way, the contents of the variable can be referenced correctly.

Claims (19)

1. A debugging method for displaying information corresponding to a variable and an address, both of which are designated by a user, based on location information generated by a compiler, the method comprising:

detecting at least two entries within the location information corresponding to the user designated variable and address, each of the at least two entries including a first information field for specifying the variable, a second information field for specifying a life range of the variable, which includes the address therein, a third information field for specifying a resource which is allocated to the variable, and a fourth information field for specifying a condition flag to be referenced during an operation corresponding to the entry;

examining whether the condition flag of the fourth information field of each of the at least two entries designates true or false;

selecting one of the at least two entries based on the examined condition flags; and

displaying the value allocated to the resource of the selected entry.

2. A debugging method for displaying information corresponding to a variable and an address, both of which are designated by a user, based on location information generated by a compiler, the method comprising:

detecting at least two entries within the location information corresponding to the user designated variable and address, each of the at least two entries including a first information field for specifying the variable, a second information field for specifying a life range of the variable, which includes the address therein, a third information field for specifying a resource which is allocated to the variable, and a fourth information field for specifying two condition flags to be referenced during an operation corresponding to the entry and an operation relating to the two condition flags;

examining, for each of the at least two entries, whether the operational result determined by performing the operation relating to the two condition flags on these flags designates true or false; selecting one of the at least two entries based on the examined operational results; and

displaying the value allocated to the resource of the selected entry.

3. A computer-implemented debugging device for displaying information corresponding to a variable and an address, both of which are designated by a user, based on location information generated by a compiler, the debugging device comprising:

a detecting section that detects at least two entries within the location information corresponding to the user designated variable and address, each of the at least two entries including a first information field for specifying the variable, a second information field for specifying a life range of the variable, which includes the address therein, a third information field for specifying a resource which is allocated to the variable, and a fourth information field for specifying a condition flag to be referenced during an operation corresponding to the entry;

an examining section that examines whether the condition flag of the fourth information field of each of the at least two entries designates true or false;

a selecting section that selects one of the at least two entries based on the examined condition flags; and

a displaying section that displays the value allocated to the resource of the selected entry.

4. A computer-implemented debugging device for displaying information corresponding to a variable and an address, both of which are designated by a user, based on location information generated by a compiler, the debugging device comprising:

a detecting section that detects at least two entries within the location information corresponding to the user designated variable and address, each of the at least two entries including a first information field for specifying the variable, a second information field for specifying a life range of the variable, which includes the address therein, a third information field for specifying a resource which is allocated to the variable, and a fourth information field for specifying two condition flags to be referenced during an operation corresponding to the entry and an operation relating to the two condition flags;

an examining section that examines, for each of the at least two entries, whether the operational result determined by performing the operation relating to the two condition flags on these flags designates true or false;

a selecting section that selects one of the at least two entries based on the examined operational results; and

a displaying section that displays the value allocated to the resource of the selected entry.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 25, 2015
From: PANASONIC CORPORATION
To: SOCIONEXT INC.
Reel/Frame 035294/0942 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 10, 2002
From: SUMIDA, KIYOHIKO; OGAWA, HAJIME; OKUNO, KATSUHIRO
To: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Reel/Frame 013096/0042 →
Priority Claims (1)
JP 2001-238028 · Aug 6, 2001 · national
Continuity (1)
Related Publication 20030028860A1 · Feb 6, 2003