--- ./gdb/stack.c_orig	2018-08-30 08:15:08 +0000
+++ ./gdb/stack.c	2018-08-30 08:14:15 +0000
@@ -545,6 +545,7 @@
   int args_printed = 0;
   /* True if we should print arguments, false otherwise.  */
   int print_args = strcmp (print_frame_arguments, "none");
+  int null_args = 0;
 
   if (func)
     {
@@ -618,6 +619,12 @@
 
 	      nsym = lookup_symbol_search_name (SYMBOL_SEARCH_NAME (sym),
 						b, VAR_DOMAIN).symbol;
+              /* if (!nsym) continue; */
+              if (!nsym) 
+              {
+                  null_args = 1;
+                  goto printnull_args;
+              }
 	      gdb_assert (nsym != NULL);
 	      if (SYMBOL_CLASS (nsym) == LOC_REGISTER
 		  && !SYMBOL_IS_ARGUMENT (nsym))
@@ -698,7 +705,13 @@
 	  xfree (entryarg.error);
 
 	  first = 0;
-	}
+	printnull_args:
+            if (null_args == 1) {
+                null_args = 0;
+                uiout->text (", ");
+                uiout->wrap_hint ("    ");
+             }
+         }
     }
 
   /* Don't print nameless args in situations where we don't know
