diff options
author | Tom Tromey <tom@tromey.com> | 2020-03-13 17:39:52 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-03-13 18:03:39 -0600 |
commit | a6e05a6c3a9439a7253d2eab7ee4fe760b4cc829 (patch) | |
tree | 61b0a61bfdf4bd89eb4d8f5e1be247f89692328b /gdb/mi | |
parent | 3444c526a33e61aeff86cbe1184e765458007890 (diff) | |
download | gdb-a6e05a6c3a9439a7253d2eab7ee4fe760b4cc829.zip gdb-a6e05a6c3a9439a7253d2eab7ee4fe760b4cc829.tar.gz gdb-a6e05a6c3a9439a7253d2eab7ee4fe760b4cc829.tar.bz2 |
Use common_val_print in mi-main.c
This changes a spot in mi-main.c to use common_val_print rather than
val_print.
gdb/ChangeLog
2020-03-13 Tom Tromey <tom@tromey.com>
* mi/mi-main.c (output_register): Use common_val_print.
Diffstat (limited to 'gdb/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index d0a3b28..68cbcdd 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1120,9 +1120,7 @@ output_register (struct frame_info *frame, int regnum, int format, get_formatted_print_options (&opts, format); opts.deref_ref = 1; - val_print (value_type (val), - value_embedded_offset (val), 0, - &stb, 0, val, &opts, current_language); + common_val_print (val, &stb, 0, &opts, current_language); uiout->field_stream ("value", stb); } |