Opened 15 years ago

Closed 15 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:
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 15 years ago.
patch to enable gdb's tui mode
gdb_collisions.txt (50.2 KB ) - added by v 15 years ago.
list of Name collisions upon starting gdb in tui mode
gdb_border.png (215.4 KB ) - added by v 15 years ago.
messed up curses window border in tui mode

Download all attachments as: .zip

Change History (6)

by v, 15 years ago

Attachment: haiku_enable_gdbtui.diff added

patch to enable gdb's tui mode

by v, 15 years ago

Attachment: gdb_collisions.txt added

list of Name collisions upon starting gdb in tui mode

by v, 15 years ago

Attachment: gdb_border.png added

messed up curses window border in tui mode

in reply to:  description ; comment:1 by idefix, 15 years ago

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.

in reply to:  1 comment:2 by v, 15 years ago

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 by axeld, 15 years ago

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.