Operating System - OpenVMS
1827889 Members
1419 Online
109969 Solutions
New Discussion

i64 image unwind info duplication?

 
Douglas Rupp
Advisor

i64 image unwind info duplication?

Given a null C program test1.c: main(){;}, which is compiled and linked cc test1, link/map/full test1.

The map file shows a program segment #1 with [UNWIND] info and a segment #3 of type DYNAMIC.

anal/image/seg=num=1 test1.exe gives only a raw data dump, with no indication that its unwind info.

anal/image/seg=num=3 dumps, among other things, some unwind info, nicely translated that looks like it might be a duplication of what's in segment #1.

Why the (apparent) duplication of data?
2 REPLIES 2
John Gillings
Honored Contributor

Re: i64 image unwind info duplication?

Douglas,

Maybe you need to show an example of the apparent duplication?

Just a guess, perhaps one is static and the other (as labelled?) dynamic. The static copy may be required to reset the dynamic copy (though I'm having trouble thinking up circumstances under which it might need resetting, but then Itaniums are strange beasts).
A crucible of informative mistakes
Douglas Rupp
Advisor

Re: i64 image unwind info duplication?

I received a private email from an HP engineer. The answer is the dynamic segment contains some info that allows analyze to interpret the info contained in segment #1. So the same info gets dumped twice, once in order in raw format and later, out of order, in interpreted format.