[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
breakpoint not reached by in cli
From: |
wong_powah |
Subject: |
breakpoint not reached by in cli |
Date: |
Wed, 11 Jul 2007 15:12:15 -0700 |
User-agent: |
G2/1.0 |
I had written a command line interface program cli.c.
# useradd -m -G users,wheel -s /home/powah/cli/cli operator
# su - operator
#ps -ef |grep cli
Attach gdb to the cli process id:
#gdb -p <pid>
Set a breakpoint:
(gdb) b func
(gdb) cont
When the cli function is executed, the func breakpoint is not reached.
cli>users list
I am sure I have set the breakpoint at the right function, so what is
wrong?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- breakpoint not reached by in cli,
wong_powah <=