From c638789ff83348ce501eeb986533b68a5783e6f8 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 4 Feb 2002 22:45:49 +0000 Subject: [PATCH] 2002-02-04 Daniel Jacobowitz * regformats/regdat.sh: Add braces to the definition of expedite_regs_${arch}. --- gdb/ChangeLog | 5 +++++ gdb/regformats/regdat.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2