Commit 8e3110c
authored
[gdb] Allow gdb.Value to take a Buffer plus a Type (#16006)
If a type is passed that is not None, it always goes through the
buffer protocol, which interestingly means you can't pass
an existing gdb.Value together with a type. You have to use the
cast method for that purpose.1 parent 8ca1ae3 commit 8e3110c
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
115 | 120 | | |
116 | 121 | | |
117 | 122 | | |
| |||
0 commit comments