diff options
Diffstat (limited to 'gdb/frv-tdep.c')
-rw-r--r-- | gdb/frv-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index 77f1374..9b7524c 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -197,7 +197,7 @@ new_variant (void) for (r = acc0_regnum; r <= acc7_regnum; r++) { char *buf; - xasprintf (&buf, "acc%d", r - acc0_regnum); + buf = xstrprintf ("acc%d", r - acc0_regnum); var->register_names[r] = buf; } @@ -210,7 +210,7 @@ new_variant (void) for (r = accg0_regnum; r <= accg7_regnum; r++) { char *buf; - xasprintf (&buf, "accg%d", r - accg0_regnum); + buf = xstrprintf ("accg%d", r - accg0_regnum); var->register_names[r] = buf; } |