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]

Re: Elf debugging


On Wed, Jun 3, 2009 at 4:31 AM, maybedoo <maybedoo@gmx.de> wrote:

> (gdb) break elfboot.c:20
> No source file named elfboot.c.

Are you sure this isn't a "pilot error"?
I see that you have selfboot.c, but no elfboot.c.

Here are the files which have debug info (and which you shouldn't have
problems setting breakpoints in):

$ grep 'DW_AT_name.*\.c' readelf.txt  | sed -e 's/.*: //' -e 's:.*//::'

src/southbridge/intel/i82371eb/i82371eb_smbus.c
src/console/uart8250_console.c
src/southbridge/intel/i82371eb/i82371eb.c
src/southbridge/intel/i82371eb/i82371eb_usb.c
src/southbridge/intel/i82371eb/i82371eb_reset.c
src/southbridge/intel/i82371eb/i82371eb_isa.c
src/southbridge/intel/i82371eb/i82371eb_ide.c
src/mainboard/emulation/qemu-x86/mainboard.c
src/arch/i386/lib/exception.c
src/devices/root_device.c
src/lib/uart8250.c
src/console/printk.c
src/pc80/mc146818rtc.c
src/boot/hardwaremain.c
src/devices/pci_device.c
src/lib/version.c
src/devices/cardbus_device.c
src/pc80/keyboard.c
src/devices/pciexp_device.c
src/devices/pci_ops.c
src/console/console.c
src/devices/hypertransport.c
src/devices/device.c
src/lib/malloc.c
src/devices/device_util.c
src/devices/../../util/x86emu/x86.c
src/pc80/isa-dma.c
src/lib/memmove.c
src/lib/memcpy.c
src/lib/memset.c
src/console/vtxprintf.c
static.c
src/arch/i386/boot/tables.c
src/boot/selfboot.c
src/devices/pci_rom.c
src/arch/i386/boot/coreboot_table.c
src/devices/pcix_device.c
src/cpu/emulation/qemu-x86/northbridge.c
src/mainboard/emulation/qemu-x86/irq_tables.c
src/devices/../../util/x86emu/x86_interrupts.c
src/arch/i386/boot/boot.c
src/lib/delay.c
src/arch/i386/lib/pci_ops_auto.c
src/console/vsprintf.c
src/arch/i386/lib/pci_ops_conf2.c
src/lib/cbfs.c
option_table.c
src/lib/compute_ip_checksum.c
src/lib/fallback_boot.c
src/arch/i386/boot/pirq_routing.c
src/arch/i386/boot/multiboot.c
src/lib/lzma.c
src/arch/i386/lib/pci_ops_conf1.c

Cheers,
-- 
Paul Pluzhnikov


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