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

Re: debug packages?




"Kevin B. McCarty" wrote in message [🔎] 43E0C6DF.7000505@princeton.edu">news:[🔎] 43E0C6DF.7000505@princeton.edu...
Also (and this is quite a dumb question), when the end user wants to use
the debug package, what magical options does s/he give to gdb when
running a program so that gdb knows where to find the debugging
information?  Is additional setup needed when the thing to be debugged
is a shared library used by the program that the user directly executes?

If everything is set up right then this is automatic. The program/lib would cantain a pointer to the file containing the symbols which would be looked for in the same directory as the program/lib, the .debug subdirectory, or some sort of location inside the "globaldebugdirectory". I'm not sure where dh_strip has these files installed, but
if it is in any of those places gdb should find it.




Reply to: