openocd+gdb combo

"Schneider, Maximilian via Gdb" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <SJ0PR07MB8518FE70C214E16C4846B662863C9@SJ0PR07MB8518.namprd07.prod.outlook.com>
Hello,

I have written a relatively complex but very useful external loader+gdb python script for a piece of memory connected to one of the many chips we use.
I can now use openocd to connect and subsequently gdb with the aforementioned loader and script to read/write/erase !

However It is still a pain to have to start an openocd session before being able to launch the gdb command.

Is there a known way to package openocd and gdb together so that I can get convenient calling conventions like bellow?
./read_the_thing > memory_dump.bin

How would you recommend creating portable installations of gdb so that they can be shipped quickly to the unfortunate windows users?
I can imagine writing an extra tool that manages the sequencing of openocd+gdb but I would need executables I can run without installation to make it palatable for my colleagues.

Best Regards,
Maximilian Schneider
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.