diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-07-06 16:56:42 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2015-07-06 19:13:02 +0100 |
commit | 10e9aaa3b8554f997db993c8158493a96030d4d5 (patch) | |
tree | 8748c8447415ff87c8f7151cd65dfae64abe2e9c /gdb/ChangeLog | |
parent | 8a13d42d99390c36d5e7884b509e6bb92ec72e3c (diff) | |
download | gdb-10e9aaa3b8554f997db993c8158493a96030d4d5.zip gdb-10e9aaa3b8554f997db993c8158493a96030d4d5.tar.gz gdb-10e9aaa3b8554f997db993c8158493a96030d4d5.tar.bz2 |
gdb/tui: Don't cast between window types.
Instead of casting between structure types to get the 'tui_gen_win_info'
info from a 'tui_win_info' access the generic member variable. This is
inline with what is done throughout the rest of the tui code.
gdb/ChangeLog:
* tui/tui-win.c (tui_set_focus): Use structure member 'generic'
instead of casting the structure type.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5b626ed..dd39d1b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-07-06 Andrew Burgess <andrew.burgess@embecosm.com> + + * tui/tui-win.c (tui_set_focus): Use structure member 'generic' + instead of casting the structure type. + 2015-07-06 Simon Marchi <simon.marchi@ericsson.com> * valops.c (search_struct_field): Remove OFFSET parameter. |