Hi!
I'm seeing on the trunk errors like:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "../../gcc/gdbhooks.py", line 441
if name == 'E_VOIDmode':
^
TabError: inconsistent use of tabs and spaces in indentation
.gdbinit:14: Error in sourced command file:
Error while executing Python code.
(with gdb 7.12.1).
The following patch fixes that, bootstrapped/regtested on x86_64-linux and
i686-linux, ok for trunk?
2017-09-01 Jakub Jelinek <[email protected]>
* gdbhooks.py (OptMachineModePrinter.to_string): Use 8 spaces
instead of tab.
--- gcc/gdbhooks.py.jj 2017-09-01 09:26:27.000000000 +0200
+++ gcc/gdbhooks.py 2017-09-01 20:04:04.135133016 +0200
@@ -438,8 +438,8 @@ class OptMachineModePrinter:
def to_string (self):
name = str(self.gdbval['m_mode'])
- if name == 'E_VOIDmode':
- return '<None>'
+ if name == 'E_VOIDmode':
+ return '<None>'
return name[2:] if name.startswith('E_') else name
######################################################################
Jakub