From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99167 invoked by alias); 22 Nov 2016 17:04:20 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 99075 invoked by uid 89); 22 Nov 2016 17:04:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_SEMBACKSCATTER,SPF_PASS autolearn=ham version=3.3.2 spammy=bergner X-HELO: mx0a-001b2d01.pphosted.com Received: from mx0a-001b2d01.pphosted.com (HELO mx0a-001b2d01.pphosted.com) (148.163.156.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Nov 2016 17:04:17 +0000 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id uAMH4ECt052948 for ; Tue, 22 Nov 2016 12:04:15 -0500 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0a-001b2d01.pphosted.com with ESMTP id 26vpwj10m3-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 22 Nov 2016 12:04:15 -0500 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 22 Nov 2016 12:04:09 -0500 Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 22 Nov 2016 12:04:06 -0500 Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 47F3338C8046; Tue, 22 Nov 2016 12:04:05 -0500 (EST) Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id uAMH3sQ238862858; Tue, 22 Nov 2016 17:04:05 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6571C2803F; Tue, 22 Nov 2016 12:04:05 -0500 (EST) Received: from otta.local (unknown [9.85.128.109]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP id E073A2805A; Tue, 22 Nov 2016 12:04:04 -0500 (EST) Subject: Re: [PATCH 1/2] Add support for setting disassembler-options in GDB for POWER, ARM and S390 To: Pedro Alves References: <83eg28dcjk.fsf@gnu.org> <019eaf5d-9ace-539e-8501-feb3cb0eed6c@vnet.ibm.com> Cc: Eli Zaretskii , nickc@redhat.com, gdb-patches@sourceware.org, uweigand@de.ibm.com, amodra@gmail.com, binutils@sourceware.org From: Peter Bergner Date: Tue, 22 Nov 2016 17:04:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16112217-0040-0000-0000-000001ECD18B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006123; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000189; SDB=6.00783949; UDB=6.00378647; IPR=6.00561567; BA=6.00004902; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00013408; XFM=3.00000011; UTC=2016-11-22 17:04:08 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 16112217-0041-0000-0000-000005DFD334 Message-Id: <3ced8e70-af98-12cc-9ee0-41dc46029abc@vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-22_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1609300000 definitions=main-1611220298 X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00640.txt.bz2 On 11/18/16 11:23 AM, Pedro Alves wrote: > On 11/18/2016 04:56 PM, Peter Bergner wrote: > This will need a change to the GDB manual as well. It'd probably > be a good idea to refer to the -M/--disassembler-options section > of the binutils/disassembler manual for the architecture specific > options. I don't know the manual at all. Can you point me to the spot you'd like the documentation inserted at? > It'll be good to include an arch-independent gdb test to make sure > that "set disassembler-options" on other architectures doesn't > crash and cover some corner cases. E.g., test at least both: > > "set disassembler-options" > "set disassembler-options non-existing-option" Is there an example of an arch independent gdb test case I can use as a skeleton? Peter