Jan Vrany
219c04fc3b
gdb/python: fix gdb.Objfile.__repr__ () for dynamically compiled code
...
While experimenting with JIT reader API I realized that calling repr ()
on objfile created by JIT reader crashes GDB.
The problem was that objfpy_repr () called objfile_filename () which
returned NULL, causing PyString_FromFormat () to crash.
This commit fixes this problem by using objfile_name () instead of
objfile_filename (). This also makes consistent with the value of gdb.Objfile.filename variable.
2022-02-01 14:49:30 +00:00
..
2022-01-26 23:12:52 +00:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-26 06:49:51 -07:00
2022-01-26 06:49:51 -07:00
2022-01-26 06:49:51 -07:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-26 06:49:51 -07:00
2022-01-01 19:13:23 +04:00
2022-01-26 15:19:13 -07:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-26 06:49:51 -07:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-26 06:49:51 -07:00
2022-01-01 19:13:23 +04:00
2022-02-01 14:49:30 +00:00
2022-01-26 22:00:20 +00:00
2022-01-26 15:19:13 -07:00
2022-01-26 06:49:51 -07:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-01 19:13:23 +04:00
2022-01-26 06:49:51 -07:00
2022-01-26 06:49:51 -07:00
2022-01-26 06:49:51 -07:00
2022-01-26 06:49:51 -07:00
2022-01-26 21:58:12 +00:00
2022-01-01 19:13:23 +04:00
2022-01-26 06:49:51 -07:00
2021-05-07 10:56:20 -04:00
2022-01-26 21:58:12 +00:00
2022-01-26 23:12:52 +00:00
2022-01-01 19:13:23 +04:00