View previous topic :: View next topic
|
Author |
Message |
Pankaj Shrivastava Currently Banned New User
Joined: 24 Jul 2009 Posts: 51 Location: Pune
|
|
|
|
For debugging and dump analysis we find the failing instruction address through the PSW. The difference in the entry point address of the Loaded program and the PSW address ( 24 bits) gives the displacement of the failing address.Can somebody help me ,How do find the entry point address of the loaded program? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the dump will tell the load address,
the linkage editor/binder output will tell the entry point address
a bit of hex math will yield the result
but all that will be useless, because the psw value should be matched against the load address |
|
Back to top |
|
|
Pankaj Shrivastava Currently Banned New User
Joined: 24 Jul 2009 Posts: 51 Location: Pune
|
|
|
|
Can you please explain it in bit more detail..may some screen shot
what is differenc b/w load address and entry point address . |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
that' s very basic
an entry point is much more, but in the context of Your question ...
load address is the address at wich the thing will/has been loaded
entry point address is the address ( relocated ) of the first instruction that will be executed when the program will get control
more technically an entry point address is something that will/needs to be externalized to other csects/components of the whole shebang |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Pankaj Shrivastava Currently Banned New User
Joined: 24 Jul 2009 Posts: 51 Location: Pune
|
|
|
|
I am not very proficient in dump analysis ... I could'nt get your last statement : but all that will be useless, because the psw value should be matched against the load address
Well I dont have abendaid in my project ..how should i calculate the NSI then ..if PSW value is also not helpful. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
abend AID is irrelevant to the understanding of the whole issue
looks like there is language barrier here,
reread the statement You were trying to quote, and You will see that I said nothing about the PSW,
I pointed out that You were using the wrong other address the entry instead of the load |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
follow on ... reworded in the hope of clarifying
Quote: |
For debugging and dump analysis we find the failing instruction address through the PSW. The difference in the entry point address of the Loaded program and the PSW address ( 24 bits) gives the displacement of the failing address.Can somebody help me ,How do find the entry point address of the loaded program? |
plain wrong
the displacement of the failing address in the whole load module will be the difference between the PSW address and the load address
to find anything useful You will need to find the name of the failing module/csect
from the linkage editor map and a bit of visual comparison of addresses You should easily find it |
|
Back to top |
|
|
Pankaj Shrivastava Currently Banned New User
Joined: 24 Jul 2009 Posts: 51 Location: Pune
|
|
|
|
Ohh ..got you .Sorry misinterpreted that .
Ya ..Its clear..its load address which is considered instead of Entry point address
Thanks |
|
Back to top |
|
|
|