From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27815 invoked by alias); 14 Aug 2003 21:40:32 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27804 invoked from network); 14 Aug 2003 21:40:31 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 14 Aug 2003 21:40:31 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h7ELeUt01952 for ; Thu, 14 Aug 2003 17:40:30 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h7ELeTL06278 for ; Thu, 14 Aug 2003 17:40:29 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h7ELeRO09337 for ; Thu, 14 Aug 2003 14:40:27 -0700 Message-ID: <3F3C01CB.7000703@redhat.com> Date: Thu, 14 Aug 2003 21:40:00 -0000 From: Michael Snyder User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [ob] initialize info->insn_sets to zero Content-Type: multipart/mixed; boundary="------------050807050309000100020802" X-SW-Source: 2003-08/txt/msg00241.txt.bz2 This is a multi-part message in MIME format. --------------050807050309000100020802 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 88 I trust no one will object to this. Frv target reacts badly if it's un-initialized. --------------050807050309000100020802 Content-Type: text/plain; name="disasm" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="disasm" Content-length: 659 2003-08-14 Michael Snyder * disasm.c (gdb_disassemble_info): Set info->insn_sets to zero. Index: disasm.c =================================================================== RCS file: /cvs/src/src/gdb/disasm.c,v retrieving revision 1.12 diff -p -r1.12 disasm.c *** disasm.c 18 Jul 2003 20:16:23 -0000 1.12 --- disasm.c 14 Aug 2003 21:37:46 -0000 *************** gdb_disassemble_info (struct gdbarch *gd *** 334,339 **** --- 334,340 ---- di.arch = gdbarch_bfd_arch_info (gdbarch)->arch; di.mach = gdbarch_bfd_arch_info (gdbarch)->mach; di.endian = gdbarch_byte_order (gdbarch); + di.insn_sets = 0; return di; } --------------050807050309000100020802--