handle_general_set: Remove useless xstrdup
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 3 Mar 2018 04:27:46 +0000 (23:27 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 3 Mar 2018 04:27:47 +0000 (23:27 -0500)
commitb9671caf8fe1abd737846edf7dcd627870f986cc
tree3bfba12e9cb6a97cc08ef47b12300ac17e982129
parent54693cf5f11bf292ae308604caf6e866dbb03e6f
handle_general_set: Remove useless xstrdup

Unless I'm missing something very obvious, this xstrdup seems
unnecessary to me.  We can pass "mode" directly to sprintf.

gdb/gdbserver/ChangeLog:

* server.c (handle_general_set): Remove unnecessary xstrdup.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c