Opened 10 years ago

Closed 10 years ago

#4738 closed enhancement (fixed)

enable tui mode in gdb

Reported by: v Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

Attached patch begins to enable the text user-interface (tui) of gdb. It still has a few issues:

  • Upon starting gdb with 'gdb --tui' a list of collisions appears (gdb_collisions.txt). Possibly a conflict between libtermcap and libncurses.
  • The borders on the curses window apparently use the wrong character set. (gdb_border.png)

Attachments (3)

haiku_enable_gdbtui.diff (3.2 KB) - added by v 10 years ago.
patch to enable gdb's tui mode
gdb_collisions.txt (50.2 KB) - added by v 10 years ago.
list of Name collisions upon starting gdb in tui mode
gdb_border.png (215.4 KB) - added by v 10 years ago.
messed up curses window border in tui mode

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by v

Attachment: haiku_enable_gdbtui.diff added

patch to enable gdb's tui mode

Changed 10 years ago by v

Attachment: gdb_collisions.txt added

list of Name collisions upon starting gdb in tui mode

Changed 10 years ago by v

Attachment: gdb_border.png added

messed up curses window border in tui mode

comment:1 in reply to:  description ; Changed 10 years ago by idefix

Replying to v:

Attached patch begins to enable the text user-interface (tui) of gdb. It still has a few issues:

  • Upon starting gdb with 'gdb --tui' a list of collisions appears (gdb_collisions.txt). Possibly a conflict between libtermcap and libncurses.

The command line ftp application used to have the same problem. You might have a look at ticket:1957 to see how it was fixed.

comment:2 in reply to:  1 Changed 10 years ago by v

Replying to idefix:

You might have a look at ticket:1957 to see how it was fixed.

Thanks. #1957 seems to have been fixed by changing libtermcap, so I don't think that will work in this case. I don't remember if I tried using gdb on gdb to find the source of the collisions. I guess I'll try that (again?).

comment:3 Changed 10 years ago by axeld

Component: - GeneralApplications/Command Line Tools
Resolution: fixed
Status: newclosed

Thanks, patch applied in hrev33556. The remaining problems could/should be tracked in another ticket.

Note: See TracTickets for help on using tickets.