Subject: gdb: 'Deprecated bfd_read' when run on kernel.gdb
To: None <>
From: Jaromir Dolecek <>
List: tech-toolchain
Date: 03/24/2003 07:21:01
I compiled a kernel with 'makeoptions DEBUG="-g"', run -current
gdb netbsd.gdb and get this:

GNU gdb 5.0nb1
This GDB was configured as "i386--netbsdelf"...Deprecated bfd_read called at /home/dolecek/soft/netbsd/gnu/dist/toolchain/gdb/dbxread.c line 2638 in elfstab_build_psymtabs
Deprecated bfd_read called at /home/dolecek/soft/netbsd/gnu/dist/toolchain/gdb/dbxread.c line 976 in fill_symbuf

Symbols are apparently read correctly tho, so it's not wrong, just annoying.

Any idea how to fix this?

Jaromir Dolecek <>  
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-