remove use of sprintf_vma in remote_get_tracepoint_status
authorJoel Brobecker <brobecker@gnat.com>
Sun, 27 Nov 2011 17:39:30 +0000 (17:39 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Sun, 27 Nov 2011 17:39:30 +0000 (17:39 +0000)
commit2bf50f6ff30b7eee9f5d524093440e4a6f197049
treea9598bab221ca18c4d99a46d63a1a721d5024297
parent744ab88c495eb1ab30b18480aa199f53ab70ff89
remove use of sprintf_vma in remote_get_tracepoint_status

This function takes a VMA and was forcing us to perform a cast to
compile without warning on one platform. Except that the cast caused
a warning on sparc-solaris.  This patch fixes the problem by using
phex_nz instead.

gdb/ChangeLog:

        * remote.c (remote_get_tracepoint_status): Delete addrbuf
        local variable.  Avoid use of sprintf_vma.
gdb/ChangeLog
gdb/remote.c