aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2021-06-12 10:43:29 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2021-06-12 10:43:29 -0700
commitd424629da8759410671d96d33a3fbd5bc38f93b2 (patch)
treea666be7f72ec658f299fe56cc599571ca6220dd2 /gdb/remote.c
parent5629cf2b98a92925434aeb234d22ad61c5c4bc7e (diff)
downloadgdb-d424629da8759410671d96d33a3fbd5bc38f93b2.zip
gdb-d424629da8759410671d96d33a3fbd5bc38f93b2.tar.gz
gdb-d424629da8759410671d96d33a3fbd5bc38f93b2.tar.bz2
remote: Fix indentation in remote_new_objfile.
gdb/remote.c:14541:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if (current_inferior ()->in_initial_library_scan) ^ gdb/remote.c:14527:3: note: previous statement is here if (remote == nullptr) ^ gdb/ChangeLog: * remote.c (remote_new_objfile): Fix indentation.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 39bdd2e..22933ee 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -14538,8 +14538,8 @@ remote_new_objfile (struct objfile *objfile)
So, skip these events, we'll give the remote a chance to look up symbols
once all the loaded libraries and their symbols are known to GDB. */
- if (current_inferior ()->in_initial_library_scan)
- return;
+ if (current_inferior ()->in_initial_library_scan)
+ return;
remote->remote_check_symbols ();
}