Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-dd-dev] Using DSF MI/GDB debugger on Windows

Hi Jiju,

great to hear you are using DSF!

> But after starting the debug session, I had to do the below tricks to make the debugging work
>  
> 1)       As there is no option in the DSF Remote C/C++ application launch to automatically download the image 
>          to target using load command. I have to do it manually from gdb console using load command after 
>          suspending the debug target in debug view. 

I was not familiar with the load command.  Can you give me the sequence of commands you use to start your
debug session.  I assume you were able to do that with the CDT?

> 2)       After loading, I have to resume the debug target in debug view to start debugging from main 

This is probably because the original resume (continue command) failed when it was sent by DSF, because
your image was not loaded.  Solving 1) will solve 2)

> 3)       During debugging, actions done in the gdb console (stepi, break etc) do not get reflected in Debug 
>          View and other views.

I see the same behaviour as you mention, but to be honnest, I'm not sure about how well integrated our console is...

> 4)       Still we need to checkout the source from CVS and build? Is there any reason for not including the 
>          latest version with M7? Will it be fixed in next release?

I assume you know you can get an M7 build for DSF GDB/MI.
If something is in CVS that is not in M7 it is because it was added after M7.
The RC1 build of next Tuesday or Wednesday will contain the latest CVS code.

> We have a debugger based on Eclipse CDT CDI GDB/MI interface. We are looking to migrate to DSF. 
> Is DSF GDB/MI implementation for Windows and Linux available now 100% complete?  Is it a good candidate for 
> replacing CDT CDI MI/GDB implementation? Any instructions available for migration?

We have focused on Linux for DSF GDB/MI, but we do try to have windows work as well.  There are a couple
of issues on windows currenty but we will try to address them.  I'm not sure we can say DSF GDB/MI is 100%
complete but I believe it is at a good usable stage.  It does not have all the features of CDI yet
but we will keep on making it evolve to include those missing features (no promise on the timeline :-( )

As for migration, I'll let someone else answer that since I'm not experienced there.

Thanks

Marc



Back to the top