aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2019-09-21 22:13:49 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2019-09-21 22:13:49 -0400
commit7ab78ccbbb0d0918c293ade07bea59d789ea7d63 (patch)
treeea1163c8a2652b3cda9ba4d6cbc4086e0dc54f0b
parent4c1d86d9a8f7ddfbf7ff095a88a59497c8f6ddc9 (diff)
downloadgdb-7ab78ccbbb0d0918c293ade07bea59d789ea7d63.zip
gdb-7ab78ccbbb0d0918c293ade07bea59d789ea7d63.tar.gz
gdb-7ab78ccbbb0d0918c293ade07bea59d789ea7d63.tar.bz2
gdb: fix formatting in solib-svr4.c
gdb/ChangeLog: * solib-svr4.c (svr4_iterate_over_objfiles_in_search_order): Fix formatting.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/solib-svr4.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 48f9018..4374348 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2019-09-21 Simon Marchi <simon.marchi@polymtl.ca>
+ * solib-svr4.c (svr4_iterate_over_objfiles_in_search_order): Fix
+ formatting.
+
+2019-09-21 Simon Marchi <simon.marchi@polymtl.ca>
+
* breakpoint.h (bp_location) <inserted, permanent, duplicate>:
Change "nonzero" to "true" in documentation.
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index dc63549..aa4af34 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -3229,8 +3229,8 @@ svr4_iterate_over_objfiles_in_search_order
else
abfd = current_objfile->obfd;
- if (abfd != nullptr &&
- scan_dyntag (DT_SYMBOLIC, abfd, nullptr, nullptr) == 1)
+ if (abfd != nullptr
+ && scan_dyntag (DT_SYMBOLIC, abfd, nullptr, nullptr) == 1)
{
checked_current_objfile = true;
if (cb (current_objfile, cb_data) != 0)