diff options
Diffstat (limited to 'gdb/macroexp.c')
-rw-r--r-- | gdb/macroexp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/macroexp.c b/gdb/macroexp.c index 22b904e..fa34311 100644 --- a/gdb/macroexp.c +++ b/gdb/macroexp.c @@ -704,6 +704,7 @@ macro_stringify (const char *str) init_buffer (&buffer, len); stringify (&buffer, str, len); + appendc (&buffer, '\0'); return free_buffer_return_text (&buffer); } |