Re: [Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-03-01 Thread Spencer Oliver
On 01/03/2010 04:13, David Brownell wrote: A test build (cygwin, as it happened) after your latest commits gives me: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-a

Re: [Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-02-28 Thread David Brownell
On Sunday 28 February 2010, David Brownell wrote: > arm_semihosting.c:71: error: ‘spsr’ may be used uninitialized in this function > arm_semihosting.c:71: error: ‘lr’ may be used uninitialized in this function Quickie build fix appended -- code not tested. Note the REVISIT comment. - Dave --

Re: [Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-02-28 Thread David Brownell
On Sunday 28 February 2010, David Brownell wrote: > On Sunday 28 February 2010, Antonio Borneo wrote: > > Same compile issue with old Fedora 6, gcc version 4.1.1 20061011 (Red > > Hat 4.1.1-30) And just now with an Ubuntu that has gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4) and also a newer

Re: [Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-02-28 Thread David Brownell
On Sunday 28 February 2010, Antonio Borneo wrote: > Same compile issue with old Fedora 6, gcc version 4.1.1 20061011 (Red > Hat 4.1.1-30) > > Dave, > could you please report gcc version in your cygwin? "gcc -v" says: gcc (GCC) 4.3.4 20090804 (release) 1 ... and that should be the latest version

Re: [Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-02-28 Thread Antonio Borneo
Same compile issue with old Fedora 6, gcc version 4.1.1 20061011 (Red Hat 4.1.1-30) Dave, could you please report gcc version in your cygwin? Best Regards, Antonio Borneo On Mon, Mar 1, 2010 at 12:13 PM, David Brownell wrote: > A test build (cygwin, as it happened) after your latest commits giv

Re: [Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-02-28 Thread David Brownell
A test build (cygwin, as it happened) after your latest commits gives me: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -g -O2 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT arm_semih

Re: [Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-02-25 Thread David Brownell
Yes ... we wants it! We wants it forever! ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

[Openocd-development] [PATCH 6/7] semihosting: add armv7m semihosting support

2010-02-25 Thread Spencer Oliver
>From 14007d98e1c69db0ab6585acdbc07929321b6d36 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Thu, 25 Feb 2010 23:46:31 + Subject: [PATCH 6/7] semihosting: add armv7m semihosting support do_semihosting and arm_semihosting now check the core type and use the generic arm structure. Signe