GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #4538

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Peter Gerwinski
Subject: Stack problems?
Date: 25 Jan 2001, 21:37:03

Hello,

Steve Loft wrote:
> If I run the program in gdb, when it crashes I can't get it to display 
> a backtrace: [...]

Did you supply the -g option when compiling?

    gpc --automake -g foo.pas -o foo

You can turn on optimization if you wish, but you must not strip the
symbol table (option -s). With -s or without -g you do not get a
backtrace in GDB.

For more specific help, we need the source of the program in
question.

Hope this helps,

    Peter

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


In reply to

Author Subject Date
Steve Loft Stack problems? 25 Jan 2001, 19:20:43

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).