This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix PR 21352: Command tsave does not support -r argument
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 05 Apr 2017 12:56:54 -0400
- Subject: [binutils-gdb] Fix PR 21352: Command tsave does not support -r argument
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 4a596fe20e93109300e841a3d0ee5f198146ab6d ***
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 4a596fe20e93109300e841a3d0ee5f198146ab6d
Fix PR 21352: Command tsave does not support -r argument
This is an obvious fix for PR 21352. The problem is that the argument
parsing loop is not using an "else if" where it should, and therefore
the '-r' option ends up unrecognized by GDB.
gdb/ChangeLog:
2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
PR gdb/21352
* tracefile.c (tsave_command): Fix argument parsing for '-r'
option.