aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32c-dis.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-10-09 14:10:03 -0700
committerJoel Brobecker <brobecker@adacore.com>2015-10-09 14:27:43 -0700
commit086ca51f460e52828fa02096638a3f36e272ccd2 (patch)
tree7d9ed572db87feb6150a3850658309adb47a5d07 /opcodes/m32c-dis.c
parentc5bcd27856f388ae4935b525b1016e812803ddf5 (diff)
downloadgdb-086ca51f460e52828fa02096638a3f36e272ccd2.zip
gdb-086ca51f460e52828fa02096638a3f36e272ccd2.tar.gz
gdb-086ca51f460e52828fa02096638a3f36e272ccd2.tar.bz2
More explicit local variable names in ada_value_primitive_packed_val
A number of local variables declared in ada_value_primitive_packed_val have a name that could, IMO, be improved to, either: Be more explicit about what the variable is about (Eg: "src" is an index, so rename it to "src_idx"); or be more consistent with other variables that they relate to: for instance, several variables refer to the source via "src" (Eg: srcBitsLeft, nsrc), but the buffer they refer to is called "bytes", so patch renames "bytes" to "src". This should help read and understand a little more easily the code inside this function. No real code change otherwise. gdb/ChangeLog: * ada-lang.c (ada_value_primitive_packed_val): Make the name of various local variables more explicit and consistent. No real code change otherwise.
Diffstat (limited to 'opcodes/m32c-dis.c')
0 files changed, 0 insertions, 0 deletions