Support ALT_BREAK_TO_DEBUGGER in vt(4)
Submitted by: Andre Albsmeier on -hackers
This commit is contained in:
parent
628a446c66
commit
a09a539f06
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276282
@ -155,6 +155,7 @@ struct vt_device {
|
||||
int vd_keyboard; /* (G) Keyboard index. */
|
||||
unsigned int vd_kbstate; /* (?) Device unit. */
|
||||
unsigned int vd_unit; /* (c) Device unit. */
|
||||
int vd_altbrk; /* (?) Alt break seq. state */
|
||||
};
|
||||
|
||||
#define VD_PASTEBUF(vd) ((vd)->vd_pastebuf.vpb_buf)
|
||||
|
@ -825,7 +825,9 @@ vt_processkey(keyboard_t *kbd, struct vt_device *vd, int c)
|
||||
terminal_input_char(vw->vw_terminal, 0x1b);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(KDB)
|
||||
kdb_alt_break(c, &vd->vd_altbrk);
|
||||
#endif
|
||||
terminal_input_char(vw->vw_terminal, KEYCHAR(c));
|
||||
} else
|
||||
terminal_input_raw(vw->vw_terminal, c);
|
||||
|
Loading…
Reference in New Issue
Block a user