Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!unido!gypsy!scheulen From: scheulen@gypsy.ims.fhg.de (Thilo Scheulen) Newsgroups: comp.sys.atari.st Subject: Re: gdb Message-ID: <61@gypsy.ims.fhg.de> Date: 4 Oct 90 10:59:54 GMT References: <12935@sdcc6.ucsd.edu> Lines: 30 sklug@sdcc13.ucsd.edu (Steven Klug) writes: >I am using GCC for a project of mine and need to know how to use the >Gnu debugger gdb. I'm using the version of GCC whose binaries are >on atari.archive. I tried the -gg option but that didn't seem to >work. Any help would be appreciated. I see some problems whit the GDB 1. I think it's quite difficult to run gdb because gdb asumes that the interface to the debugged programm is via ptrace call's that are UNIX special calls for debug processes. 2. I am not shure if there is a version of gdb which uses relocation information stored in each TOS executable. you will have to rewrite GDB in some parts if no one did this already ?? * would be a nice job And some problems with gcc-ld 3. you will need a quite different loader ( gcc-ld ) to build symbol tables with source level debug information 4. the option -gg is just a special case for GNU -g will also work to produce source-level debug info's but remember the loader i know does not support the extended debug information. does any one know if i am wrong ??? Thilo Scheulen