RFC: support debug info in separate files

Andrew Cagney ac131313@redhat.com
Tue Dec 10 11:39:00 GMT 2002


> Andrew Cagney writes:
>  > Hmm, to wear fernando's hat :-)  Is there a new test that demonstrates 
>  > this feature?
> 
> You need the special strip program. One could think of avoiding
> running strip by storing the blah.debug files in the gdb.base source
> directory, but then the executable built at the time you run the tests
> wouldn't be stripped as gdb expects it.  One other way would be to
> maybe store the strip program somewhere in the gdb source, but I don't
> think this elfutils/strip is FSF.

Do you have the specifics of the `strip' command and its behavior?  I'll 
suggest it to binutils.  Hopefully (assuming the feature is as useful as 
it sounds) it will soon be added.

To expand on the test.  What I was thinking of was something to check 
that the prefix command worked.

> I know that Jim was able to run the testsuite but I think he relied on
> having the proper strip installed on the system.

Ah!

Andrew




More information about the Gdb-patches mailing list