Maksim Dzabraev
484d8d361d
Make gdb.selected_thread().inferior return a new reference
...
thpy_get_inferior function should return a new reference to the
existing inferior object, and therefore should increment its refcount.
Fixed bug looks like this.
If multiple time call gdb.selected_thread ().inferior, gdb throws exception:
(gdb) pi gdb.selected_thread().inferior
<gdb.Inferior object at 0x7f1952bea698>
(gdb) pi gdb.selected_thread().inferior
Python Exception <type 'exceptions.AttributeError'> 'NoneType' object
has no attribute 'inferior':
Error while executing Python code.
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7f54f0474740 (LWP 584) "mc" 0x00007f54ef055c33 in
2017-10-28 14:19:08 -04:00
..
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-10-16 15:06:14 -04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-06-30 09:31:21 -04:00
2017-03-08 12:46:44 +00:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-02-14 10:38:56 -07:00
2017-01-01 10:52:34 +04:00
2017-10-13 12:29:49 +01:00
2017-01-01 10:52:34 +04:00
2017-10-13 13:25:20 +01:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-09-11 14:15:20 -06:00
2017-10-28 14:19:08 -04:00
2017-03-16 10:43:21 -07:00
2017-03-16 09:28:11 -07:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-08-21 11:34:32 +01:00
2017-08-21 11:34:32 +01:00
2017-08-21 11:34:32 +01:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-05-02 11:35:54 +02:00
2017-05-04 16:02:36 +01:00
2017-02-14 10:57:56 +01:00
2017-05-02 11:35:54 +02:00
2017-02-14 10:57:56 +01:00
2017-02-14 10:57:56 +01:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-03-20 13:47:59 -07:00
2017-03-20 13:47:59 -07:00
2017-01-01 10:52:34 +04:00
2017-03-29 21:53:43 +02:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-09-21 11:49:48 -07:00
2017-09-21 11:49:48 -07:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-07-22 00:01:03 +02:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-03-16 09:28:11 -07:00
2017-03-16 09:28:11 -07:00
2017-01-01 10:52:34 +04:00
2017-02-10 12:24:35 -07:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-20 13:15:36 -06:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00