diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-29 18:49:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-29 20:29:06 -0600 |
commit | 414ad644a86fab3e5c22f622c5f586ce7a8bcf03 (patch) | |
tree | 8100a3e2831f5b382d1e173178d5802bca2f5bfc /intl/localcharset.c | |
parent | 1bc397c561f55c1cf67a5e02f5c9305a54155a2e (diff) | |
download | gdb-414ad644a86fab3e5c22f622c5f586ce7a8bcf03.zip gdb-414ad644a86fab3e5c22f622c5f586ce7a8bcf03.tar.gz gdb-414ad644a86fab3e5c22f622c5f586ce7a8bcf03.tar.bz2 |
Use setter for attribute's unsigned value
This adds form_is_unsigned and an unsigned setter method to struct
attribute, and updates the remaining code. Now DW_UNSND is no longer
used as an lvalue.
gdb/ChangeLog
2020-09-29 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (read_attribute_value): Update.
* dwarf2/attribute.h (struct attribute) <form_is_unsigned,
set_unsigned>: New methods.
* dwarf2/attribute.c (attribute::form_is_unsigned): New method.
Diffstat (limited to 'intl/localcharset.c')
0 files changed, 0 insertions, 0 deletions