--- Begin Message ---
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?
--- End Message ---
--- Begin Message ---
Subject: |
confirm a890c56a4e675a743798004484e03afd0e6160ca |
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.
--- End Message ---