This is the mail archive of the gdb@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] |
So, what does *GDB* do if there isn't [yet] any allocated local storage (as identified by the above function returning TD_NOTALLOC)?Andrew Cagney <ac131313@cygnus.com> writes:> /* Get address of thread local variable. */ > extern td_err_e td_thr_tls_get_addr (const td_thrhandle_t *__th, > struct link_map *__map, size_t __offset, > void **__address); > This takes a thread handle, an entry from the dynamic linker's link > map, and an offset, and sets *__address to point to the base of that > thread and module's thread-local storage, plus the offset. It returns > an error code if the space hasn't been allocated yet.What does GDB do if there isn't [yet] any allocated local storage?It returns TD_NOTALLOC.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |