This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Command for number of cores
- From: Stan Shebs <stan at codesourcery dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Marc Khouzam <marc dot khouzam at ericsson dot com>, "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Mon, 02 Aug 2010 08:17:04 -0700
- Subject: Re: Command for number of cores
- References: <F7CE05678329534C957159168FA70DEC5716B5EE01@EUSAACMS0703.eamcs.ericsson.se> <AANLkTi=O8vbh1+2LDPvb7PO=MLxWPg2ondc179OESA7u@mail.gmail.com>
Doug Evans wrote:
I hesitate to add "info cores" because it seems a bit esoteric, and
you'd have to hack gdb, gdbserver, and document it all when "remote
get" could suffice.
How about an "info arch cores"? We have "info os <x>" that is
extensible in a OS-specific way, but I would think number of cores is
more a property of the architecture than of the OS (although they do
interact).
Curious that we don't have an "info arch" already - have we really never
needed random arch info before?
Stan