Re: [OpenOCD-devel] Does it matter when you pass the elf file to GDB?

2020-10-27 Thread Liviu Ionescu
> On 27 Oct 2020, at 09:16, kristof.mul...@telenet.be wrote: > > Hi Liviu, > Thank you for your reply. So your Eclipse plug-in > also starts GDB without executable and then passes > the executable with the 'file' command? That's correct. This is not my invention, it is the Eclipse GDB

Re: [OpenOCD-devel] Does it matter when you pass the elf file to GDB?

2020-10-27 Thread kristof . mulier
Hi Liviu, Thank you for your reply. So your Eclipse plug-in also starts GDB without executable and then passes the executable with the 'file' command? Kind regards, Kristof Mulier - Oorspronkelijk bericht - Van: "Liviu Ionescu" Aan: "kristof mulier" Cc: "openocd-devel" Verzonden:

Re: [OpenOCD-devel] Does it matter when you pass the elf file to GDB?

2020-10-26 Thread Liviu Ionescu
> On 26 Oct 2020, at 17:33, kristof.mul...@telenet.be wrote: > > ... Should one always do it at GDB startup (on the commandline)? The Eclipse OpenOCD debug plug-in never passes the executable via the command line. Regards, Liviu ___

[OpenOCD-devel] Does it matter when you pass the elf file to GDB?

2020-10-26 Thread kristof . mulier
Dear OpenOCD developers, To flash microcontrollers, I usually launch GDB and make it connect to OpenOCD. Then I issue these commands: file my_application.elf load When GDB starts, it always complains there is no file assigned for debugging. Obviously, that's because I assign the file