Hi everybody,

I'm currently dealing with GDB to debug my applications. Is there anybody
out there who would like to share his/her opinions about GDB with me? Have
you used it - if yes what were the results.


Additionaly there are 2 strange things that I want to get some opinions on:

Problem 1:
- When I have a multi file'd project like the following
#include dbfuncs.c
#include otherfuncs.c
(and my mainmodule.c)

GDB does break at set breakpoints but always says that it is in the
mainmodule even though it is not. The line number (and the function in
question)  is in one of the include files. so GDB just displays nonsense.

Am I doing something wrong or is this simply a bug in GDB ?

Problem2:
When I issue the command "DISAS StartAddr EndAddr" with the given addresses
of an individual line I get the assembler code back.
Unfortunately I'm not an 68K asm freak and this code realy looks strange to
me.

Is there some code snippets around for me to look at to get an idea how this
*just* looks like?
I just want to judge if the stuff I get back from gdb is somewhat asm like
....
Is there a good book explaining 68K asm code ?
Is there an assembler out there ?

Thanks for your opinions
Ole

Reply via email to