2011-03-01 Michael Snyder <msnyder@vmware.com>
* objc-lang.c (selectors_info): Add explanitory comment. (classes_info): Ditto.
This commit is contained in:
parent
478fd957f7
commit
a9dc8dcca3
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-03-01 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
|
* objc-lang.c (selectors_info): Add explanitory comment.
|
||||||
|
(classes_info): Ditto.
|
||||||
|
|
||||||
2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org>
|
2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
* arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.
|
* arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.
|
||||||
|
|
|
@ -720,6 +720,7 @@ selectors_info (char *regexp, int from_tty)
|
||||||
strcpy(myregexp, ".*]");
|
strcpy(myregexp, ".*]");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* Allow a few extra bytes because of the strcat below. */
|
||||||
if (sizeof (myregexp) < strlen (regexp) + 4)
|
if (sizeof (myregexp) < strlen (regexp) + 4)
|
||||||
error (_("Regexp is too long: %s"), regexp);
|
error (_("Regexp is too long: %s"), regexp);
|
||||||
strcpy(myregexp, regexp);
|
strcpy(myregexp, regexp);
|
||||||
|
@ -863,6 +864,7 @@ classes_info (char *regexp, int from_tty)
|
||||||
strcpy(myregexp, ".* "); /* Null input: match all objc classes. */
|
strcpy(myregexp, ".* "); /* Null input: match all objc classes. */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
/* Allow a few extra bytes because of the strcat below. */
|
||||||
if (sizeof (myregexp) < strlen (regexp) + 4)
|
if (sizeof (myregexp) < strlen (regexp) + 4)
|
||||||
error (_("Regexp is too long: %s"), regexp);
|
error (_("Regexp is too long: %s"), regexp);
|
||||||
strcpy(myregexp, regexp);
|
strcpy(myregexp, regexp);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue