cyrus-and / gdb-dashboard

Modular visual interface for GDB in Python
MIT License
10.99k stars 768 forks source link

How do you save the dashboard layout? #307

Closed blixelcode closed 8 months ago

blixelcode commented 8 months ago
  1. How do you save the dashboard layout?
  2. How do you change the registers to display decimal instead of hex?

Thanks

EDIT: I found that if I make the "~/.gdbinit.d" subdirectory and type "dashboard -configuration ~/.gdbinit.d/init" from within the dashboard, it saves my config. So that takes care of question 1. But I'd still like to know how to change the registers so they display in decimal.

vs97849 commented 8 months ago

Hi Cyrus, Had tried some time before. So do not remember now. Could you please write here step by step instruction so that gdb loads successfully without error and color coding is maintained in main gdb session and on tui mode too. I am using gdb12 , Linux bash shell.

Had downloaded the .gdbinit from your page to my home dir.

Thanks

On Sun, 31 Dec 2023, 12:32 am blixelcode, @.***> wrote:

  1. How do you save the dashboard layout?
  2. How do you change the registers to display decimal instead of hex?

Thanks

— Reply to this email directly, view it on GitHub https://github.com/cyrus-and/gdb-dashboard/issues/307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEE2OHAE623IMRREUUWDPALYMBQKTAVCNFSM6AAAAABBHWEYPSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DAOBSHA4TOOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

vs97849 commented 8 months ago

If you could once try for CentOS on bash, That would be great. But for me, python errors were there while starting the gdb

On Sun, 31 Dec 2023, 1:23 am Vinod Singh, @.***> wrote:

Hi Cyrus, Had tried some time before. So do not remember now. Could you please write here step by step instruction so that gdb loads successfully without error and color coding is maintained in main gdb session and on tui mode too. I am using gdb12 , Linux bash shell.

Had downloaded the .gdbinit from your page to my home dir.

Thanks

On Sun, 31 Dec 2023, 12:32 am blixelcode, @.***> wrote:

  1. How do you save the dashboard layout?
  2. How do you change the registers to display decimal instead of hex?

Thanks

— Reply to this email directly, view it on GitHub https://github.com/cyrus-and/gdb-dashboard/issues/307, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEE2OHAE623IMRREUUWDPALYMBQKTAVCNFSM6AAAAABBHWEYPSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DAOBSHA4TOOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

cyrus-and commented 8 months ago

How do you change the registers to display decimal instead of hex?

@blixelcode this is currently not possible, but you can watch the registers you want in whatever radix you want, for example:

dashboard expressions watch /10 $rax

@vs97849 the dashboard is incompatible with TUI mode, also please don't hijack other issues.