Re: [arm-gnu] possible bug in strtol method in Fall 2009 arm-eabi
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] possible bug in strtol method in Fall 2009 arm-eabi
- To: Raul Bachmann <raul.bachmann@xxxxxxxxx>
- Subject: Re: [arm-gnu] possible bug in strtol method in Fall 2009 arm-eabi
- From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
- Date: Tue, 27 Oct 2009 09:46:20 -0400
Raul Bachmann wrote:
Hi,
The following code ends with bus fault. Was working with spring 2009
release, through.
char *end;
long value = strtol("1234", &end, 10);
or similar approach:
long value = atoi("1234");
Both generate core fault exception on STM32F103 CPU.
Any possible workaround for this?
Does it fault *in* strtol or later?
Can you provide a complete example of this failure? e.g. full code,
command line, and linker script used?
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716