From 52e6285e7c2ffd48d5f2d218f3509a01134cdfe9 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Sun, 24 Dec 2017 19:45:12 +0100 Subject: [PATCH] Merge stable to dev (#381) * Fixes `u` command `module object is not callable` (#310) pwndbg> u 0x404030 'u': Starting at the specified address, disassemble N instructions (default 5). Traceback (most recent call last): File "/home/dc/installed/pwndbg/pwndbg/commands/__init__.py", line 99, in __call__ return self.function(*args, **kwargs) File "/home/dc/installed/pwndbg/pwndbg/commands/__init__.py", line 191, in _OnlyWhenRunning return function(*a, **kw) File "/home/dc/installed/pwndbg/pwndbg/commands/windbg.py", line 292, in u pwndbg.commands.nearpc(where, n) TypeError: 'module' object is not callable * Fix malloc chunk names (#318) * heap: respect rename of malloc_chunk fields newer glibc uses different names for the fields of malloc_chunk * move value_from_type to typeinfo and rename to read_gdbvalue * add comment about renaming of `[prev_]size` * Workaround for gdb remote target search bug described in #321 (#322) * Fixes issue when we try to display context while selected thread is running #299 (#331) * Fix tag_release (#348) * Fix "dt" offsets which are sometimes floating-point (#355) * Fixes #362 - broken entry command (#363) --- pwndbg/prompt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pwndbg/prompt.py b/pwndbg/prompt.py index 79ff5c419..b19e22cd3 100644 --- a/pwndbg/prompt.py +++ b/pwndbg/prompt.py @@ -43,4 +43,5 @@ def prompt_hook_on_stop(*a): + gdb.prompt_hook = prompt_hook