stap-probe: Remove unnecessary cast
authorSimon Marchi <simon.marchi@ericsson.com>
Tue, 22 Sep 2015 15:17:52 +0000 (11:17 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Tue, 22 Sep 2015 15:18:09 +0000 (11:18 -0400)
commitbc1f8cdaf4b26d1c7af34c7a33038c50fd5eabd4
tree5bf7155633e1de438c5dbd429c3d9c0923d7e229
parent5fe2850dd96483f176858fd75c098313d5b20bc2
stap-probe: Remove unnecessary cast

ret->args_u.text is const char *, probe_args is const char *, so no cast
is needed.  Found while doing cxx-conversion stuff, since it wouldn't
build in C++.

gdb/ChangeLog:

* stap-probe.c (handle_stap_probe): Remove unnecessary cast.
gdb/ChangeLog
gdb/stap-probe.c