diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-08-26 17:31:47 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-08-26 17:31:47 -0400 |
commit | 1dc7a6235090327d7b5586f85e6115c3cd13ed83 (patch) | |
tree | 3f0b70a630f5d494350a16846c0a2fcd0785b6d5 /gdb | |
parent | 8d7493201cf01c9836403695f67f7e157341bfd5 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbarch.c | 2 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 154228f..25402c8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 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. * aarch64-tdep.c (aarch64_gdbarch_init): Likewise. * ada-exp.y (write_ambiguous_var): Likewise. 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; } diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 5831b7b..34e6a74 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -2201,7 +2201,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; } |