RE: Stripped v Debug

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

 



-----Original Message-----
From: Mulyadi Santosa [mailto:mulyadi.santosa@xxxxxxxxx] 

> Try to check fs/binfmt_elf.c, especially the load_elf_binary()
function.

> Also, remember that file blocks are read on-demand, that means if they
> are not needed, then it won't be loaded to RAM. So, even if your
> binary has debug symbols, it won't occupy RAM unless they are read
> (e.g when gdb need to correlate address with symbols)

Thanks Mulyadi - just the information and code I was looking for.


Adrian

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux