public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: fix formatting in solib-svr4.c
@ 2019-09-22  2:14 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2019-09-22  2:14 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7ab78ccbbb0d0918c293ade07bea59d789ea7d63

commit 7ab78ccbbb0d0918c293ade07bea59d789ea7d63
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Sat Sep 21 22:13:49 2019 -0400

    gdb: fix formatting in solib-svr4.c
    
    gdb/ChangeLog:
    
    	* solib-svr4.c (svr4_iterate_over_objfiles_in_search_order): Fix
    	formatting.

Diff:
---
 gdb/ChangeLog    | 5 +++++
 gdb/solib-svr4.c | 4 ++--
 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-22  2:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-22  2:14 [binutils-gdb] gdb: fix formatting in solib-svr4.c Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).