aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-12-20 22:30:37 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2021-12-21 19:47:59 -0500
commitc3f340f7523059a0b4bdb00234d907999132c562 (patch)
tree8b767c7337abb7cea9ca7376667dead53d45bf33
parent6d59be2c2c915d44d775debe69fc3924d4b60045 (diff)
downloadgdb-c3f340f7523059a0b4bdb00234d907999132c562.zip
gdb-c3f340f7523059a0b4bdb00234d907999132c562.tar.gz
gdb-c3f340f7523059a0b4bdb00234d907999132c562.tar.bz2
gdbarch-components.py: change empty "params" tuples to empty lists
During review, it was suggested to change the "params" parameter from a tuple to a list, for esthetic reasons. The empty ones are still tuples though, they should probably be changed to be empty lists, for consistency. It does not change anything in the script result. Change-Id: If13c6c527aa167a5ee5b45740e5f1bda1e9517e4
-rw-r--r--gdb/gdbarch-components.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdb/gdbarch-components.py b/gdb/gdbarch-components.py
index a5c3c38..94a684c 100644
--- a/gdb/gdbarch-components.py
+++ b/gdb/gdbarch-components.py
@@ -1688,7 +1688,7 @@ gdbarch_software_single_step routine, and true otherwise.
""",
type="bool",
name="displaced_step_hw_singlestep",
- params=(),
+ params=[],
predefault="default_displaced_step_hw_singlestep",
invalid=False,
)
@@ -1890,7 +1890,7 @@ Return a type suitable to inspect extra signal information.
""",
type="struct type *",
name="get_siginfo_type",
- params=(),
+ params=[],
predicate=True,
invalid=True,
)
@@ -2236,7 +2236,7 @@ True if inferiors share an address space (e.g., uClinux).
""",
type="int",
name="has_shared_address_space",
- params=(),
+ params=[],
predefault="default_has_shared_address_space",
invalid=False,
)
@@ -2272,7 +2272,7 @@ Return the "auto" target charset.
""",
type="const char *",
name="auto_charset",
- params=(),
+ params=[],
predefault="default_auto_charset",
invalid=False,
)
@@ -2283,7 +2283,7 @@ Return the "auto" target wide charset.
""",
type="const char *",
name="auto_wide_charset",
- params=(),
+ params=[],
predefault="default_auto_wide_charset",
invalid=False,
)
@@ -2520,7 +2520,7 @@ they can override it.
""",
type="std::string",
name="gcc_target_options",
- params=(),
+ params=[],
predefault="default_gcc_target_options",
invalid=False,
)
@@ -2535,7 +2535,7 @@ case.
""",
type="const char *",
name="gnu_triplet_regexp",
- params=(),
+ params=[],
predefault="default_gnu_triplet_regexp",
invalid=False,
)
@@ -2548,7 +2548,7 @@ each address in memory.
""",
type="int",
name="addressable_memory_unit_size",
- params=(),
+ params=[],
predefault="default_addressable_memory_unit_size",
invalid=False,
)