projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3444c52
)
Use common_val_print in mi-main.c
author
Tom Tromey
<tom@tromey.com>
Fri, 13 Mar 2020 23:39:52 +0000
(17:39 -0600)
committer
Tom Tromey
<tom@tromey.com>
Sat, 14 Mar 2020 00:03:39 +0000
(18:03 -0600)
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.
gdb/ChangeLog
patch
|
blob
|
history
gdb/mi/mi-main.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index f68e90317d985f3fb938941e68bc4e1ac210a58a..3cab13b743288f66213f4d54f96f8452e54e22a1 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,3
+1,7
@@
+2020-03-13 Tom Tromey <tom@tromey.com>
+
+ * mi/mi-main.c (output_register): Use common_val_print.
+
2020-03-13 Tom Tromey <tom@tromey.com>
* infcmd.c (default_print_one_register_info): Use
diff --git
a/gdb/mi/mi-main.c
b/gdb/mi/mi-main.c
index d0a3b2887440683fd1a64bc1acbd31b4c067e90a..68cbcdd4fcd4f70433847e03e407e3b1cd2e47dd 100644
(file)
--- 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);
}