>> >> while checking the docs i found that gdb_sync has no mention. >> If i knew what it did i would add something - any takers? > > gdb_sync can be used to tell GDB not to execute a step/continue > upon the next step/continue, but return immediately. > > This will refresh the GDB copy of the target registers. > > Upon target connection, gdb_sync is executed implicitly and thus > the first stepi/continue received will in fact not step, but just > refresh GDB's copy of the target registers. > > The effect is that: > > target remote xxx > load > stepi >
I am a bit bemused by this. GDB will have a good copy of the registers when it connects to openocd anyway. Cheers Spen _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
