This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: support debug info in separate files


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]