summaryrefslogtreecommitdiff
path: root/share/gdb/python/gdb/unwinder.py
diff options
context:
space:
mode:
Diffstat (limited to 'share/gdb/python/gdb/unwinder.py')
-rw-r--r--share/gdb/python/gdb/unwinder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/gdb/python/gdb/unwinder.py b/share/gdb/python/gdb/unwinder.py
index 14b2758..5777979 100644
--- a/share/gdb/python/gdb/unwinder.py
+++ b/share/gdb/python/gdb/unwinder.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2016 Free Software Foundation, Inc.
+# Copyright (C) 2015-2019 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -92,3 +92,4 @@ def register_unwinder(locus, unwinder, replace=False):
unwinder.name)
i += 1
locus.frame_unwinders.insert(0, unwinder)
+ gdb.invalidate_cached_frames()