Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] free_all_values in MI
Date: Tue, 23 Jan 2007 07:36:00 -0000	[thread overview]
Message-ID: <17845.47836.736449.754969@kahikatea.snap.net.nz> (raw)


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)
      {


             reply	other threads:[~2007-01-23  7:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-23  7:36 Nick Roberts [this message]
2007-01-23 13:04 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17845.47836.736449.754969@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox