From: Daniel Jacobowitz Date: Mon, 4 Feb 2002 22:45:49 +0000 (+0000) Subject: 2002-02-04 Daniel Jacobowitz X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c638789ff83348ce501eeb986533b68a5783e6f8;p=binutils-gdb.git 2002-02-04 Daniel Jacobowitz * regformats/regdat.sh: Add braces to the definition of expedite_regs_${arch}. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 04c3d6e46c0..8218c8f10fc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-02-04 Daniel Jacobowitz + + * regformats/regdat.sh: Add braces to the definition of + expedite_regs_${arch}. + 2002-02-04 Daniel Jacobowitz * regformats/regdef.h (struct reg): Add comment describing the diff --git a/gdb/regformats/regdat.sh b/gdb/regformats/regdat.sh index dc0ee65c459..eb0475e4ddb 100755 --- a/gdb/regformats/regdat.sh +++ b/gdb/regformats/regdat.sh @@ -150,7 +150,7 @@ done echo "};" echo -echo "const char *expedite_regs_${name} = { \"`echo ${expedite} | sed 's/,/", "/g'`\", 0 };" +echo "const char *expedite_regs_${name}[] = { \"`echo ${expedite} | sed 's/,/", "/g'`\", 0 };" # close things off exec 1>&2