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-12-09 14:05:02 -07:00
2024-11-01 11:06:47 -06:00
2024-11-14 19:34:43 +00:00
2024-11-23 12:20:34 +01:00
2024-09-23 13:44:59 -06:00
2024-11-20 09:33:17 +00:00
2024-09-24 13:06:32 +02:00
2024-11-23 12:20:34 +01:00
2024-05-17 09:39:41 -06:00
2024-11-23 12:20:34 +01:00
2024-11-01 11:06:47 -06:00
2024-09-23 13:44:59 -06:00
2024-09-23 13:44:59 -06:00
2024-09-23 13:44:59 -06:00
2024-09-24 13:06:32 +02:00
2024-09-24 13:06:32 +02:00
2024-11-25 22:07:04 -05:00
2024-11-11 07:44:27 -07:00
2024-09-24 13:06:32 +02:00
2024-09-24 13:06:32 +02:00
2024-09-24 13:06:32 +02:00
2024-09-23 13:44:59 -06:00
2024-12-09 14:17:23 -07:00
2024-09-24 13:06:32 +02:00
2024-09-23 13:44:59 -06:00
2024-10-18 11:50:27 -06:00
2024-11-14 19:34:44 +00:00
2024-09-24 13:06:32 +02:00
2024-09-24 13:06:32 +02:00
2024-09-23 13:44:59 -06:00
2024-11-10 10:18:23 +00:00
2024-09-24 14:22:28 +02:00
2024-08-14 11:20:56 +02:00
2024-09-24 13:06:32 +02:00
2024-08-14 11:20:56 +02:00
2024-09-23 13:44:59 -06:00
2024-09-24 13:06:32 +02:00
2024-12-09 14:05:02 -07:00
2024-09-23 13:44:59 -06:00
2024-11-01 11:06:47 -06:00
2024-11-25 22:07:04 -05:00
2024-09-30 13:23:35 -06:00
2024-09-24 13:06:32 +02:00
2024-09-25 19:29:57 +02:00
2024-12-09 14:17:21 -07:00
2024-04-02 11:21:39 -06:00
2024-11-25 22:07:04 -05:00
2024-12-03 22:58:47 +01:00