This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

help - symbol address problem (debugging linux kernel with gdb)


Hi, all


I'm using virtual machine to debug linux kernel.

By "nm vmlinux", I find the address of the function do_IRQ() is at
0xc0105835. But when I "b do_IRQ", gdb says "Breakpoint 2 at
0x80205835: file arch/i386/kernel/irq.c, line 55." The gap of all
other normal symbols is the same - 0x3ff00000.

In addition, see following:
------------------------------------------------------------------
(gdb) info symbol 0xc0105835
do_IRQ in section .text
(gdb) info address do_IRQ
Symbol "do_IRQ" is a function at address 0x80205835.
------------------------------------------------------------------

I don't know why... Please help me on this matter, thank you very much!!


-treul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]