diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2018-07-20 22:19:04 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2018-07-20 22:19:51 -0400 |
commit | 0ee6c332f36222a73abee41bc5168bacf78c9189 (patch) | |
tree | f76664d065d80f4beae447cc0cbda25508f176ec /gdb/ChangeLog | |
parent | bef891d212194e71264a6276094efffddb06c586 (diff) | |
download | gdb-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 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cada947..68c3bb3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +2018-07-20 Simon Marchi <simon.marchi@polymtl.ca> + + * 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. + 2018-07-20 Maciej W. Rozycki <macro@mips.com> * MAINTAINERS: Update my e-mail address, downgrade to MIPS I-IV |