rohanrhu / gdb-frontend

☕ GDBFrontend is an easy, flexible and extensible gui debugger.
https://oguzhaneroglu.com/projects/gdb-frontend/
GNU General Public License v3.0
2.83k stars 101 forks source link

Add registers display support with x86 ISA? #33

Closed 0400H closed 2 years ago

0400H commented 2 years ago

Just like gdbgui, it can display the common registers and vector registers(xmm ymm zmm, etc).

It is very unfortunately for gdbgui that has not been updated for a long time, making the registers unavailable.

Are there any plans to add this feature?

gdbgui

rohanrhu commented 2 years ago

I will add a registers section in the next version. Thank you for your feedback. 🙂

For now you can add registers to Watches like $rax.

rohanrhu commented 2 years ago

It is done. I will release it soon.

image

rohanrhu commented 2 years ago

Just like gdbgui, it can display the common registers and vector registers(xmm ymm zmm, etc).

It is very unfortunately for gdbgui that has not been updated for a long time, making the registers unavailable.

Are there any plans to add this feature?

gdbgui

You can try it from latest GIT revision. I will release v0.9.0-beta with some more features.

0400H commented 2 years ago

Just like gdbgui, it can display the common registers and vector registers(xmm ymm zmm, etc). It is very unfortunately for gdbgui that has not been updated for a long time, making the registers unavailable. Are there any plans to add this feature? gdbgui

You can try it from latest GIT revision. I will release v0.9.0-beta with some more features.

ENV

  Ubuntu 18.04 Docker
  gcc/g++ 7.5.0
  gdb 8.1.1
  python 3.6.9

CMD

git clone https://github.com/rohanrhu/gdb-frontend.git gdb-frontend
cd gdb-frontend
./gdbfrontend

gdb-frontend can not work on "Added Registers view". Nothing and no response in the Web-UI. gdb-frontend can work on "Update information about zombie processes".

It is recommended to provide a base dockerfile to testing and contributing code.

rohanrhu commented 2 years ago

gdb-frontend can not work on "Added Registers view". Nothing and no response in the Web-UI. gdb-frontend can work on "Update information about zombie processes".

Both revisions are same.

Sometimes, xterm.js may lock interactions on the window. In this situation, just focus the terminal that you ran gdbfrontend command and press enter for once, then it will get well.

It is recommended to provide a base dockerfile to testing and contributing code.

One of our main requirements is platform-compatibility, so we just need to test revisions or different OSes/platforms. Recently I have started to test it on different distros on virtual machine. So Docker is not something we need.

If you want to contribute to GDBFrontend, you can join to Discord server. https://discord.gg/RyVY9MtB4S You can ask about development of the debugger on Discord.

Happy debugging! 🎉🎉🎉

rohanrhu commented 2 years ago

This feature is done and released.