This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] linux-nat: Remove unnecessary xstrdup
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 17 Jan 2018 12:53:34 -0500
- Subject: [binutils-gdb] linux-nat: Remove unnecessary xstrdup
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT a7b2d0fbeb4ca22ffbf56d19d06b7d1cb774e383 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: a7b2d0fbeb4ca22ffbf56d19d06b7d1cb774e383
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.