Hi all,
  I am new to kgdb. I am trying to debug over ethernet. But it is 
crashing when I try to connect from remote gdb. It seems that it is 
crashing in kgdb_breakpoint() function.

 I am testing it on ARM board. also I found that i have to comment 
kgdb_arch_init() from kernel/kgdb.c, in order to initialize ARM 
architecture specific initialization from arch/arm/kernel/kgdb.c
   I am using 2.6.24 kernel for testing. Please tell me where I am going 
wrong?

OOPS message:-

320/0xe14)

[<c006649c>] (kgdb_handle_exception+0x0/0xe14) from [<c0026ca0>] 
(kgdb_compiled

brk_fn+0x2c/0x38)

[<c0026c74>] (kgdb_compiled_brk_fn+0x0/0x38) from [<c00201a0>] 
(do_undefinstr+0x

13c/0x1f8)

[<c0020064>] (do_undefinstr+0x0/0x1f8) from [<c0020c04>] 
(__und_svc+0x44/0x60)

Exception stack(0xc541fee0 to 0xc541ff28)

fee0: 00000033 00000000 c04bda00 00000001 c028c37c 00000000 c001d9c0 
00000000

ff00: c541e000 00000000 00000001 c541ff34 c541ff38 c541ff28 c0065adc 
c0065a68

ff20: 40000013 ffffffff

r8:c541e000 r7:00000000 r6:c001d9c0 r5:c541ff14 r4:ffffffff

[<c0065a44>] (kgdb_breakpoint+0x0/0x44) from [<c0065adc>] 
(kgdb_initial_breakpoi

nt+0x24/0x30)

[<c0065ab8>] (kgdb_initial_breakpoint+0x0/0x30) from [<c0065f3c>] 
(kgdb_register

_io_module+0xf8/0x130)

[<c0065e44>] (kgdb_register_io_module+0x0/0x130) from [<c0148e48>] 
(configure_kg

dboe+0x6c/0xb0)

r5:00000000 r4:c04c4b30

[<c0148ddc>] (configure_kgdboe+0x0/0xb0) from [<c0148fc0>] 
(init_kgdboe+0x24/0x4

c)

r4:c04c4b30

[<c0148f9c>] (init_kgdboe+0x0/0x4c) from [<c0008964>] 
(kernel_init+0xc8/0x290)

r5:00000000 r4:c001e404

[<c000889c>] (kernel_init+0x0/0x290) from [<c003c0ec>] (do_exit+0x0/0x730)


Thanks,
Rupesh.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to