diff options
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 4058a98..ceeaca6 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -1572,7 +1572,7 @@ regcache_dump (struct regcache *regcache, struct ui_file *file, char *n; if (!footnote_register_type_name_null) footnote_register_type_name_null = ++footnote_nr; - xasprintf (&n, "*%d", footnote_register_type_name_null); + n = xstrprintf ("*%d", footnote_register_type_name_null); make_cleanup (xfree, n); t = n; } |