Skip to main content

Transaction Processing Facility (TPF) - Online Maintenance TPF : Support : Maintenance TPF : Support : Maintenance

JavaScript not Active

This page uses JavaScript. You must activate JavaScript in your browser to be sure youare able to view all of the information.

SUBJECT:         APAR  NUMBER: PJ27440

REFERENCE:  AREA:     ISO-C SUPPORT
            SEGMENT:  CLMINT40   - RELEASE:  TPF4  (Assembler)


Pre-requisite APARs are:
FOR SEGMENT CLMINT40   (Assembler) - REL TPF4
 PJ21907  PJ24472  PJ24530  PJ25084  
 PJ25089  PJ25425  PJ25632  
 PJ25696  PJ25807  PJ25983  PJ25981  
 PJ26008  PJ26575  PJ26804  
 PJ26967  PJ21337  PJ27252  PJ27277  PJ27383  
To be applied in the order listed for each segment.

ABSTRACT OF PROBLEM
___________________
This  internal  APAR  is  caused  by  PJ26008 which is the C/Asm
debugger cooperation code.  With PJ26008 applied, the  assembler
debugger  is  active  too  long  when  passing  control to the C
debugger for programs that contain hooks.


COMMENTS ON PROBLEM
___________________
Two problems are addressed by this APAR. The first appears  when
stepping  into  hooked  C code from assembler.   The C prolog is
traced with the assembler debugger before control  is  given  to
the  C debugger.   The second appears when returning to hooked C
code from assembler code.  The assembler instructions  following
the  function  call are traced with the assembler debugger until
the execute instruction (hook) is reached.


SOLUTION
________
The solution is to add code to clmint.asm  of  CISO.    For  the
first  case,  the  added  code  tests for hooks in the DLM entry
point function.  For the second case, the added coded tests  for
hooks  in  the C function being returned to.  For both cases, if
hooks are found the assembler debugger is disabled and the first
execute instruction (hook) encountered in the C code  will  give
control to the C debugger.

DEPENDENCIES
____________

Related Segments Affected By This APAR.
_______________________________________

Segments to be assembled or compiled:

Segments to be link edited:
CISO40
Load Modules to be loaded:

None
Migration Considerations
========================
None



-- END APAR PJ27440






Download file(s): Login once to access server, leave window open, then click on link(s) below. Source Listing Binary