Re: ups Next and Step acting like Cont

Matt Seitz <[email protected]>
Newsgroups gmane.comp.debugging.ups.user
Message-ID <[email protected]>
Matt Seitz wrote:

> I am trying to debug the Samba "smbd" program using the ups debugger.  
> I am running smbd in interactive, non-daemon mode (smbd 
> --interactive).  I am starting by trying to step through the main() 
> function.  If I set breakpoints, "ups" will stop at the breakpoint.  
> But if I select "Next" or "Step", "ups" acts as if I pressed "Cont" 
> and runs "smbd" until it exits.
>
I was able to get "ups" to work correctly by making two changes to the 
"CFLAGS" macro in the SAMBA make file.  First, I changed "-gstabs" to 
"-g".  Second, I changed "-O2" to "-O0".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.