mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
* 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.
This commit is contained in:
@ -1821,7 +1821,8 @@ value_get_print_value (struct value *value, enum varobj_display_formats format)
|
||||
stb = mem_fileopen ();
|
||||
old_chain = make_cleanup_ui_file_delete (stb);
|
||||
|
||||
common_val_print (value, stb, format_code[(int) format], 1, 0, 0);
|
||||
common_val_print (value, stb, format_code[(int) format], 1, 0, 0,
|
||||
current_language);
|
||||
thevalue = ui_file_xstrdup (stb, &dummy);
|
||||
|
||||
do_cleanups (old_chain);
|
||||
|
Reference in New Issue
Block a user