[96910] in RedHat Linux List

home help back first fref pref prev next nref lref last post

[Q]How kernel debugging?

daemon@ATHENA.MIT.EDU (Seunghan Choi)
Fri Oct 30 02:09:19 1998

Date: Fri, 30 Oct 1998 16:08:55 +0900
From: Seunghan Choi <shchoi@comeng.chungnam.ac.kr>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Hi

Now I would like to debug kernel for analizing IP module
Noe I use gdb (I don't want using 'printk')
But a problem was happened.
following:

----------------
[lucky:root:/root 1 ] gdb /usr/src/linux/vmlinux /proc/kcore
GNU gdb 4.17
Copyright 1998 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"...
#0  0x0 in ?? ()
(gdb) run
Starting program: /usr/src/linux/vmlinux
ulimit: Command not found.
warning: shared library handler failed to enable breakpoint

Program received signal SIGSEGV, Segmentation fault.
0x100006 in startup_32 ()
(gdb)
------------------

and program was stoped
Do anyone know how to debug IP module as using gdb ?

Please, I would like to know that technique.

Thanks,
Seunghan.
--
  ---------------------------------------------------------
  Choi, Seunghan
  Protocol Eng. Lab,  Dept. of Computer Engineering,
  ChungNam Nat'l Univ.
  220 Goong-dong,Yusong-Gu, Taejeon, 305-764, Korea (R.O.K)
  TEL   : +82-42-821-6280      FAX : +82-42-822-4997
  E-mail : shchoi@comeng.chungnam.ac.kr
  Homepage: http://rose.comeng.chungnam.ac.kr/~shchoi
  ---------------------------------------------------------



-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post