This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Dwarf2 end_prologue/begin_epilogue for VMS


It has been suggested that the justification "needed for VMS Debug" was overly terse, so please accept the following additional justification copied from the VMS Dwarf extensions documentation:

"When a breakpoint is set on entry to a function, it is generally desirable for execution to be suspended, not on the very first instruction of the function, but rather at a point after the function's frame has been set up, after any language defined local declaration processing has been completed, and before execution of the first statement of the function begins. Debuggers generally cannot properly determine where this point is. Similarly for a breakpoint set on exit from a function. The prologue and epilogue attributes allow a compiler to communicate the location(s) to use."

http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01339.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]