/* Gdb expects the trampoline is on the stack and the pc is offset from a64-byteboundaryby0,4or5instructions.Sincethevdsotrampoline isnotonthestack,weneedanewvariantwithdifferentoffsetsand datatotellgdbwheretofindthesignalcontextonthestack.
/* The nop here is a hack. The dwarf2 unwind routines subtract 1 from thereturnaddresstogetanaddressinthemiddleofthepresumed callinstruction.Sincewedon'thaveacallhere,weartifically extendtherangecoveredbytheunwindinfobyaddinganopbefore therealstart.
*/
nop
/* This is where the mcontext_t struct can be found on the stack. */
#define PTREGS SIGFRAME_CONTEXT_REGS32 /* 32-bit process offset is -672 */
/* Register REGNO can be found at offset OFS of the mcontext_t structure. */
.macro rsave regno,ofs
.byte 0x05 /* DW_CFA_offset_extended */
.uleb128 \regno; /* regno */
.uleb128 \ofs /* factored offset */
.endm
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.10Bemerkung:
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.