aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2015-08-26 17:31:47 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2015-08-26 17:31:47 -0400
commit1dc7a6235090327d7b5586f85e6115c3cd13ed83 (patch)
tree3f0b70a630f5d494350a16846c0a2fcd0785b6d5 /gdb/gdbarch.c
parent8d7493201cf01c9836403695f67f7e157341bfd5 (diff)
downloadgdb-1dc7a6235090327d7b5586f85e6115c3cd13ed83.zip
gdb-1dc7a6235090327d7b5586f85e6115c3cd13ed83.tar.gz
gdb-1dc7a6235090327d7b5586f85e6115c3cd13ed83.tar.bz2
Fix gdbarch.c build error
I made a mistake while handling my previous patch. A change in gdbarch causes a build failure. gdb/ChangeLog: * gdbarch.sh (append_name): Fix type in XRESIZEVEC. * gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/gdbarch.c')
-rw-r--r--gdb/gdbarch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c
index 94e457a..0d4142b 100644
--- a/gdb/gdbarch.c
+++ b/gdb/gdbarch.c
@@ -4894,7 +4894,7 @@ static struct gdbarch_registration *gdbarch_registry = NULL;
static void
append_name (const char ***buf, int *nr, const char *name)
{
- *buf = XRESIZEVEC (const char **, *buf, *nr + 1);
+ *buf = XRESIZEVEC (const char *, *buf, *nr + 1);
(*buf)[*nr] = name;
*nr += 1;
}