diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/glibc-tdep.c | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | gdb-users/simark/clang-format.zip gdb-users/simark/clang-format.tar.gz gdb-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
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; -} +} |