Re: "SIGSEGV, Segmentation fault." message on a standard program

Frederic Kwiatkowski
2006-02-09T09:36:50Z

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 <jimb@red-bean.com>:
> On 2/9/06, Frederic Kwiatkowski <stagedrt@gmail.com> 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?
>