Dev/KernelHack/COINS/worklog/201110: gdb.getpid.log

File gdb.getpid.log, 2.1 KB (added by mitty, 13 years ago)
Line 
1Reading symbols from /home/ugrad/07/s0711489/coursework/KernelHack/linux-2.6.35.14/x86_64/vmlinux...(no debugging symbols found)...done.
2Breakpoint 1 at 0xffffffff81048ce4: file kernel/timer.c, line 1344.
3Remote debugging using localhost:8864
40xffffffff810097a9 in native_safe_halt ()
5    at /home/ugrad/07/s0711489/coursework/KernelHack/linux-2.6.35.14/x86_64/arch/x86/include/asm/irqflags.h:49
649      asm volatile("sti; hlt": : :"memory");
7Continuing.
8
9Breakpoint 1, sys_getpid () at kernel/timer.c:1344
101344    {
111345        return task_tgid_vnr(current);
12get_current ()
13    at /home/ugrad/07/s0711489/coursework/KernelHack/linux-2.6.35.14/x86_64/arch/x86/include/asm/current.h:14
1414      return percpu_read_stable(current_task);
15sys_getpid () at kernel/timer.c:1344
161344    {
171345        return task_tgid_vnr(current);
18task_tgid_vnr (tsk=0xffff88001bbe33a0) at include/linux/sched.h:1606
191606    {
201607        return pid_vnr(task_tgid(tsk));
211606    {
221607        return pid_vnr(task_tgid(tsk));
23pid_vnr (pid=0xffff88001fb55400) at kernel/pid.c:444
24444 {
25445     return pid_nr_ns(pid, current->nsproxy->pid_ns);
26get_current (pid=0xffff88001fb55400)
27    at /home/ugrad/07/s0711489/coursework/KernelHack/linux-2.6.35.14/x86_64/arch/x86/include/asm/current.h:14
2814      return percpu_read_stable(current_task);
29pid_vnr (pid=0xffff88001fb55400) at kernel/pid.c:445
30445     return pid_nr_ns(pid, current->nsproxy->pid_ns);
31444 {
32445     return pid_nr_ns(pid, current->nsproxy->pid_ns);
33pid_nr_ns (pid=0xffff88001fb55400, ns=0xffffffff8181bfe0) at kernel/pid.c:431
34431 {
35435     if (pid && ns->level <= pid->level) {
36431 {
37435     if (pid && ns->level <= pid->level) {
38436         upid = &pid->numbers[ns->level];
39437         if (upid->ns == ns)
40438             nr = upid->nr;
41441 }
42pid_vnr (pid=<value optimized out>) at kernel/pid.c:446
43446 }
44task_tgid_vnr (tsk=<value optimized out>) at include/linux/sched.h:1608
451608    }
46sys_getpid () at kernel/timer.c:1346
471346    }
48sys_getpid () at kernel/timer.c:1345
491345        return task_tgid_vnr(current);
50sys_getpid () at kernel/timer.c:1346
511346    }
52
53Breakpoint 1, sys_getpid () at kernel/timer.c:1344
541344    {
551345        return task_tgid_vnr(current);
56Ending remote debugging.
57quit