Make sure TABs are expanded in TUI windows on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sat, 31 Jan 2015 08:47:14 +0000 (10:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 31 Jan 2015 08:47:14 +0000 (10:47 +0200)
commit312809f8838911dabff84d7ad3ccf341307d2b19
treedda7c602c749573d5382b3b87f3943683f4ac855
parentb6577aab8a7e97470c5ff96000f3d0dbdb2c1ee1
Make sure TABs are expanded in TUI windows on MS-Windows.

gdb/
2015-01-31  Eli Zaretskii  <eliz@gnu.org>

* tui/tui-io.c (tui_expand_tabs): New function.
(tui_puts, tui_redisplay_readline): Expand TABs into the
appropriate number of spaces.
* tui/tui-regs.c: Include tui-io.h.
(tui_register_format): Call tui_expand_tabs to expand TABs into
the appropriate number of spaces.
* tui/tui-io.h: Add prototype for tui_expand_tabs.
gdb/ChangeLog
gdb/tui/tui-io.c
gdb/tui/tui-io.h
gdb/tui/tui-regs.c