mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
fix misspelled names in locally scoped code
These misspelled words are used in strictly local scopes. Renaming these variables should not cause any problems.
This commit is contained in:
@@ -352,10 +352,10 @@ def parse_and_eval(expression: str, global_context: bool = False):
|
||||
return Value(gdb_value)
|
||||
|
||||
|
||||
def gdb_eval_or_none(expresssion):
|
||||
def gdb_eval_or_none(expression):
|
||||
"""Evaluate an expression and return None if it fails"""
|
||||
try:
|
||||
return parse_and_eval(expresssion)
|
||||
return parse_and_eval(expression)
|
||||
except gdb.error:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user