This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB not able to debug files(dwarf2.0) loaded using add-symbol-file
- From: Daniel Jacobowitz <drow at false dot org>
- To: Sandeep Joshi <sandeepjoshi dot it at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Wed, 3 Jan 2007 22:30:08 -0500
- Subject: Re: GDB not able to debug files(dwarf2.0) loaded using add-symbol-file
- References: <ad83c5670612212021r7c247e8cm2df837e8637fcb03@mail.gmail.com> <20061223212620.GC1091@nevyn.them.org> <ad83c5670701030144s59dc6342q3f77e7899ddecc88@mail.gmail.com>
On Wed, Jan 03, 2007 at 03:14:30PM +0530, Sandeep Joshi wrote:
> Memory layout:
> Entry point: 0x40018000
> 0x40018000 - 0x40060000 is .init
> 0x40060000 - 0x40259644 is .text
> 0x40259650 - 0x40259f78 is __ex_table
> 0x40259f78 - 0x4025a278 is .pci_fixup
> 0x4025a278 - 0x4025d8f0 is __ksymtab
> 0x4025d8f0 - 0x4025ddf0 is __ksymtab_gpl
> 0x4025ddf0 - 0x40266070 is __ksymtab_strings
> 0x40266070 - 0x40266174 is __param
> 0x40268000 - 0x402b8c10 is .data
> 0x402b8c20 - 0x402d995c is .bss
>
> add-symbol-file ~/arm-linux-gdb/bin/test_trap4.out 0x83d8
Then how does that overlap with the symbols for the kernel? It
shouldn't.
--
Daniel Jacobowitz
CodeSourcery