[comp.sys.atari.st] Usage of GNU GDB on Atari ST

fgth@ugun13.UUCP (Frank Ridderbusch) (02/16/90)

Hi folks.

I'm trying to use the GNU source level debugger, which comes
with the GCC-136 binary distribution. Please enlighten me, how
to use the debugger. I have the original GDB manual 3.1 available.
Here is the way I tried to use GDB.

- compiling with the -gg option 
- linking with sym-ld (the library gnugdb is missing, therefore
  I used the normal gnu.olb)
- running gdb
  load the just compiled executable with "exec-file"

After I've load the executable, I can list the source code, but I
can't set a breakpoint. The command "break 48" is answered with
an error message meaning "There is no line 48 in the source file". 
The command "info function" didn't give me any output at all.

Should I replace the gcc-ld.ttp with the sym-ld.ttp ??

I guess, it would be a good idea to compile a manual specific for 
the Atari ST from the existing GNU manuals and also include 
the libray functions ala U**X style. I might be willing to do that, 
if I can enough input from the people, who did the fabulous work of
porting the gcc to the Atari, concering Atari specific points. I
have the texinfo manuals for the compiler (from GCC 1.33), the 
preprocessor and the debugger (version 3.1) available. The resuling
manual should be more of a reference manual, than a user guide.

--

MfG/Regards

     /====                          Nixdorf Computer AG
    /   Ridderbusch,DX-SW4  / ,    Heinz Nixdorf Ring
   /                       /./    4790 Paderborn, West Germany
  /=== /,== ,===/  /,==,  //     Tel.: (+49) 5251/104685
 /    //   /   /  //   / / \    NERV:ridderbusch.pad
/    /     `==/\ /    / /   \  BIX:fridder   BTX:0525467066
UUCP: !USA            ...!unido!nixpbe!ridderbusch.pad
       USA  uunet!philabs!linus!nixbur!ridderbusch.pad