From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31034 invoked by alias); 13 Dec 2001 04:42:28 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 30578 invoked from network); 13 Dec 2001 04:41:01 -0000 Date: Fri, 12 Oct 2001 17:03:00 -0000 Message-Id: <200112130440.fBD4evQ17283@webmamil0-1> Content-Type: multipart/mixed; boundary="----------=_1008218458-17242-0" Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.316 (Entity 5.212) From: jasonlin@ms1.hinet.net To: insight@sourceware.cygnus.com Cc: jllin@winbond.com.tw Subject: scanf() always return -1 on arm-elf configuration, target ARM Angel/Serial X-SW-Source: 2001-q4/txt/msg00119.txt.bz2 This is a multi-part message in MIME format... ------------=_1008218458-17242-0 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary Content-length: 648 Hi, I tried to report bug to the bug reporting system, however, I didn't have the username/password to summit the bug. I recompiled the insight-5.1 by arm-elf configuration, use the target ARM Angel/Serial, baud 57600, com1 to connect to the ARM Evaluator-7T target board. The scanf() always return -1, so I can't get the input chars. However, the scanf() works fine on the gdb-5.1 Did you know how to solve this problem ? Best Regards ! Jason Lin Department Manager uC Business R&D Division Dept. III PC30, No. 4, Creation Rd. III Science-Based Industrial Park Hsinchu, Taiwan, R.O.C. Tel: 886-3-5792738 Fax: 886-3-5792766 ------------=_1008218458-17242-0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: jasonlin@ms1.hinet.net To: insight@sourceware.cygnus.com Cc: jllin@winbond.com.tw Subject: scanf() always return -1 on arm-elf configuration, target ARM Angel/Serial Date: Wed, 12 Dec 2001 20:42:00 -0000 Message-ID: <200112130440.fBD4evQ17283@webmamil0-1> X-SW-Source: 2001-q4/msg00420.html Message-ID: <20011212204200.U2C-RtGbCsSjfR9j8ZRuIEruGz44YMca3FHWtxbpad0@z> Hi, I tried to report bug to the bug reporting system, however, I didn't have the username/password to summit the bug. I recompiled the insight-5.1 by arm-elf configuration, use the target ARM Angel/Serial, baud 57600, com1 to connect to the ARM Evaluator-7T target board. The scanf() always return -1, so I can't get the input chars. However, the scanf() works fine on the gdb-5.1 Did you know how to solve this problem ? Best Regards ! Jason Lin Department Manager uC Business R&D Division Dept. III PC30, No. 4, Creation Rd. III Science-Based Industrial Park Hsinchu, Taiwan, R.O.C. Tel: 886-3-5792738 Fax: 886-3-5792766