Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Cannot set breakpoints on zsh-3.1.0?



Andrej Borsenkow wrote:
> It appears, that it is not possible to set BP on 3.1.0 (or rather
> useless). I have Sinix 5.42 + gdb 4.16 + zsh-3.1.0 compiled statically
> without modules. Here is simple session:
[...]
> (gdb) break zerr
> Breakpoint 1 at 0x46ca60: file ../../zsh-3.1.0/Src/utils.c, line 51.
> (gdb) run +Z
> Starting program: /home/bor/src/zsh-3.1.0-static/Src/zsh +Z
> [3]bor@itsrm1:~/src/zsh-3.1.0-static/Src%> ls [a
> zsh: trace trap (core dumped)  ls [a
> [3]bor@itsrm1:~/src/zsh-3.1.0-static/Src%> exit

zsh forked here and zerr was executed by the child process, which is not
under the control of gdb.

Zoltan



Messages sorted by: Reverse Date, Date, Thread, Author