[binutils-gdb] gdb: fix python/lib/gdb/__init__.py formatting

Simon Marchi simark@sourceware.org
Tue Jun 22 19:08:08 GMT 2021


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

commit 224506e95d2d44aa6583cbcda9f4b7305f834ab3
Author: Simon Marchi <simon.marchi@polymtl.ca>
Date:   Tue Jun 22 15:07:50 2021 -0400

    gdb: fix python/lib/gdb/__init__.py formatting
    
    Run black to fix this formatting.
    
    gdb/ChangeLog:
    
            * python/lib/gdb/__init__.py: Format.
    
    Change-Id: I68ea306d1991bf7243b2c8aeeb11719d668851e5

Diff:
---
 gdb/ChangeLog                  | 4 ++++
 gdb/python/lib/gdb/__init__.py | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2bef3a89592..5fb76d03f85 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+	* python/lib/gdb/__init__.py: Format.
+
 2021-06-22  Simon Marchi  <simon.marchi@polymtl.ca>
 
 	* infrun.c (do_target_wait): Remove wait_ptid parameter.
diff --git a/gdb/python/lib/gdb/__init__.py b/gdb/python/lib/gdb/__init__.py
index f2f38b32af9..7b6d8701548 100644
--- a/gdb/python/lib/gdb/__init__.py
+++ b/gdb/python/lib/gdb/__init__.py
@@ -94,10 +94,10 @@ def _execute_unwinders(pending_frame):
     Returns:
         Tuple with:
 
-	  [0] gdb.UnwindInfo instance
-	  [1] Name of unwinder that claimed the frame (type `str`)
+          [0] gdb.UnwindInfo instance
+          [1] Name of unwinder that claimed the frame (type `str`)
 
-	or None, if no unwinder has claimed the frame.
+        or None, if no unwinder has claimed the frame.
     """
     for objfile in objfiles():
         for unwinder in objfile.frame_unwinders:


More information about the Gdb-cvs mailing list