summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rwxr-xr-xgdb/regformats/regdat.sh2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 04c3d6e46c0..8218c8f10fc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
+ * regformats/regdat.sh: Add braces to the definition of
+ expedite_regs_${arch}.
+
+2002-02-04 Daniel Jacobowitz <drow@mvista.com>
+
* regformats/regdef.h (struct reg): Add comment describing the
requirements for offset and size fields.
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