zsh-users
 help / color / mirror / code / Atom feed
From: "Valery Kobrin" <vkobrin@hotmail.com>
To: schaefer@brasslantern.com, zsh-users@sunsite.dk
Subject: Re: need to read (to debug) zsh.core
Date: Mon, 12 Aug 2002 10:32:30 -0400	[thread overview]
Message-ID: <F72OAmEaJswFCHOzyfy0000f75b@hotmail.com> (raw)

Sorry, I was not enough precise.
`file zsh.core` says: zsh.core: OpenBSD/i386 core from 'zsh'.
zsh version 4.0.4, build from OpenBSD package zsh-4.0.4.tgz with the
pkg_add command which does everything automatically, not allowing to
make modifications, like: "configure --enable-zsh-debug".

You are right, gdb reads zsh.core somehow, but I could not extract from
it any useful information, like the line, on which the script crashed.
And gdb does not allow to debug zsh script.

So, now my question is: is there some way to debug large zsh script
like "C" or "C++" program?

Thanks,
Valery



----Original Message Follows----
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: "Valery Kobrin" <vkobrin@hotmail.com>, zsh-users@sunsite.dk
Subject: Re: need to read (to debug) zsh.core
Date: Mon, 12 Aug 2002 05:47:27 +0000

On Aug 11,  9:11pm, Valery Kobrin wrote:
}
} I need to debug zsh crashes, which leave zsh.core, but gdb and dbx
} don't understand it. I hope there is some way to use zsh.core,
} otherwise - what for it would be dumped. Let me, please, what way
} it is.

The core files should be readable by gdb or dbx.  However, by default
zsh is compiled using optimization and with debugging symbols stripped,
so there won't be very much useful information in the core file unless
you built zsh with "configure --enable-zsh-debug".

What does `file zsh.core` say?

--
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


             reply	other threads:[~2002-08-12 14:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-12 14:32 Valery Kobrin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-12  1:11 Valery Kobrin
2002-08-12  5:43 ` Thorsten Haude
2002-08-12 15:05   ` Valery Kobrin
2002-08-16 18:00     ` Thorsten Haude
2002-08-12  5:47 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F72OAmEaJswFCHOzyfy0000f75b@hotmail.com \
    --to=vkobrin@hotmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).