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

Cannot set breakpoints on zsh-3.1.0?



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@xxxxxx
-------------------------------------------------------------------------




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