* Cannot set breakpoints on zsh-3.1.0?
@ 1996-12-30 15:35 Andrej Borsenkow
1996-12-30 15:57 ` Zoltan Hidvegi
0 siblings, 1 reply; 2+ messages in thread
From: Andrej Borsenkow @ 1996-12-30 15:35 UTC (permalink / raw)
To: Zsh workers mailing list
Happy New Year to everybody!!!
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:
[1]bor@itsrm1:~/src/zsh-3.1.0-static/Src%> gdb -se zsh
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (mips-sni-sysv4), Copyright 1996 Free Software Foundation, Inc...
(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
Program exited with code 0205.
[1]bor@itsrm1:~/src/zsh-3.1.0-static/Src%> ls -l core
-rw-r--r-- 1 bor sinix 312592 Dec 30 18:11 core
[1]bor@itsrm1:~/src/zsh-3.1.0-static/Src%> date
Mon Dec 30 18:12:30 MSK 1996
[1]bor@itsrm1:~/src/zsh-3.1.0-static/Src%>
I would expect to get breakpoint stop in zerr(); instead, I get core!!!
and zsh misteriously runs on.
any comments?
-------------------------------------------------------------------------
Andrej Borsenkow Fax: +7 (095) 252 01 05
SNI ITS Moscow Tel: +7 (095) 252 13 88
NERV: borsenkow.msk E-Mail: borsenkow.msk@sni.de
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cannot set breakpoints on zsh-3.1.0?
1996-12-30 15:35 Cannot set breakpoints on zsh-3.1.0? Andrej Borsenkow
@ 1996-12-30 15:57 ` Zoltan Hidvegi
0 siblings, 0 replies; 2+ messages in thread
From: Zoltan Hidvegi @ 1996-12-30 15:57 UTC (permalink / raw)
To: borsenkow.msk; +Cc: zsh-workers
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-12-30 15:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-30 15:35 Cannot set breakpoints on zsh-3.1.0? Andrej Borsenkow
1996-12-30 15:57 ` Zoltan Hidvegi
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).