-
Notifications
You must be signed in to change notification settings - Fork 17
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
Can not start debugging files without debugging symbols - "Run" is disabled #15
Comments
To track down the problem, run
and then inspect |
This is what I found inside the tmp file:
|
Info target command returns the start and end of .text section. I am thinking I should filter these two strings, convert them to hexadecimal and use I will post a small snippet when I have a working example. What are your thoughts on this subject? |
I don't understand what |
Now that you are mentioning this, not only the debugger can't get started but the assembly listing isn't visible too. Are they related? If I list the disassembly from the aforementioned start to finish address, will one be able to place a breakpoint and run gdb? |
When GDB was not started, nothing can work. So, please explain why you have a dump of GDB commands at all. Is it wrong that GDB did not run? Did it actually start? Please confirm that you can reproduce the problem mentioned in this ticket. Otherwise, I simply do not understand what all you have said so far has any relevance to the topic. |
I can't understand how is gdb not running but gdb can run commands and dumb its output. I got this in my terminal when I ran my modified parseInfoTarget:
I think the names are selfexplenatory and as expected t.nodebug raised this message. I don't know why kdbg reports that gdb failed to start though. |
The message happens when |
I have the same issue, any executable I open I'm greeted with the message
I can't run or debug anything. I have GDB installed. |
I compiled on Ubuntu Mate 20.04. I have no KDE environment but I tracked down the relevant packages and managed to compile this. I was able to run KDE programs fine in the past.
For reference those packages are:
Compiling works fine. However when I load an executable the I can not start it.
This happens both with the maint branch and the master branch. version 3.0.1. gdb on it's own works fine. The program I tested this with did not have debug symbols included.
When I tested the same program with symbols I was able to run it.
Why can I not debug assembler?
After reloading the executable again I got this error message:
There is no information anywhere on how to "resolve the problem".
The text was updated successfully, but these errors were encountered: