As Frank Storm wrote: > static char *mem2hex(uchar *mem, char *buf, int count) > { > for (int i = 0; i < count; i++) > -> buf = byteToHex(*mem++, buf); > *buf = 0; > > return (buf);
Could you also provide the call stack here? Obviously, it must be the caller of mem2hex already calling it with a NULL pointer. Did you already do anything in GDB, or is this during the initial startup (after the "target remote" command)? > - JTAG ICE clone with USB interface (Prolific PL2303 chip) Well, the old JTAG ICE (mkI) code hasn't been touched for a long time (there are only very few users of it anymore), but it is not supposed to be broken either. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ avarice-user mailing list avarice-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avarice-user