Re: gdb crashes on current

2024-03-21 Thread Brett Lymn
On Wed, Mar 20, 2024 at 10:02:41PM +, Patrick Welche wrote: > > Just had a go, and "tui enable" doesn't get as far as libcurses > How odd. I tried this on my system which was last updated June 14 last year and both running gdb then doing tui enable or just running gdb -tui Just Works(tm).

Re: gdb crashes on current

2024-03-20 Thread Patrick Welche
On Wed, Mar 20, 2024 at 11:33:30PM +0500, Vitaly Shevtsov wrote: > Hello! > > It seems that gdb from base NetBSD image doesn't work with netbsd's > libcurses in tui mode: > > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x756547929fba in _lwp_kill () from

Re: gdb crashes on current

2024-03-20 Thread Rhialto
On Thu 21 Mar 2024 at 00:29:40 +0500, Vitaly Shevtsov wrote: > Hello! > > It's when you run it with the `-tui` option - text user interface. > Also you can toggle it with C-x C-a or with "tui enable" and "tui disable", too... It can be kind of nice, when it works. -Olaf. -- ___ Olaf 'Rhialto'

Re: gdb crashes on current

2024-03-20 Thread Vitaly Shevtsov
cli is the main mode in gdb but it also has a built-in pseudo graphic mode :) On Thu, Mar 21, 2024 at 12:48 AM Justin Parrott wrote: > > The last I checked gdb it was a command line interfaced system. > > On Wed, Mar 20, 2024 at 3:47 PM Vitaly Shevtsov wrote: >> >> Sorry, what do you mean? :)

Re: gdb crashes on current

2024-03-20 Thread Vitaly Shevtsov
Sorry, what do you mean? :) It's native pseudo graphic interface On Thu, Mar 21, 2024 at 12:34 AM Justin Parrott wrote: > > Is that not the Default? > > On Wed, Mar 20, 2024 at 3:30 PM Vitaly Shevtsov wrote: >> >> Hello! >> >> It's when you run it with the `-tui` option - text user interface.

Re: gdb crashes on current

2024-03-20 Thread Vitaly Shevtsov
Hello! It's when you run it with the `-tui` option - text user interface. Also you can toggle it with C-x C-a https://sourceware.org/gdb/current/onlinedocs/gdb.html/TUI.html On Thu, Mar 21, 2024 at 12:21 AM Justin Parrott wrote: > > What is TUI mode? > > On Wed, Mar 20, 2024 at 2:34 PM Vitaly