actually while debugging an assembly language i have got the following error can any body figure out how i can rectify the following error
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
No, we cannot. What is it you actually wanted us to download? An executable? Do I get it correctly you post an executable, without source, and you want others to execute and debug that for you?
I think you have to re-adjust your attitude and think about what you actually are doing. I suppose you want to learn assembly language, that being the reason you program in assembly.
Although I am already spending too much time on this, writing more lines in this thread than you cared to do, I am giving you an advise. If you want to debug your code, load you program in gdb and run it from there. Set a breakpoint just before the crash, single step, and examine your registers and memory location.
If then something unexplainable happens which you do not understand, feel free to come back and ask for help.
As said, no-one (I hope) is going to be stupid enough to download a dodgy executable from a new member, and even if we were, we would have to dis-assemble it unless someone can actually read machine code.
My guess is that the error has something to do with 4k segments, but that is based on what little I know of assembler from 40 years ago.
Thread closed.
Link removed.
In spite of actions by new members, our long time members are reminded to be polite, and as opposed to personally offering your admonishments, use the report button. The actual member who reported this thread, appropriately stayed out of the thread, and I appreciate that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.