Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-07 Thread Michael Schnell
As we now are in a dedicated thread: - I suppose this should be discussed in the Lazarus mailing List. - Does openocd not use gdb ? . - If yes, support maybe should be provided by the GDBMIServerDebugger unit (or similar). We are discussing a similar issue in the German Lazarus Forum right

Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-07 Thread Michael Schnell
On 02/07/2013 12:11 PM, Michael Ring wrote: I did not want to break existing code so I created a new class based on TGDBMIServerDebugger, this has been done before for the ssh based debugging so I followed this road. I just checked how this works: The nioce Lazarus team implemented the

Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-07 Thread Michael Schnell
On 02/07/2013 12:11 PM, Michael Ring wrote: I will join the german lazarus forum, see you there. http://www.lazarusforum.de/viewtopic.php?f=9t=6664start=15 -Michael ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-07 Thread Martin
On 07/02/2013 07:14, Michael Ring wrote: One more thing, do you know why ExecuteCommand is defined as protected and not public in GDBMIDebugger? I need to send some extra commands to GDB to make the remote connection, using ExecuteCommand is an elegant way to do this. But the method is

Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-07 Thread Martin
On 07/02/2013 23:51, Michael Ring wrote: Index: debugger/debugger.pp === --- debugger/debugger.pp(revision 40204) +++ debugger/debugger.pp(working copy) @@ -3304,6 +3304,7 @@ const OLD_GDB_DBG_NAME = 'GNU

Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-06 Thread Michael Ring
Hi Martin, Thank you for your detailed answers and for pointing me to the testcases. I am having a look at the breakpoint code and will see what I can do so that debugging works with only a limited number of available breakpoints. One more thing, do you know why ExecuteCommand is defined as

[fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-05 Thread Michael Ring
In the last days I have had a nice fight with lazarus-trunk, but it seems I succeeded in the end ;-) I have integrated openocd debugger class as a child of the gdbmi debugger classes, basic code upload debugging now works for me in lazarus, still has some rough edges, this is why I am

Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-05 Thread Martin
On 05/02/2013 22:14, Michael Ring wrote: I have integrated openocd debugger class as a child of the gdbmi debugger classes, basic code upload debugging now works for me in lazarus, still has some rough edges, this is why I am seeking for support by the arm-embedded hackers here in fpc-devel.

Re: [fpc-devel] I have created a openocd debugger-interface for lazarus, now some questions

2013-02-05 Thread Sven Barth
On 05.02.2013 23:14, Michael Ring wrote: In the last days I have had a nice fight with lazarus-trunk, but it seems I succeeded in the end ;-) I have integrated openocd debugger class as a child of the gdbmi debugger classes, basic code upload debugging now works for me in lazarus, still has