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.
+2015-08-26 Simon Marchi <simon.marchi@ericsson.com>
+
+ * gdbarch.sh (append_name): Fix type in XRESIZEVEC.
+ * gdbarch.c: Re-generate.
+
2015-08-26 Simon Marchi <simon.marchi@ericsson.com>
* aarch64-linux-nat.c (aarch64_add_process): Likewise.
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;
}
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;
}