On Tue, 16 May 2000, David Odin wrote:
> On Tue, May 16, 2000 at 08:02:25AM -0500, David Faure wrote:
> > On Tue, May 16, 2000 at 12:10:31PM +0200, David Odin wrote:
> > > Ahem. Debugging symbols are used... by a debugger only. There are NEVER
> > > loaded into memory.
> >
> > Interesting... you mean that compiling with debugging symbols
> > only takes more space on the hard disk, but doesn't use more memory ?
> > Never realised that.
> >
> Sure. Bebug segment simply aren't being loaded since they're not usefull to the
> program to run. That's why the debugging information aren't saved in 'core' file.
>
> You can see that with this:
>
> ...
>
> See? The core file is the same for the two invocation of gdb.
> In the first invocation gdb finds debugging information in a.out.
> In the second one, it cannot, since a.out is stripped.
>
> So, no debugging information is in the core file, and so no debugging
> information were in the memory.
[*boink*] (The sound of my brain expanding to accommodate new knowledge.)
Wow. I never realized that. Thanks!