This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb common/linux-osdata.c ChangeLog
- From: davem at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 Nov 2012 17:40:37 -0000
- Subject: src/gdb common/linux-osdata.c ChangeLog
CVSROOT: /cvs/src
Module name: src
Changes by: davem@sourceware.org 2012-11-20 17:40:36
Modified files:
gdb/common : linux-osdata.c
gdb : ChangeLog
Log message:
Fix 'info os' crashes on sparc.
* common/linux-osdata.c (get_number_of_cpu_cores): Delete.
(linux_xfer_osdata_processes): Fetch _SC_NPROCESSORS_ONLN via
sysconf.
(get_cores_used_by_process): Update comment.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/common/linux-osdata.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.14841&r2=1.14842