Tom Tromey
7f968c899f
Avoid some manual memory management in Python
...
This changes a few places in the Python code to avoid manual memory
management, in favor of letting std::string do the work.
ChangeLog
2017-08-03 Tom Tromey <tom@tromey.com>
* python/python.c (compute_python_string): Return std::string.
(gdbpy_eval_from_control_command): Update.
(do_start_initialization): Use std::string.
* python/py-varobj.c (py_varobj_iter_next): Use string_printf, not
xstrprintf.
* python/py-breakpoint.c (local_setattro): Use string_printf, not
xstrprintf.
2017-08-03 07:59:07 -06:00
..
2017-03-22 11:22:07 +00:00
2017-04-05 19:21:36 +01:00
2017-01-01 10:52:34 +04:00
2017-04-05 19:21:36 +01:00
2017-02-10 12:24:31 -07:00
2017-08-03 07:59:07 -06:00
2017-07-17 14:45:59 +01:00
2017-02-10 12:24:31 -07:00
2017-04-05 19:21:37 +01:00
2017-04-05 19:21:37 +01:00
2017-02-14 10:38:56 -07:00
2017-02-10 12:24:32 -07:00
2017-04-05 19:21:37 +01:00
2017-02-10 12:24:31 -07:00
2017-04-12 11:16:17 -06:00
2017-02-10 12:24:32 -07:00
2017-04-05 19:21:37 +01:00
2017-02-10 12:24:31 -07:00
2017-01-20 20:39:08 -05:00
2017-04-27 17:03:25 -04:00
2017-02-10 12:24:31 -07:00
2017-04-05 19:21:36 +01:00
2017-05-02 11:35:54 +02:00
2017-05-02 11:35:54 +02:00
2017-04-05 19:21:36 +01:00
2017-04-12 11:16:17 -06:00
2017-02-10 12:24:31 -07:00
2017-04-05 19:21:36 +01:00
2017-04-05 19:21:37 +01:00
2017-02-10 12:24:33 -07:00
2017-04-05 19:21:36 +01:00
2017-05-30 12:49:25 +02: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-05-02 11:35:54 +02:00
2017-05-02 11:35:54 +02:00
2017-02-10 12:24:31 -07:00
2017-02-10 12:24:31 -07:00
2017-02-10 12:24:31 -07:00
2017-01-01 10:52:34 +04:00
2017-04-05 19:21:36 +01:00
2017-04-05 19:21:36 +01:00
2017-02-10 12:24:31 -07:00
2017-04-05 19:21:36 +01:00
2017-07-06 00:19:24 +01:00
2017-02-10 12:24:31 -07:00
2017-04-05 19:21:36 +01:00
2017-08-03 07:59:07 -06:00
2017-03-20 13:47:52 -07:00
2017-05-02 11:35:54 +02:00
2017-08-03 07:59:07 -06:00
2017-01-01 10:52:34 +04:00