LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   aout still segfaults after modprobe binfmt_aout on Slackware 14.0_x32 (https://www.linuxquestions.org/questions/slackware-installation-40/aout-still-segfaults-after-modprobe-binfmt_aout-on-slackware-14-0_x32-4175443069/)

forkosh 01-08-2013 03:48 AM

Quote:

Originally Posted by wildwizard (Post 4864439)
No need for those debugging statements when you run it in gdb with full debugging enabled in the compile you get to see all of that anyway. when it bombs out you type in backtrace and it gives you the chain of functions and where they are in each source file.

gdb also lets you see the pointer addresses which is how I picked up on the code not been 64bit compliant, if your keen it's in word.c

I also had a quick look at the current version just to have a quick look and just the download size gives away the complexity of where it has gone since the early 90's

Yeah, I probably should make more of an effort learning to use gdb. But platform-to-platform debugger differences are probably the only thing worse for me than editor differences -- and you already know how reluctant I am to deal with that<grin>. Most of my open source stuff tends to be as platform-agnostic as possible anyway, just ansi standard C. So embedded debug statements, that are default off but can be turned on with a command-line switch (or ?query_string attribute, etc, as appropriate), usually work better for me. I can quickly see all the same stuff regardless of platform, and it's way easier to tell complaining users to just run the program with an extra switch and email me all the output.


All times are GMT -5. The time now is 11:22 PM.