This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Fwd: segmentation fault
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Lisa Lan 5a <5alisalan at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 18 May 2011 18:02:14 +0100
- Subject: Re: Fwd: segmentation fault
- References: <BANLkTin0cw+zpaHRaZJhbJHn+ET6NKh=hQ@mail.gmail.com> <BANLkTimkWmWUzM8jxyYBvPpiJaP9YEhYjw@mail.gmail.com> <BANLkTinWNo--xajvjkQvY6Hwhf4Jpysn-w@mail.gmail.com>
- Reply-to: pmuldoon at redhat dot com
Lisa Lan 5a <5alisalan@gmail.com> writes:
> I want to debug my Ânew code in LMMAPS program.
>
> I type gdb ./lmp_linux. It hasÂa error as below. Is it a bug?
>
> This GDB was configured as "x86_64-suse-linux"...
> Segmentation fault
>
> Lisa
If GDB segfaults for whatever reason it is bug. But there is not enough
information to ascertain the problem. What version of GDB are you
using?
Type:
gdb --version
Cheers,
Phil