diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/regformats/regdat.sh | 2 |
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 |