Commit 8d74c57
[WIP] [gdb] Using pty for stdout (#50)
* Fix exception occuring in case of illigal stack_frame string.
* Refactor to use pty for capturing output.
* [CD] Upload package to PyPI when creating a release (#48)
* enable running the script without installing as a package
While developing, we can test out changes without pip install
* [CD] Upload package to PyPI when creating a release
* fix according to code review
* fix permissions
* Fix buffer.
* Include stdout and stdin as subwindows.
* Add debugee stdout and stdin windows.
* Intercept gdb output even if it appears with delays.
* Remove " as they may break the json format.
* Fix parsing of the speacial commands to follow the new approach.
* Disable not implemented function call.
* Reduce timeout so that commands are completed quickley.
* Add default values.
* Use full path of the file.
* Use parallel and non blocking calls to speed command execution.
* Fix issuing single commands
* Fix receiving of debuggee output.
* Remove " from the stack, args and locals output.
Prevents from violating the json generated.
* Disable debuginfod.
* Ensure debuggee output is flused before a ywrite.
* Disable stdout flush as it discards debuggee stdout.
* remove additional panels used while developing (#58)
---------
Co-authored-by: Vipul Cariappa <vipulcariappa@gmail.com>1 parent f30aadb commit 8d74c57
File tree
4 files changed
+445
-169
lines changed- src/idd
- debuggers/gdb
4 files changed
+445
-169
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | | - | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| |||
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
63 | 75 | | |
64 | 76 | | |
65 | 77 | | |
| |||
215 | 227 | | |
216 | 228 | | |
217 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
218 | 253 | | |
219 | 254 | | |
220 | 255 | | |
| |||
313 | 348 | | |
314 | 349 | | |
315 | 350 | | |
316 | | - | |
| 351 | + | |
317 | 352 | | |
318 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
319 | 357 | | |
320 | | - | |
| 358 | + | |
321 | 359 | | |
322 | 360 | | |
323 | 361 | | |
| |||
347 | 385 | | |
348 | 386 | | |
349 | 387 | | |
| 388 | + | |
350 | 389 | | |
351 | 390 | | |
352 | 391 | | |
| |||
371 | 410 | | |
372 | 411 | | |
373 | 412 | | |
| 413 | + | |
374 | 414 | | |
375 | 415 | | |
376 | 416 | | |
| |||
391 | 431 | | |
392 | 432 | | |
393 | 433 | | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
394 | 440 | | |
395 | 441 | | |
396 | 442 | | |
| |||
484 | 530 | | |
485 | 531 | | |
486 | 532 | | |
487 | | - | |
488 | 533 | | |
489 | 534 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
25 | 41 | | |
26 | 42 | | |
| |||
33 | 49 | | |
34 | 50 | | |
35 | 51 | | |
36 | | - | |
37 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
38 | 58 | | |
39 | 59 | | |
40 | 60 | | |
| |||
45 | 65 | | |
46 | 66 | | |
47 | 67 | | |
48 | | - | |
| 68 | + | |
49 | 69 | | |
50 | 70 | | |
51 | 71 | | |
52 | 72 | | |
53 | 73 | | |
54 | | - | |
| 74 | + | |
55 | 75 | | |
56 | 76 | | |
57 | 77 | | |
| |||
86 | 106 | | |
87 | 107 | | |
88 | 108 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
93 | 113 | | |
94 | 114 | | |
95 | 115 | | |
96 | | - | |
| 116 | + | |
| 117 | + | |
97 | 118 | | |
98 | 119 | | |
99 | 120 | | |
100 | 121 | | |
101 | 122 | | |
102 | 123 | | |
103 | 124 | | |
104 | | - | |
| 125 | + | |
105 | 126 | | |
106 | 127 | | |
107 | 128 | | |
| |||
0 commit comments