Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Kartikey Tewari Newsgroups: gnu.bash.bug Subject: the gdb does not displays tui properly Date: Sat, 5 Oct 2019 14:41:38 +0530 Lines: 56 Approved: bug-bash@gnu.org Message-ID: References: NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: usenet.stanford.edu 1570283828 17414 209.51.188.17 (5 Oct 2019 13:57:08 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org, bash@packages.debian.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=626NQkuA3jKXrhBsMLN3x1NZ1rHAjkAFOHNW/N+OB5E=; b=B2tGcUhlDzexIBeoMzQjuDflp1oU1C60N1onujhDLlKv4RIm92+SOwQdWEVY19Oe8E axYWps2i0tfOv5CsvEsVjwQU1yiEwXGxqpz4mb0vfXUnXSaKUY5rLp8wVPugnJZ/JAB8 R96gDK0jRqIBu1/K7DZpEbFY9SKuHLjv9fA1ze1j7kRCw3Wtl9j8DKiZO2cSzRrRSL+A i35Q907ne/P5SvDwPAC1jBfdkWa3WIwLyLjS13wAWx2PsqX8E6PKygv6JPA0bqZrvs8+ S7BYsAVS+2iKolLJ5/4j+rk2/0YKggYR3uU/EKUsg1lBQQ63VRayWbZKWv1jyogih8ho FPsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=626NQkuA3jKXrhBsMLN3x1NZ1rHAjkAFOHNW/N+OB5E=; b=l7/t43kf4rGBzH4+mgMEbDaQY/6OF04oUGKwsp1BmBU0CO87gNm81ejyXjrsZGqp85 r0UiBpXM7PY4pP15z0vl7URnHbK3/dtW0opFUo93JNwiUsFmpWW6iGv0or/7ZCX9NSfP lSrDJl3koDhI9zM6GHPsEczrLv6B/VP4SWs8S8+YOlbMlHM9xVoFD3QSryxKhcjUOR7w uqkeEFPJI8sMF0z7gn7hqYTHl/x1MjHYD+ckAZA5sTWPXMQZASG06xtEM1Y4gMqzf0GR +Sc4g2D/9l6jggYkh9ry3babqAyO1dB9V+Vn6I6qd0Vuj4TSIGy+7i5hWWm45v+8XXRY GqMg== X-Gm-Message-State: APjAAAXL3Xbd1WSwE6No8mKOaQMgyqAGSYNpo5zGNPI5WGOhJ3gbqJn1 MrtlAuG7SdK7n8gwE5USx17U99n/FpSSw4iInxMQULwYgMU= X-Google-Smtp-Source: APXvYqz/Q0LrMEH6qroT8RleZRPs83MJJYKWrNCUICCZZpsWPnhr7KwqMIXQ0UWXHspG8y6sMyaJh4xIlGyg9NQf6Ak= X-Received: by 2002:a0c:f3c1:: with SMTP id f1mr5583221qvm.165.1570266725142; Sat, 05 Oct 2019 02:12:05 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::830 X-Mailman-Approved-At: Sat, 05 Oct 2019 09:57:05 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: Xref: csiph.com gnu.bash.bug:15473 Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/bash-N2nMjo/bash-4.4.18=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wno-parentheses -Wno-format-security uname output: Linux inspiron-5370 4.4.0-18362-Microsoft #1-Microsoft Mon Mar 18 12:02:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu Bash Version: 4.4 Patch Level: 20 Release Status: release Description: I am using Microsoft Windows-10 -wsl ubuntu. when dubugging c++ codes having extension .cpp via gdb debugger, I observe that TUI does not get rendered properly. But when I use the same code and binary in ubuntu-18.04 LTS, that I have dual booted alongwith win10 in the system the TUI works flawlessly. Please correct the same. Repeat-By: 1. write a code say, main.cpp 2. compile using g++ open cmd wsl g++ -g -o main.out main.cpp gdb tui enable file main.out l set breakpoints using b main.cpp: r (run the programme) n info local (tui breaks at this point) Fix: Using ctrl+l after every command works always.So, I tried hooking majour commands like next,continue, and info local to refresh command, but that does not works, always. Regards Kartikey Tewari Undergraduate CSE Department NIT, Hamirpur