Wednesday, 17 June 2015

[gccsdk] Has any one got GDBServer and GDB working

I've been trying to see if I could get GCC debugging going.
 
I've got as far as starting the program and connecting with GDB
on my Linux machine. But I don't seem to be getting any source
code to examine and can't seem to step.
 
I get the message "cannot find bounds of current function" from
the "s" command.
 
I'm unfamiliar with GDB so may of course be doing something
completely incorrect.
 
I've got RPCEmu on Windows running the code using GDB
(after loading the module) and a virtual Ubuntu machine
on the same windows box where I have built version 7.4
of GDB with --target=arm-elf.
 
gdb is running on RISC OS after pressing F12 as it doesn't get
anywhere when run in a taskwindow.
 
I seem to get a lot of strange characters on the RPCEmu
screen and various Unsupported packet messages.
 
Is there a specific version of gdb I should be building on
Ubuntu?
 
Is there anything else I should be doing?
 
Regards,
Alan

No comments:

Post a Comment