Problem on KGDB

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

 



When I'm debugging linux kernel,  the breakpoint does not get hit as 

expected. 

The following is the message in the console:

[root@Qroute linux-2.4.10]# gdb vmlinux
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) target remote /dev/ttyS0
Remote debugging using /dev/ttyS0
handle_exception (exceptionVector=Cannot access memory at address 0xe08
) at gdbstub.c:856
856                     remcomOutBuffer[0] = 0;
warning: shared library handler failed to enable breakpoint
(gdb) c
Continuing...


Does anyone know how to solve it?


regards.

pengbin
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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