diff options
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1139,6 +1139,7 @@ execute_command (p, from_tty) register struct cmd_list_element *c; register enum language flang; static int warned = 0; + extern FILE *serial_logfp; free_all_values (); @@ -1146,6 +1147,9 @@ execute_command (p, from_tty) if (p == NULL) return; + if (serial_logfp != NULL) + serial_log_command (p); + while (*p == ' ' || *p == '\t') p++; if (*p) { |