Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Discussion Groups

Discussion Groups | TMS320C6x | Regarding symbol information in COFF

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

Regarding symbol information in COFF - Arun Kumar Shukla - Apr 15 11:52:57 2008



Hi,

I want to fetch variable's detail information from .out file (means Common
Object File Format COFF).
I have address of the variable or symbol from.map file.
The informations about symbol what i want to fetch are:

Type (if structure then all members)
is there any tool who can fetch these detailed information from .out file?

-- 
With Regards,
Arun Kumar Shukla
@Aricent(Flextronics)
Web: www.aricent.com
Mail to: a...@aricent.com



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: Regarding symbol information in COFF - Michael Dunn - Apr 15 16:53:53 2008

Arun,

On 4/15/08, Arun Kumar Shukla <a...@gmail.com> wrote:
>
>   Hi,
>
> I want to fetch variable's detail information from .out file (means Common
> Object File Format COFF).
> I have address of the variable or symbol from.map file.
> The informations about symbol what i want to fetch are:
>
> Type (if structure then all members)
> is there any tool who can fetch these detailed information from .out file?
I don't think you can get member names without a header file.
Have you looked at ofd6x.exe?? It will give you 'lots of info',  I don't
think that you can get structure members - although you can get the memory
size.

Info like -

    <228> "_MyStruct" (defined in section ".bss")
       Value:          0x00001818  Kind:        defined
       Binding:        global      Type:        object
       Storage Class:  C_EXT       Basic Type:  struct
       Size:           384 bits    Tag Index:   173

    <230> "_SideB" (defined in section ".bss")
       Value:           0x00001848      Kind:        defined
       Binding:         global          Type:        object
       Storage Class:   C_EXT           Basic Type:  int
       Derived Type 1:  array           Size:        6400 bits
       Dimensions:      [200][0][0][0]

I used

'C:\CCStudio_v3.3\C6000\cgtools\bin\ofd6x.exe -g --ti:funci -v aet.out
>junk1.txt'

to get the above info.

mikedunn

   --
> With Regards,
> Arun Kumar Shukla
> @Aricent(Flextronics)
> Web: www.aricent.com
> Mail to: a...@aricent.com

-- 
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )