linux-nat: Remove unnecessary xstrdup
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 17 Jan 2018 17:33:45 +0000 (12:33 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 17 Jan 2018 17:33:45 +0000 (12:33 -0500)
commita7b2d0fbeb4ca22ffbf56d19d06b7d1cb774e383
treec639f5fcedc83c9d5018229593167fbf1f5434e7
parentd777820bf5abea433c36e956b53b299502e0f708
linux-nat: Remove unnecessary xstrdup

I think this xstrdup is not useful.  We can pass ex.message directly to
throw_error instead.

gdb/ChangeLog:

* linux-nat.c (linux_nat_attach): Remove xstrdup.
gdb/ChangeLog
gdb/linux-nat.c