* valprint.c (val_print): Add new language parameter and use it
authorJoel Brobecker <brobecker@gnat.com>
Tue, 6 May 2008 21:35:01 +0000 (21:35 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 6 May 2008 21:35:01 +0000 (21:35 +0000)
commitd8ca156b0e90ca9549bde4a88c2c2f27127f71a7
tree6e3dcc04ed2388f8fab12af288022cd1045e91f6
parent2b706932eef86b25a7a833b0e3136d3a0429bfab
    * valprint.c (val_print): Add new language parameter and use it
        instead of using the current_language. Update calls to val_print
        throughout.
        (common_val_print): Add new langauge parameter and pass it to
        val_print.
        * value.h (struct language_defn): Add opaque declaration.
        (val_print, common_val_print): Update declarations.
        * stack.c (print_frame_args): Update call to common_val_print
        using the appropriate language.
        * mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
        * c-valprint, f-valprint.c, m2-valprint.c, mt-tdep.c, infcmd.c,
        mi/mi-main.c, jv-valprint.c, ada-valprint.c, varobj.c, p-valprint.c,
        scm-valprint.c, cp-valprint.c, sh64-tdep.c, printcmd.c:
        #include "language.h" if necessary.
        Update calls to val_print and common_val_print.
        * Makefile.in (mt-tdep.o, sh64-tdep.o, mi-cmds.o, mi-main.o):
        Update dependencies.
20 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/ada-valprint.c
gdb/c-valprint.c
gdb/cp-valprint.c
gdb/f-valprint.c
gdb/infcmd.c
gdb/jv-valprint.c
gdb/m2-valprint.c
gdb/mi/mi-cmd-stack.c
gdb/mi/mi-main.c
gdb/mt-tdep.c
gdb/p-valprint.c
gdb/printcmd.c
gdb/scm-valprint.c
gdb/sh64-tdep.c
gdb/stack.c
gdb/valprint.c
gdb/value.h
gdb/varobj.c