From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: m.dickebohm@uni-koeln.de
Cc: axp-list@redhat.com
Subject: Re: gdb error with RH5.0
Date: Thu, 25 Jun 1998 08:07:16 -0600 (MDT) [thread overview]
Message-ID: <199806251407.IAA17522@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <m3pvfxkb45.fsf@franck.pc.Uni-Koeln.DE> from "Markus Dickebohm" at Jun 25, 98 12:51:38 pm
Markus Dickebohm writes:
>
> I tried to compile the latest gnuplot beta version on our Alphastation
> yesterday
Did you use -Wall and paid a close attention to what your compiler has
to say? BTW - a version using 340 runs on various Alphas like a
clockwork. I did not try so far with later versions.
>
> Otherwise, you told GDB there was a function where there isn't one, or
> (more likely) you have encountered a bug in GDB.
> 0x1555610708c in ?? ()
> (gdb)
>
> The program was compiled with "-g".
> Do I have a buggy gdb or is this a known bug in RH5.0?
Most likely you smashed a stack by passing to a function arguments of
sizes other that this function expected (missing prototypes?); or you
wrote over stack pieces - once again, because of sizes of some objects
were quietly assumed to be 4. Once you did that your debugger is
understandably confused and tracking such errors with gdb is usually a
prolonged investigation. It is much easier to catch them in an earlier
stage.
gdb does seem to have some problems of its own but in most cases
I have seen this was a programmer error. Bugs in questions are
masked on 32-bit platforms, so they are quite popular, but they
are still ordinary bugs.
Michal
next prev parent reply other threads:[~1998-06-25 14:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-25 10:51 gdb error with RH5.0 Markus Dickebohm
1998-06-25 14:07 ` Michal Jaegermann [this message]
1998-06-25 18:06 ` Stefan Schroepfer
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox