From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7844 invoked by alias); 25 Nov 2003 02:28:34 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 7825 invoked from network); 25 Nov 2003 02:28:27 -0000 Received: from unknown (HELO mxic.com.tw) (203.66.160.36) by sources.redhat.com with SMTP; 25 Nov 2003 02:28:27 -0000 Received: by mxic.com.tw; id KAA10441; Tue, 25 Nov 2003 10:28:07 +0800 (CST) Received: from unknown(192.168.11.4) by mxsrv.mxic.com.tw via smap (V5.5) id xma008324; Tue, 25 Nov 03 10:27:52 +0800 To: ecos-discuss@sources.redhat.com Message-ID: From: RandyLin@mxic.com.tw Date: Tue, 25 Nov 2003 02:28:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Subject: Re: [ECOS] Unable to run kernel test program on Samsung SNDS! X-SW-Source: 2003-11/txt/msg00351.txt.bz2 The default value of CYGSEM_HAL_DIAG_MANGLER is GDB. Yes, both of application and redboot set this to GDB. Is this the reason that cause the ap(test program) can run on arm-elf-gdb but fail on redboot "load" command? So, I set CYGSEM_HAL_DIAG_MANGLER to NONE and recompile test program. test program can run on redboot "load" command, but fail on arm-elf-gdb Is this the correct result? Can I have the same image that run on both? Thanks! randy > RedBoot> go 0x50040 > $O504153533A3C42696E6172792053656D6170686F72652030204F4B3E0A#9E > ========================================= This is an O format text string which gdb will decode and display. For some reason your application/redboot thinks it is still talking to gdb and so is mangling the text. Have you set CYGSEM_HAL_DIAG_MANGLER in either your application or Redboot? Andrew -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss