From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9950 invoked by alias); 30 Mar 2007 18:27:19 -0000 Received: (qmail 9689 invoked by uid 22791); 30 Mar 2007 18:27:09 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Mar 2007 19:27:01 +0100 Received: (qmail 30626 invoked from network); 30 Mar 2007 18:26:57 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Mar 2007 18:26:57 -0000 To: "drizzle drizzle" Cc: gdb@sourceware.org Subject: Re: dwarf 2 clarification References: <7326d8e40703291411y423163bay5db65069d3a4e662@mail.gmail.com> From: Jim Blandy Date: Fri, 30 Mar 2007 18:27:00 -0000 In-Reply-To: <7326d8e40703291411y423163bay5db65069d3a4e662@mail.gmail.com> (drizzle drizzle's message of "Thu, 29 Mar 2007 17:11:18 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00342.txt.bz2 "drizzle drizzle" writes: > I am using a 32 bit compiler to generate debug information. i want > to retarget this compiler to now emit emit debug information for a 16 > bit architecture. The compiler is already retarget to generate correct > code for the 16 bit architecture. So the offsets from the stack > pointer in the assembly code, the sizes of the symbol are all correct > in terms of the new architectures address size. Now I was wondering > from a debug information standpoint, is there any extra education that > the compiler needs ? This mailing list is for discussion about the GNU debugger, GDB. Are you using GDB as your debugger?