This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/sim/common ChangeLog aclocal.m4
- From: vapier at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 10 Jan 2011 21:53:28 -0000
- Subject: src/sim/common ChangeLog aclocal.m4
CVSROOT: /cvs/src
Module name: src
Changes by: vapier@sourceware.org 2011-01-10 21:53:28
Modified files:
sim/common : ChangeLog aclocal.m4
Log message:
sim: fix handling of 2nd arg to SIM_AC_OPTION_HARDWARE
The 2nd arg to SIM_AC_OPTION_HARDWARE is described as "a space separated
list of devices that override the defaults" while the 3rd arg is "a space
separated list of extra target specific devices". But the macro doesn't
seem to treat the 2nd arg this way.
Instead, it will always add the default list of devices, and only add the
extra target specific devices if the 2nd arg is not specified. So rework
the logic slightly to handle the 2nd arg as documented.
This shouldn't affect any targets in the tree as no one passes in a non-
empty value as the 2nd arg.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.231&r2=1.232
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/aclocal.m4.diff?cvsroot=src&r1=1.21&r2=1.22