aboutsummaryrefslogtreecommitdiff
path: root/gprof/alpha.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2018-07-20 22:19:04 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2018-07-20 22:19:51 -0400
commit0ee6c332f36222a73abee41bc5168bacf78c9189 (patch)
treef76664d065d80f4beae447cc0cbda25508f176ec /gprof/alpha.c
parentbef891d212194e71264a6276094efffddb06c586 (diff)
downloadgdb-0ee6c332f36222a73abee41bc5168bacf78c9189.zip
gdb-0ee6c332f36222a73abee41bc5168bacf78c9189.tar.gz
gdb-0ee6c332f36222a73abee41bc5168bacf78c9189.tar.bz2
Rename some frame unwind function parameters
I am currently working with these functions, and though this renaming could help to reason about the code. Some functions take a frame and will return the value associated to that frame, others will return the value associated to the previous frame. Those usually conveniently contain "unwind" in their name, but naming the variable next_frame instead of frame helps remembering which frame we are dealing with. I also included a little typo fix at the top of frame.h. gdb/ChangeLog: * frame.c (frame_register_unwind): Change parameter name. (frame_unwind_register): Likewise. (frame_unwind_register_value): Likewise. (frame_unwind_register_signed): Likewise. (frame_unwind_register_unsigned): Likewise. * frame.h (frame_register_unwind): Likewise. (frame_unwind_register): Likewise. (frame_unwind_register_value): Likewise. (frame_unwind_register_signed): Likewise. (frame_unwind_register_unsigned): Likewise. (frame_unwind_arch): Likewise.
Diffstat (limited to 'gprof/alpha.c')
0 files changed, 0 insertions, 0 deletions