Revision 7e4597d7 tcg/tcg-op.h
b/tcg/tcg-op.h | ||
---|---|---|
1291 | 1291 |
#error must include QEMU headers |
1292 | 1292 |
#endif |
1293 | 1293 |
|
1294 |
/* debug info: write the PC of the corresponding QEMU CPU instruction */ |
|
1295 |
static inline void tcg_gen_debug_insn_start(uint64_t pc) |
|
1296 |
{ |
|
1297 |
/* XXX: must really use a 32 bit size for TCGArg in all cases */ |
|
1298 |
#if TARGET_LONG_BITS > TCG_TARGET_REG_BITS |
|
1299 |
tcg_gen_op2i(INDEX_op_debug_insn_start, |
|
1300 |
(uint32_t)(pc), (uint32_t)(pc >> 32)); |
|
1301 |
#else |
|
1302 |
tcg_gen_op1i(INDEX_op_debug_insn_start, pc); |
|
1303 |
#endif |
|
1304 |
} |
|
1305 |
|
|
1294 | 1306 |
static inline void tcg_gen_exit_tb(tcg_target_long val) |
1295 | 1307 |
{ |
1296 | 1308 |
tcg_gen_op1i(INDEX_op_exit_tb, val); |
Also available in: Unified diff