Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15473 > unrolled thread
| Started by | Kartikey Tewari <kartikeya30@gmail.com> |
|---|---|
| First post | 2019-10-05 14:41 +0530 |
| Last post | 2019-10-05 14:41 +0530 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
the gdb does not displays tui properly Kartikey Tewari <kartikeya30@gmail.com> - 2019-10-05 14:41 +0530
| From | Kartikey Tewari <kartikeya30@gmail.com> |
|---|---|
| Date | 2019-10-05 14:41 +0530 |
| Subject | the gdb does not displays tui properly |
| Message-ID | <mailman.1027.1570283828.2651.bug-bash@gnu.org> |
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:<line_number> 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
Back to top | Article view | gnu.bash.bug
csiph-web