aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Marie de Rodat <derodat@adacore.com>2015-08-01 11:25:44 +0200
committerPedro Alves <palves@redhat.com>2015-08-02 19:01:51 +0100
commit835a09d99d585bfdc9f760970908e10bd8b2fec2 (patch)
tree12f611c8fd3fc81bd1fec93d6fab416cbb22a164 /gdb/alpha-mdebug-tdep.c
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-835a09d99d585bfdc9f760970908e10bd8b2fec2.tar.gz
binutils-gdb-835a09d99d585bfdc9f760970908e10bd8b2fec2.tar.bz2
binutils-gdb-835a09d99d585bfdc9f760970908e10bd8b2fec2.zip
Complete the previous commit (block_found refactoring)
The previous commit (Replace the block_found global with explicit data-flow) lacks updates in a couple of files because it was not tested building GDB with --enable-targets=all... but buildbots did. This adds the appropriate simple updates to fix the build. gdb/ChangeLog: * alpha-mdebug-tdep.c (find_proc_desc): Update call to lookup_symbol. * ft32-tdep.c (ft32_skip_prologue): Likewise. * moxie-tdep.c (moxie_skip_prologue): Likewise. * mt-tdep.c (mt_skip_prologue): Likewise. * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
Diffstat (limited to 'gdb/alpha-mdebug-tdep.c')
-rw-r--r--gdb/alpha-mdebug-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/alpha-mdebug-tdep.c b/gdb/alpha-mdebug-tdep.c
index 2f58c64f4b7..a8a511bfeb7 100644
--- a/gdb/alpha-mdebug-tdep.c
+++ b/gdb/alpha-mdebug-tdep.c
@@ -107,7 +107,8 @@ find_proc_desc (CORE_ADDR pc)
symbol reading. */
sym = NULL;
else
- sym = lookup_symbol (MDEBUG_EFI_SYMBOL_NAME, b, LABEL_DOMAIN, 0);
+ sym = lookup_symbol (MDEBUG_EFI_SYMBOL_NAME, b, LABEL_DOMAIN,
+ 0).symbol;
}
if (sym)