Skip to content

Commit

Permalink
code: correct leaf list name to gdb-run-cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
choppsv1 committed Dec 4, 2023
1 parent 1723075 commit f2bc112
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module: labn-munet-config
| | +--rw name string
| | +--rw value? string
| +--rw gdb-cmd? string
| +--rw gdb-run-cmd* string
| +--rw gdb-run-cmds* string
| +--rw init? union
| +--rw mounts* [destination]
| | +--rw destination string
Expand Down Expand Up @@ -160,7 +160,7 @@ module: labn-munet-config
| | +--rw name string
| | +--rw value? string
| +--rw gdb-cmd? string
| +--rw gdb-run-cmd* string
| +--rw gdb-run-cmds* string
| +--rw init? union
| +--rw mounts* [destination]
| | +--rw destination string
Expand Down
2 changes: 1 addition & 1 deletion munet/native.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ def pytest_hook_open_shell(self):
if bp:
gdbcmd += f" '-ex=b {bp}'"

cmds = self.config.get("gdb-run-cmd", [])
cmds = self.config.get("gdb-run-cmds", [])
for cmd in cmds:
gdbcmd += f" '-ex={cmd}'"

Expand Down

0 comments on commit f2bc112

Please sign in to comment.