From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18588 invoked by alias); 23 Feb 2005 16:11:14 -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 18511 invoked from network); 23 Feb 2005 16:11:09 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 23 Feb 2005 16:11:09 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j1NGB8ST013066 for ; Wed, 23 Feb 2005 11:11:09 -0500 Received: from zenia.home.redhat.com (sebastian-int.corp.redhat.com [172.16.52.221]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j1NGB2K09214; Wed, 23 Feb 2005 11:11:03 -0500 To: gdb-patches@sources.redhat.com Subject: obvious: call arch-specific init function for disassembly info From: Jim Blandy Date: Thu, 24 Feb 2005 20:27:00 -0000 Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2005-02/txt/msg00247.txt.bz2 Per the comment in include/dis-asm.h. 2005-02-22 Jim Blandy * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target. Index: gdb/disasm.c =================================================================== RCS file: /cvs/cvsfiles/devo/gdb/disasm.c,v retrieving revision 2.10 diff -c -p -r2.10 disasm.c *** gdb/disasm.c 13 Apr 2004 16:38:54 -0000 2.10 --- gdb/disasm.c 22 Feb 2005 20:13:02 -0000 *************** gdb_disassemble_info (struct gdbarch *gd *** 344,349 **** --- 344,350 ---- di.arch = gdbarch_bfd_arch_info (gdbarch)->arch; di.mach = gdbarch_bfd_arch_info (gdbarch)->mach; di.endian = gdbarch_byte_order (gdbarch); + disassemble_init_for_target (&di); return di; }