Jan Engelhardt <jengelh@inai.de> wrote:
2. debug symbols are in a separate package - whicih you probably did not install either - causing backtrace functions to not be able to print anything useful in the "default install" (much to the dismay of Jörg, but whatever).
This is also a problem with missing features in the GNU debug chain. gdb is not a first class debugger. adb and mdb (and the non OSS dbx from the Solaris studio) could help more. Let me give an example: cp OBJ/i386-sunos5-cc/sh /tmp # This is my enhanced portable Bourne Shell strip /tmp/sh cd /tmp /tmp/sh pstack $$ 1496: /tmp/sh feec2e75 waitid (0, 5d9, 80475a0, 83) fee72015 waitpid (5d9, 804764c, 80, 8061779) + 65 0806178d sh_waitjob (80a7c80, 1, 80476c8, 806aeae) + 51 0806b074 execute (808f85c, 0, 0, 0, 0, 2) + 85c 0806492c exfile (0) + 1ac 08064768 main (1, 804778c, 8047794, feffb8f4) + 6dc 08059a4d _start (1, 80478a0, 0, 80478a8, 80478b3, 80478c1) + 7d gcore $$ gcore: core.1496 dumped $ pstack core.1496 core 'core.1496' of 1496: /tmp/sh feec2e75 waitid (0, 5da, 80475a0, 83) fee72015 waitpid (5da, 804764c, 80, 8061779) + 65 0806178d sh_waitjob (80a7438, 1, 80476c8, 806aeae) + 51 0806b074 execute (808f85c, 0, 0, 0, 0, 2) + 85c 0806492c exfile (0) + 1ac 08064768 main (1, 804778c, 8047794, feffb8f4) + 6dc 08059a4d _start (1, 80478a0, 0, 80478a8, 80478b3, 80478c1) + 7d nm /tmp/sh /tmp/sh: Jörg -- EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin js@cs.tu-berlin.de (uni) joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org