Update a comment for init_linker_info_for_gdb
Change-Id: I8e2895ecfcc6f77a180c3735342afc93be5923d3
This commit is contained in:
parent
aa9cb26ead
commit
6400129628
1 changed files with 1 additions and 2 deletions
|
@ -3904,8 +3904,7 @@ static soinfo* linker_soinfo_for_gdb = nullptr;
|
||||||
* Without this, gdb has trouble locating the linker's ".text"
|
* Without this, gdb has trouble locating the linker's ".text"
|
||||||
* and ".plt" sections. Gdb could also potentially use this to
|
* and ".plt" sections. Gdb could also potentially use this to
|
||||||
* relocate the offset of our exported 'rtld_db_dlactivity' symbol.
|
* relocate the offset of our exported 'rtld_db_dlactivity' symbol.
|
||||||
* Don't use soinfo_alloc(), because the linker shouldn't
|
* Note that the linker shouldn't be on the soinfo list.
|
||||||
* be on the soinfo list.
|
|
||||||
*/
|
*/
|
||||||
static void init_linker_info_for_gdb(ElfW(Addr) linker_base) {
|
static void init_linker_info_for_gdb(ElfW(Addr) linker_base) {
|
||||||
linker_soinfo_for_gdb = new (linker_soinfo_for_gdb_buf) soinfo(nullptr, LINKER_PATH,
|
linker_soinfo_for_gdb = new (linker_soinfo_for_gdb_buf) soinfo(nullptr, LINKER_PATH,
|
||||||
|
|
Loading…
Reference in a new issue