diff options
Diffstat (limited to 'gdb/glibc-tdep.c')
-rw-r--r-- | gdb/glibc-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/glibc-tdep.c b/gdb/glibc-tdep.c index 69b091e..9282c02 100644 --- a/gdb/glibc-tdep.c +++ b/gdb/glibc-tdep.c @@ -53,7 +53,7 @@ glibc_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) of GNU/Linux will provide a portable, efficient interface for debugging programs that use shared libraries. */ - struct bound_minimal_symbol resolver + struct bound_minimal_symbol resolver = lookup_bound_minimal_symbol ("_dl_runtime_resolve"); if (resolver.minsym) @@ -61,9 +61,9 @@ glibc_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) /* The dynamic linker began using this name in early 2005. */ struct bound_minimal_symbol fixup = lookup_minimal_symbol ("_dl_fixup", NULL, resolver.objfile); - + /* This is the name used in older versions. */ - if (! fixup.minsym) + if (!fixup.minsym) fixup = lookup_minimal_symbol ("fixup", NULL, resolver.objfile); if (fixup.minsym && fixup.value_address () == pc) @@ -71,4 +71,4 @@ glibc_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) } return 0; -} +} |