[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#396365: please add a gdb .udeb, for easier debugging inside d-i



Daniel Jacobowitz wrote:
> If they did that, you could just wget a full GDB binary.  It doesn't
> need anything else in the package besides the executable.  But I don't
> think d-i does what you describe (since I tried to use this approach
> for strace recently, and there were missing symbols in libc.so.6).

d-i reduces libc for the boot image, but then loads a full one from
install media/network. So if you want to debug something before the full
libc is available, you're SOL.

However, d-i also already offers a way to include a strace, gdb, or
whatever you want onto the boot image, without a udeb, and including any
dependant symbols and other libraries:

# This variable can be used to copy in additional files from the system
# that is doing the build. Useful if you need to include strace, or gdb,
# etc.
#EXTRAFILES = /usr/bin/strace

> If someone more familiar with d-i than I am can confirm that the udeb
> will be useful, I can try to get GDB to build one, but it seems like
> a very strange package to have a udeb.

I don't see any benefit to having a udeb, beyond being able to load the udeb
in anna.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: