This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 6.5 branch on Sun May 14th
- From: Nick Roberts <nickrob at snap dot net dot nz>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 14 May 2006 17:33:58 +1200
- Subject: Re: GDB 6.5 branch on Sun May 14th
- References: <20060514050107.GA6718@adacore.com>
> Now that the last couple of patches I thought were important enough to
> delay 6.5 are in, I was thinking that maybe tomorrow would be a good
> day to use as the start of the 6.5 branch. Any better suggestion?
Could I sneak in the change to -var-set-format that I submitted earlier?
(reproduced below). There must be a chance that Emacs 22 will be released
before the GDB release after 6.5, and then I'll be up and running.
--
Nick http://www.inet.net.nz/~nickrob
2006-05-02 Nick Roberts <nickrob@snap.net.nz>
* mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
*** mi-cmd-var.c 31 Mar 2006 12:46:48 +1200 1.23
--- mi-cmd-var.c 02 May 2006 18:16:39 +1200
***************
*** 211,216 ****
--- 211,219 ----
/* Report the new current format */
ui_out_field_string (uiout, "format", varobj_format_string[(int) format]);
+
+ /* Report the value in the new format */
+ ui_out_field_string (uiout, "value", varobj_get_value (var));
return MI_CMD_DONE;
}