* tracepoint.c (current_trace_status): Don't make sure error_desc
authorPedro Alves <palves@redhat.com>
Fri, 26 Mar 2010 15:26:29 +0000 (15:26 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 26 Mar 2010 15:26:29 +0000 (15:26 +0000)
commita609a0c8aea65ad85b9be6a7cb5a18d4a1d2ea68
treef946c750ede1eb8d23f48851334fb2d04e61ecda
parent610197fd468b01ed5bc653b19e7c720f2a8d1f8d
* tracepoint.c (current_trace_status): Don't make sure error_desc
is non-NULL here.
(parse_trace_status): Release a previous error_desc string, and
set it to NULL by default.  If stop reason is tracepoint_error,
make sure error_desc is not left NULL.
gdb/ChangeLog
gdb/tracepoint.c