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.
This commit is contained in:
parent
8d7493201c
commit
1dc7a62350
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2015-08-26 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* aarch64-linux-nat.c (aarch64_add_process): Likewise.
|
* aarch64-linux-nat.c (aarch64_add_process): Likewise.
|
||||||
|
@ -4894,7 +4894,7 @@ static struct gdbarch_registration *gdbarch_registry = NULL;
|
|||||||
static void
|
static void
|
||||||
append_name (const char ***buf, int *nr, const char *name)
|
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;
|
(*buf)[*nr] = name;
|
||||||
*nr += 1;
|
*nr += 1;
|
||||||
}
|
}
|
||||||
|
@ -2201,7 +2201,7 @@ static struct gdbarch_registration *gdbarch_registry = NULL;
|
|||||||
static void
|
static void
|
||||||
append_name (const char ***buf, int *nr, const char *name)
|
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;
|
(*buf)[*nr] = name;
|
||||||
*nr += 1;
|
*nr += 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user