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:40 -0600 |
commit | 59fcdac646cf4ed3168cd787a883d282b4d9de1f (patch) | |
tree | 7c0a837e4e4fdc70ed6c0e4bc01d311f1462bfe0 /binutils/deflex.l | |
parent | d133c3e1a877259bbee460897d9a6a2820ffe451 (diff) | |
download | gdb-59fcdac646cf4ed3168cd787a883d282b4d9de1f.zip gdb-59fcdac646cf4ed3168cd787a883d282b4d9de1f.tar.gz gdb-59fcdac646cf4ed3168cd787a883d282b4d9de1f.tar.bz2 |
Convert Modula-2 printing to value-based API
This finishes the conversion of Modula-2 printing to the value-based
API. It does so by copying the body of m2_val_print into
m2_value_print_inner, and then introducing new functions as needed to
use the value API.
The "val_" API code continues to exist, because it's still possible
for it to be called via some paths. This code will all be removed at
the end of the series.
gdb/ChangeLog
2020-03-13 Tom Tromey <tom@tromey.com>
* m2-valprint.c (m2_print_unbounded_array): New overload.
(m2_print_unbounded_array): Update.
(m2_print_array_contents): Take a struct value.
(m2_value_print_inner): Rewrite.
Diffstat (limited to 'binutils/deflex.l')
0 files changed, 0 insertions, 0 deletions