On Mit, 2013-12-04 at 23:21 +0200, Daniel Baluta wrote:
On Tue, Dec 3, 2013 at 4:20 PM, Bernd Petrovitsch
be...@petrovitsch.priv.at wrote:
On Die, 2013-12-03 at 08:38 -0500, valdis.kletni...@vt.edu wrote:
On Tue, 03 Dec 2013 20:35:41 +0800, said:
For debugging purpose, I want something
On 2013年12月03日 20:35, 乃宏周 wrote:
For debugging purpose, I want something like 'getchar()' that can pause
execution in the module code. Do any candidates I can choose?
Create a /proc/knob to turn on or off your code path flow on fly, instead of
using user space getchar.
Otherwise, you
On Tue, Dec 3, 2013 at 4:20 PM, Bernd Petrovitsch
be...@petrovitsch.priv.at wrote:
On Die, 2013-12-03 at 08:38 -0500, valdis.kletni...@vt.edu wrote:
On Tue, 03 Dec 2013 20:35:41 +0800, said:
For debugging purpose, I want something like 'getchar()' that can pause
execution in the module
yes, exactly - what u are describing is called kdb. don't mixed up with
kgdb.
kdb: this is debugging on the same computer - so no serial ports
connection are needed. once exception occurred, you will be popped into a
special debugger screen. problem is that now this debugger is running
Thanks your replies! I found the target.
2013/12/5 上午9:34 於 Peter Teoh htmldevelo...@gmail.com 寫道:
yes, exactly - what u are describing is called kdb. don't mixed up
with kgdb.
kdb: this is debugging on the same computer - so no serial ports
connection are needed. once exception
For debugging purpose, I want something like 'getchar()' that can pause
execution in the module code. Do any candidates I can choose?
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Tue, Dec 3, 2013 at 2:35 PM, 乃宏周 naive...@gmail.com wrote:
For debugging purpose, I want something like 'getchar()' that can pause
execution in the module code. Do any candidates I can choose?
No.
___
Kernelnewbies mailing list
On Tue, 03 Dec 2013 20:35:41 +0800, ä¹å®å¨ said:
For debugging purpose, I want something like 'getchar()' that can pause
execution in the module code. Do any candidates I can choose?
The problem is that pausing execution in module code is dangerous, as if
you hold any locks or anything like
On Die, 2013-12-03 at 08:38 -0500, valdis.kletni...@vt.edu wrote:
On Tue, 03 Dec 2013 20:35:41 +0800, said:
For debugging purpose, I want something like 'getchar()' that can pause
execution in the module code. Do any candidates I can choose?
You do not want that - there is way too much