This is the mail archive of the
mailing list for the GDB project.
Command for number of cores
- From: Marc Khouzam <marc dot khouzam at ericsson dot com>
- To: "'gdb at sourceware dot org'" <gdb at sourceware dot org>
- Date: Tue, 27 Jul 2010 15:55:32 -0400
- Subject: Command for number of cores
I need a way to know how many cores are on my target (where gdbserver is running).
I'm wondering if GDB already has this information?
If not, I was thinking of adding 'info cores' or 'show cores'.
Or maybe a convenience variable '$numcores'?
I'm thinking 'info cores'.
If this makes sense, I'll give it a try.