-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
23 lines (21 loc) · 1.22 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TODO list for completing the source-id feature
----------------------------------------------
* adding file hash for each source file to th debug info.
This filename are already there in .debug_str section.
(http://dwarfstd.org/doc/DWARF4.pdf)
* add file hash validation in GDB. This is superior over the mtime check
that exists today in GDB.
* change source paths in debug info to repository path.
The problem is that the paths can be an absolute path, so contains a partial
path with is not part of the repository path. This should be stripped which
is done at the moment by the fetch_source script.
There may be the case that the path is too short (I'm not sure), in this case
we need to ensure that the relative path from the repository top-level
directory gets prepended to the filename.
* the new note type NT_GNU_SOURCE_ID(5) needs to be registered at GNU (where?)
* the patches must be sent to the gdb-patches mailing list
* before that we need to recheck if the GNU coding style is correctly used
everywhere. See gdb/CONTRIBUTE file.
* Maybe the GNU ld can be extended to provide a --source-id switch analogous to
--build-id. This way we could get rid of generating the source-id section by
using CMake+as+ld.