From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22114 invoked by alias); 1 May 2003 23:22:20 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 22102 invoked from network); 1 May 2003 23:22:19 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 1 May 2003 23:22:19 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 52AAF2B2F; Thu, 1 May 2003 19:22:17 -0400 (EDT) Message-ID: <3EB1AC29.3040304@redhat.com> Date: Thu, 01 May 2003 23:22:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com, insight@sources.redhat.com Subject: Re: [patch rfc] Always disassemble the target References: <3EAD997B.8050401@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-q2/txt/msg00056.txt.bz2 > 2003-04-28 Andrew Cagney > > * disasm.c (gdb_disassemble_from_exec): Delete global variable. > (gdb_disassembly): Make "di" non static, always initialize and > cleanup. Always use dis_asm_read_memory. > (gdb_dis_asm_read_memory): Delete function. > > Index: testsuite/ChangeLog > 2003-04-28 Andrew Cagney > > * gdb.asm/asm-source.exp: Check that the disassm and x/i of a > variable doesn't give a memory error. > I've checked this in. Andrew