This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GDB/Coldfire bug


I'm a bit lost on how to solve my GDB problem.
If this is the wrong newslist can you suggest the
proper one?

I am trying to use GDB/Insite in a cross compiler
environment.  I have a S/W GDB Stub running on the
Coldfire.  It seems to work great.

 GDB seems to have some problems....
  c -> continue works.
  s -> Step works.
  break x -> works.
  info locals works etc...

  n ->Step over does not work.  It tries to read
things off the stack and gets confused.

From what research I've done online I believe this
problem is not really GDB, I believe it is a problem
with the debugging information generated by the
compiler. (gcc 2.95.2 configured for m68k-elf)

 Does the step over command work for any of you with
any Coldfire or M68K
GDB/GCC combination?

 Any suggestions on how to continue?
 I posted a question to gnd.gdb.bug and received no
suggestions.

 I'm willing to debug this and submit a patch.... but
I'm kind of lost
 looking at the GDB code. (Where is the step over
command processed?)

 Thanks for any assistance


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]