Files
binutils-gdb/gdb/python
Tom Tromey c286bfe1e5 Clean up 0-length handling in gdbpy_create_lazy_string_object
gdbpy_create_lazy_string_object will throw an exception if you pass it
a NULL pointer without also setting length=0 -- the default,
length==-1, will fail.  This seems bizarre.  Furthermore, it doesn't
make sense to do this check for array types, as an array can have a
zero length.  This patch cleans up the check and makes it specific to
TYPE_CODE_PTR.
2024-12-09 14:17:23 -07:00
..
2024-11-01 11:06:47 -06:00
2024-05-17 09:39:41 -06:00
2024-11-01 11:06:47 -06:00
2024-11-01 11:06:47 -06:00
2024-09-30 13:23:35 -06:00
2024-04-02 11:21:39 -06:00