This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: pthread_t ids of threads not showed by "thread info"
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: pedro at codesourcery dot com (Pedro Alves)
- Cc: gdb at sourceware dot org, mark dot kettenis at xs4all dot nl (Mark Kettenis), stefano dot sabatini-lala at poste dot it
- Date: Wed, 4 Aug 2010 19:44:31 +0200 (CEST)
- Subject: Re: pthread_t ids of threads not showed by "thread info"
Pedro Alves wrote:
> > Thanks. We can then just call linux_init_abi at the top of
> > s390_gdbarch_init, right?
>
> Or rather, a bit further down, where the gdbarch is actually
> created, like so?
Actually, I think it should be rather at the end, where other
architectures which support multiple OSABIs call gdbarch_init_osabi.
That way, at least basic setup of the architecture is already done
when the osabi routine is called ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com