public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-tromey-multi-inferior: change itsets to use {...} rather than [...] this avoids a possible conflict with Objective C
@ 2010-10-06 18:03 tromey
0 siblings, 0 replies; only message in thread
From: tromey @ 2010-10-06 18:03 UTC (permalink / raw)
To: archer-commits
The branch, archer-tromey-multi-inferior has been updated
via e82998171e6f93d200699bedc6189a731bcef332 (commit)
from 6a834dee4e74b60ae9b6692f5d40f4df007ddd11 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit e82998171e6f93d200699bedc6189a731bcef332
Author: Tom Tromey <tromey@redhat.com>
Date: Wed Oct 6 12:02:18 2010 -0600
change itsets to use {...} rather than [...]
this avoids a possible conflict with Objective C
-----------------------------------------------------------------------
Summary of changes:
gdb/itset.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
First 500 lines of diff:
diff --git a/gdb/itset.c b/gdb/itset.c
index c35374c..164ef42 100644
--- a/gdb/itset.c
+++ b/gdb/itset.c
@@ -488,15 +488,15 @@ itset_create (const char **specp)
struct cleanup *cleanups;
const char *spec = *specp;
- if (*spec != '[')
- error (_("I/T set must start with `['"));
+ if (*spec != '{')
+ error (_("I/T set must start with `{'"));
result = XCNEW (struct itset);
result->refc = 1;
cleanups = make_cleanup (itset_cleanup, result);
- /* Skip the '['. */
+ /* Skip the '{'. */
++spec;
spec = skip_whitespace (spec);
@@ -520,13 +520,13 @@ itset_create (const char **specp)
spec = skip_whitespace (spec);
if (*spec == ',')
++spec;
- else if (*spec == ']')
+ else if (*spec == '}')
break;
else
- error (_("',' or ']' expected in I/T set, at `%s'"), spec);
+ error (_("',' or '}' expected in I/T set, at `%s'"), spec);
}
- /* Skip the ']'. */
+ /* Skip the '}'. */
++spec;
result->spec = xstrndup (*specp, spec - *specp);
@@ -553,7 +553,7 @@ itset_create (const char **specp)
struct itset *
itset_create_current (void)
{
- const char *spec = "[!current]";
+ const char *spec = "{!current}";
return itset_create (&spec);
}
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-10-06 18:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 18:03 [SCM] archer-tromey-multi-inferior: change itsets to use {...} rather than [...] this avoids a possible conflict with Objective C tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).