This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] free_all_values in MI


Currently, in MI, free_all_values only really gets called via the asynchronous
commands from execute_command.  This patch ensures that it is called more
often, and more reliably (the asynchronous commands might one day be
implemented directly without use of execute_command).


-- 
Nick                                           http://www.inet.net.nz/~nickrob


2007-01-23  Nick Roberts  <nickrob@snap.net.nz>

	* mi/mi-main.c: Call free_all_values.


*** mi-main.c	23 Jan 2007 20:20:12 +1300	1.90
--- mi-main.c	23 Jan 2007 20:21:56 +1300	
*************** mi_execute_command (char *cmd, int from_
*** 1191,1196 ****
--- 1191,1198 ----
  static enum mi_cmd_result
  mi_cmd_execute (struct mi_parse *parse)
  {
+   free_all_values ();
+ 
    if (parse->cmd->argv_func != NULL
        || parse->cmd->args_func != NULL)
      {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]