mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
updated
This commit is contained in:
parent
e7f524f9e1
commit
ce9b82be99
1 changed files with 24 additions and 0 deletions
|
@ -1,3 +1,27 @@
|
||||||
|
2003-08-18 Alain Magloire
|
||||||
|
|
||||||
|
Patch from Chris Songer, excerpt from the email.
|
||||||
|
Using the phrase "To ensure consistency between a register name and its
|
||||||
|
number, the output list may include empty register names," the MI protocol
|
||||||
|
appears to allow gdb to return a "sparse" array of registers by giving a 0
|
||||||
|
length name in response to the -data-list-register-names-command. CDT 1.0.1
|
||||||
|
does not handle this especially well and subsequently exposes a bug in GDB
|
||||||
|
5.1.3 and crashes it if the debugger has more than 3 register names of 0
|
||||||
|
length.
|
||||||
|
|
||||||
|
example:
|
||||||
|
|
||||||
|
8-data-list-register-names
|
||||||
|
(gdb)
|
||||||
|
8^done,register-names=["ar0","ar1",... ,"","","","","","","ur0",\
|
||||||
|
"ur1","ur2","ur3","ur4","ur5","ur6","ur7","","" ..]
|
||||||
|
|
||||||
|
|
||||||
|
* src/org/eclipse/cdt/debug/mi/core/output/MIDataListRegisterNamesInfo.java:
|
||||||
|
New method getNumRealNames().
|
||||||
|
* src/org/eclipse/cdt/debug/mi/core/cdi/RegisterManager.java:
|
||||||
|
Check if the register name is not empty.
|
||||||
|
|
||||||
2003-08-18 Alain Magloire
|
2003-08-18 Alain Magloire
|
||||||
|
|
||||||
From the manual:
|
From the manual:
|
||||||
|
|
Loading…
Add table
Reference in a new issue