Re: gdb / thread_db / multiple ABI question
Yao Qi <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Steve Ellcey <[email protected]> writes: > I don't see any code in gdb/linux-thread-db.c that seems to be > conditional on the word size (ILP32 vs LP64). I also don't see Take a look at aarch64-linux-nat.c:ps_get_thread_area. It calls aarch64_ps_get_thread_area. > anything in glibc nptl-db directory that appears to be conditional on > word size. Things like pthread_t and __SIZEOF_PTHREAD_ATTR_T are > different for the two different ABIs though. But that is true for x86 > too and things seem to be working there. I am not sure what (if > anything) would need to be done to libthread_db to support biarch > debugging. AArch64 linux GDB is able to debug arm-linux 32-bit program. -- Yao (齐尧)