From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9788 invoked by alias); 9 Feb 2006 09:36:50 -0000 Received: (qmail 9778 invoked by uid 22791); 9 Feb 2006 09:36:49 -0000 X-Spam-Check-By: sourceware.org Received: from xproxy.gmail.com (HELO xproxy.gmail.com) (66.249.82.197) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 09 Feb 2006 09:36:48 +0000 Received: by xproxy.gmail.com with SMTP id t11so80803wxc for ; Thu, 09 Feb 2006 01:36:47 -0800 (PST) Received: by 10.70.128.18 with SMTP id a18mr644620wxd; Thu, 09 Feb 2006 01:36:46 -0800 (PST) Received: by 10.70.71.5 with HTTP; Thu, 9 Feb 2006 01:36:46 -0800 (PST) Message-ID: <5fb065d90602090136m68090bf0w@mail.gmail.com> Date: Thu, 09 Feb 2006 09:36:00 -0000 From: Frederic Kwiatkowski To: Jim Blandy Subject: Re: "SIGSEGV, Segmentation fault." message on a standard program Cc: gdb@sourceware.org In-Reply-To: <8f2776cb0602090128m546c34a1tffd1c956e029007b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5fb065d90602090036x63e59e75t@mail.gmail.com> <8f2776cb0602090128m546c34a1tffd1c956e029007b@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00060.txt.bz2 If i run the program on the arm-linux system, everything goes right, that's why i don't understand the reason of the segmentation fault: # /mnt/nfs/frk/essai_gdb/essai_gdb Enter first number : 1 Enter second number : 2 The sum is : 3 # 2006/2/9, Jim Blandy : > On 2/9/06, Frederic Kwiatkowski wrote: > > So i've tried to debug the application on my desktop computer, with no > > remote (gdbserver and gdb hosted on the desktop), and then, everything > > is right. > > What happens when you run your program on the arm-linux system, > without gdbserver? >