From ae9661b7f37b860ebf7d449faf607f639e9d8ae8 Mon Sep 17 00:00:00 2001 From: disconnect3d Date: Mon, 3 Oct 2022 06:09:42 +0200 Subject: [PATCH] bugreport command: use code listings --- pwndbg/commands/version.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pwndbg/commands/version.py b/pwndbg/commands/version.py index 9ca91c719..193f02ee3 100644 --- a/pwndbg/commands/version.py +++ b/pwndbg/commands/version.py @@ -113,7 +113,9 @@ please provide the smallest C code that reproduces the issue. --> Gdb session history: +``` {gdb_history} +``` ### My setup @@ -132,7 +134,9 @@ If it is somehow unavailable, use: * pwndbg version/git commit id --> -{setup}""" +``` +{setup} +```""" gdb_config = gdb.execute("show configuration", to_string=True).split("\n") all_info = all_versions()