[PATCH] Modify trace-status output to always output stop-notes.
Yao Qi
yao@codesourcery.com
Thu Oct 11 00:10:00 GMT 2012
On 10/10/2012 07:17 PM, Dmitry Kozlov wrote:
> + if (ts->stop_desc)
> + {
> + char *buf = (char *) xmalloc (strlen (ts->stop_desc) * 2 + 1);
> +
> + bin2hex ((gdb_byte *) ts->stop_desc, buf, 0);
> + fprintf (fp, ";stop-notes:%s", buf);
> + }
Besides Stan's comments, the indentation here looks strange to me, and
BUF is not xfree'ed.
--
Yao
More information about the Gdb-patches
mailing list