aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-02-04 22:45:49 +0000
committerDaniel Jacobowitz <drow@false.org>2002-02-04 22:45:49 +0000
commitc638789ff83348ce501eeb986533b68a5783e6f8 (patch)
treecfc48642178945d2832b2dfd772382756429baaf /gdb
parentdb2530270bcc7d2c64f1a3ba9cda1d3b65109e2f (diff)
downloadgdb-c638789ff83348ce501eeb986533b68a5783e6f8.zip
gdb-c638789ff83348ce501eeb986533b68a5783e6f8.tar.gz
gdb-c638789ff83348ce501eeb986533b68a5783e6f8.tar.bz2
2002-02-04 Daniel Jacobowitz <drow@mvista.com>
* regformats/regdat.sh: Add braces to the definition of expedite_regs_${arch}.
Diffstat (limited to 'gdb')
-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 04c3d6e..8218c8f 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 dc0ee65..eb0475e 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