Issue 22991: test_gdb leaves the terminal in raw mode with gdb 7.8.1 (original) (raw)

Issue22991

Created on 2014-12-03 23:50 by xdegaye, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
gdbmi.patch xdegaye,2014-12-03 23:50 review
gdbmi_2.patch xdegaye,2014-12-04 18:50 review
Messages (2)
msg232099 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2014-12-03 23:50
This happens on archlinux. Annoying: the terminal becomes unusable unless you type blindly 'stty sane ', and the backspace key is still wrong. This does not happen with gdb 7.6.1. And this does not happen when running gdb with the 'mi' interpreter. The attached patch uses GDB/MI. The problem with using the GDB/MI interface, is that it is very verbose when trying to debug a test.
msg232147 - (view) Author: Xavier de Gaye (xdegaye) * (Python triager) Date: 2014-12-04 18:50
The previous patch failed many tests, sorry. The attached patch runs successfully test_gdb using gdb/mi. All the changes that were made in the test cases themselves, remove either a terminating new line or terminating white spaces in the assertion check.
History
Date User Action Args
2022-04-11 14:58:10 admin set github: 67180
2019-04-13 18:50:29 xdegaye set status: open -> closedresolution: out of datestage: resolved
2014-12-04 18:50:27 xdegaye set files: + gdbmi_2.patchmessages: +
2014-12-04 01:34:28 ned.deily set nosy: + dmalcolm
2014-12-03 23:50:32 xdegaye create