8sa1-binutils-gdb/gdb/mi
Marc Khouzam de051565df gdb/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * mi/mi-cmd-var.c: Include "mi-getopt.h".
        (mi_parse_format): New.  Factored out from mi_cmd_var_set_format.
        (mi_cmd_var_set_format): Use new mi_parse_format.
        (mi_cmd_var_evaluate_expression): Support for -f option to specify
        format.
        * Makefile.in (mi-cmd-var.o): Update dependencies.

        * varobj.h (varobj_get_formatted_value): Declare.
        * varobj.c (my_value_of_variable): Added format parameter.
        (cplus_value_of_variable): Likewise.
        (java_value_of_variable): Likewise.
        (c_value_of_variable): Likewise.  Evaluate expression based
        on format parameter.
        (struct language_specific): Add format parameter to function member
        *value_of_variable.
        (varobj_get_formatted_value): New.
        (varobj_get_value): Added format parameter to method call.

gdb/doc/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * gdb.texinfo (GDB/MI Variable Objects): Add anchor to
        -var-set-format.  Add -f option to -var-evaluate-expression.

gdb/testsuite/ChangeLog
2008-04-09  Marc Khouzam  <marc.khouzam@ericsson.com>

        * gdb.mi/mi2-var-display.exp: Added tests for the new -f
        option of -var-evaluate-expression.
        * gdb.mi/mi2-var-display.exp: Likewise.
2008-04-09 13:29:55 +00:00
..
ChangeLog-1999-2003
gdb-mi.el Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-cmd-break.c * breakpoint.c (break_command_1): Return void. 2008-02-01 16:24:47 +00:00
mi-cmd-disas.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-cmd-env.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field 2008-01-30 01:47:38 +00:00
mi-cmd-stack.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-cmd-target.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-cmd-var.c gdb/ChangeLog 2008-04-09 13:29:55 +00:00
mi-cmds.c Implement -thread-info. 2008-03-15 13:53:25 +00:00
mi-cmds.h gdb/ 2008-04-04 21:59:25 +00:00
mi-common.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-common.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-console.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-console.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-getopt.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-getopt.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-interp.c gdb/ 2008-04-04 21:59:25 +00:00
mi-main.c gdb/ 2008-04-04 21:59:25 +00:00
mi-main.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-out.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-out.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-parse.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-parse.h Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00
mi-symbol-cmds.c Updated copyright notices for most files. 2008-01-01 22:53:26 +00:00