On 2/19/20 8:51 PM, Austin Lund wrote: > Currently only the file pointed to by the DW_AT_name is included as a source > file in debug packages. This means many files that are useful for debugging > are > not included. For example, no header files are included but yet these may by > referenced in the .debug_line section.
Why do we need headers? headers by definition are supposed to declare things that are then defined by a source file which is in DW_AT_name. > This sed script converts into shell variables the debug dump information from > readelf about compilation units, directory tables and file tables. This can > be > used to get the full path of all the source files from within the package > being > compiled that are referenced in the debugging information. Also, placeholder > symbols (e.g. <builtin>) and paths outside the current source (e.g. linked > libraries) will be more consistently ignored from inclusion in the debug > packages. I... don't really follow what this sed thing is doing. Is it printing out a bash script? Why? -- Eli Schwartz Bug Wrangler and Trusted User
signature.asc
Description: OpenPGP digital signature