mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
[gdb/tui] Assume HAVE_WBORDER
The tui border-kind setting allows values acs, ascii and space. The values ascii and space however don't work well with !HAVE_WBORDER. Fix this by removing the !HAVE_WBORDER case, which was introduced for Ultrix support, which is now obsolete. Tested on x86_64-linux. PR tui/30580 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30580 Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
@ -568,9 +568,6 @@
|
||||
/* Define to 1 if you have the <wait.h> header file. */
|
||||
#undef HAVE_WAIT_H
|
||||
|
||||
/* Define to 1 if you have the `wborder' function. */
|
||||
#undef HAVE_WBORDER
|
||||
|
||||
/* Define to 1 if you have the <windows.h> header file. */
|
||||
#undef HAVE_WINDOWS_H
|
||||
|
||||
|
2
gdb/configure
vendored
2
gdb/configure
vendored
@ -23452,7 +23452,7 @@ for ac_func in getuid getgid \
|
||||
pipe pread pread64 pwrite resize_term \
|
||||
getpgid setsid \
|
||||
sigaction sigsetmask socketpair \
|
||||
ttrace wborder wresize setlocale iconvlist libiconvlist btowc \
|
||||
ttrace wresize setlocale iconvlist libiconvlist btowc \
|
||||
setrlimit getrlimit posix_madvise waitpid \
|
||||
use_default_colors
|
||||
do :
|
||||
|
@ -1344,7 +1344,7 @@ AC_CHECK_FUNCS([getuid getgid \
|
||||
pipe pread pread64 pwrite resize_term \
|
||||
getpgid setsid \
|
||||
sigaction sigsetmask socketpair \
|
||||
ttrace wborder wresize setlocale iconvlist libiconvlist btowc \
|
||||
ttrace wresize setlocale iconvlist libiconvlist btowc \
|
||||
setrlimit getrlimit posix_madvise waitpid \
|
||||
use_default_colors])
|
||||
AM_LANGINFO_CODESET
|
||||
|
@ -98,14 +98,10 @@ box_win (struct tui_win_info *win_info,
|
||||
? tui_active_border_style.style ()
|
||||
: tui_border_style.style ()));
|
||||
wattron (win, attrs);
|
||||
#ifdef HAVE_WBORDER
|
||||
wborder (win, tui_border_vline, tui_border_vline,
|
||||
tui_border_hline, tui_border_hline,
|
||||
tui_border_ulcorner, tui_border_urcorner,
|
||||
tui_border_llcorner, tui_border_lrcorner);
|
||||
#else
|
||||
box (win, tui_border_vline, tui_border_hline);
|
||||
#endif
|
||||
if (!win_info->title.empty ())
|
||||
{
|
||||
/* Emit "+-TITLE-+" -- so 2 characters on the right and 2 on
|
||||
|
Reference in New Issue
Block a user