diff options
author | Indu Bhagat <indu.bhagat@oracle.com> | 2024-08-01 11:50:10 -0700 |
---|---|---|
committer | Indu Bhagat <indu.bhagat@oracle.com> | 2024-08-01 11:50:10 -0700 |
commit | 648ad82c558c88ef38b4eddab4e68afed3cc6b21 (patch) | |
tree | a036e857fdf64bb07e90b8fdf8b6a6c34e2aa616 /texinfo | |
parent | 67f39cdbc9d07ae5f14f988aedc887bb5bbae495 (diff) | |
download | gdb-648ad82c558c88ef38b4eddab4e68afed3cc6b21.zip gdb-648ad82c558c88ef38b4eddab4e68afed3cc6b21.tar.gz gdb-648ad82c558c88ef38b4eddab4e68afed3cc6b21.tar.bz2 |
gas: ginsn: minor improvements in ginsn_dst_print and ginsn_src_print
Keep the two symmetrical looking. Makes sense to perform the sanity
checks similarly too.
gas/
* ginsn.c (ginsn_src_print): Buffer up result of snprintf and
add sanity checks on the value.
(ginsn_dst_print): Use switch case instead.
Diffstat (limited to 'texinfo')
0 files changed, 0 insertions, 0 deletions