2013-08-29 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / python / lib / gdb / command / frame_filters.py
index 1b7305927e54ffdc4c11cc0a87b121cb23d87988..b5d34ade3db89deb319e1a4d07f416ddeae27d06 100644 (file)
@@ -335,7 +335,10 @@ class SetFrameFilterPriority(gdb.Command):
 
         list_op = command_tuple[0]
         frame_filter = command_tuple[1]
-        priority = command_tuple[2]
+
+        # GDB returns arguments as a string, so convert priority to
+        # a number.
+        priority = int(command_tuple[2])
 
         op_list = gdb.frames.return_list(list_op)
 
This page took 0.023881 seconds and 4 git commands to generate.