Re: How can I 'getchar()' in module code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 3, 2013 at 4:20 PM, Bernd Petrovitsch
<bernd@xxxxxxxxxxxxxxxxxxx> wrote:
> On Die, 2013-12-03 at 08:38 -0500, Valdis.Kletnieks@xxxxxx 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?

I think there is a way to stop execution :). Run your image under
qemu, and use gdb to
set breakpoints.

thanks,
Daniel.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux