[ixp1200] Question about Transactor

xtan at mail xtan at csnet1.cs.tsinghua.edu.cn
Wed Oct 23 03:38:24 EDT 2002


Thank you very much! But is there a method to preserve the register name
before the compilation?

-----Original Message-----
From: owner-ixp1200 at CS.Princeton.EDU
[mailto:owner-ixp1200 at CS.Princeton.EDU] On Behalf Of Yannis Haritakis
Sent: Tuesday, October 22, 2002 6:36 PM
To: ixp1200 at CS.Princeton.EDU
Subject: Re: [ixp1200] Question about Transactor


Using the workbench it is possible to see which register is assigned to
a
variable. Debug the program and in the window that shows the source
code,
switch in assembly mode. (that's the button with the two little squares
one green and one yellow).

 There you can search the name of the variable to find the assigned
register. It will be something like <varname>:<reg>

 You can even right click on the name to add a watch on the register.

 Note, that a variable may be mapped somewhere else and not in a
register.

 I hope I provided some help.

Yannis Haritakis,
Foundation Of Research and Technology Hellas,
FORTH


> Hello!
> 	I have encountered some problems on debugging C source code
> under the Workbench. I want to 'examine' or 'deposit' the C defined
> variable in transator's command output window. For instance,
>  ex  f0.reg.reg_name_0
> While the compiler won't generate the symbol representing the
variable,
> I can only use the following instead:
>  ex  f0.reg. at b31
>
> We know that the C compiler provide global_label function to preserve
> the C label. Is there any similar solution to the variable?!
>
> Thanks a lot. And thanks for your attention.
>
>






More information about the ixp1200 mailing list