Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

somthing was wrong with layout src #13

Open
ywgrit opened this issue Jul 11, 2023 · 2 comments
Open

somthing was wrong with layout src #13

ywgrit opened this issue Jul 11, 2023 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ywgrit
Copy link

ywgrit commented Jul 11, 2023

Hi, thank you for the convenience brought by this tool to my debugging experience. It is really useful!
I find something was wrong when gdb run "layout [src|asm|}regs|split|next|prev]". The specific problems are described below.

When I typed "n", the pane of src was broken, and gdb exited when I continue typing "n", the following is the screenshot
image

The Operator system is Ubuntu 20.04.6 TLS
The version of gdb is 9.2

thanks

@lebr0nli
Copy link
Owner

Hi, thanks for reporting the bug!
I can confirm that GEP has this issue when using TUI together here.
But, hmm, I have no idea how to fix it currently...
I'll take a look at the source code of gdb that how did it handle the TUI mode for each prompt, and try to emulate those behaviors if possible. (But I have to say, if somehow we can't emulate those behaviors correctly, I am afraid that the current approach that GEP used will never support TUI mode :( )

I'll let you know if I got the ideas to fix it!

@lebr0nli lebr0nli added bug Something isn't working help wanted Extra attention is needed labels Jul 11, 2023
@ywgrit
Copy link
Author

ywgrit commented Jul 12, 2023

Hi, thanks for reporting the bug! I can confirm that GEP has this issue when using TUI together here. But, hmm, I have no idea how to fix it currently... I'll take a look at the source code of gdb that how did it handle the TUI mode for each prompt, and try to emulate those behaviors if possible. (But I have to say, if somehow we can't emulate those behaviors correctly, I am afraid that the current approach that GEP used will never support TUI mode :( )

I'll let you know if I got the ideas to fix it!

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants