From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12072 invoked by alias); 7 Jun 2009 19:13:06 -0000 Received: (qmail 12062 invoked by uid 22791); 7 Jun 2009 19:13:06 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_55,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Received: from sif.is.scarlet.be (HELO sif.is.scarlet.be) (193.74.71.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 07 Jun 2009 19:12:59 +0000 Received: from [172.17.1.10] (ip-81-11-254-176.dsl.scarlet.be [81.11.254.176]) by sif.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n57JCekG025027; Sun, 7 Jun 2009 21:12:40 +0200 Subject: Re: Patch : gdbserver get_image_name on CE From: Danny Backx Reply-To: danny.backx@scarlet.be To: Pedro Alves Cc: gdb-patches@sourceware.org In-Reply-To: <200906071916.03048.pedro@codesourcery.com> References: <1244366297.11918.210.camel@pavilion> <200906071804.37208.pedro@codesourcery.com> <1244397699.11918.216.camel@pavilion> <200906071916.03048.pedro@codesourcery.com> Content-Type: text/plain Date: Sun, 07 Jun 2009 19:13:00 -0000 Message-Id: <1244401967.11918.226.camel@pavilion> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: sif 20001; Body=3 Fuz1=3 Fuz2=3 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 X-SW-Source: 2009-06/txt/msg00160.txt.bz2 On Sun, 2009-06-07 at 19:16 +0100, Pedro Alves wrote: > It's fine to send unfinished patches for comments, if you'd like, but > please say so explicitly, so I don't waste time trying to understand > what they're for, for nothing. This one isn't for nothing, it fixes a problem. It's just not all of the work to get gdb/gdbserver to work for x86/ce . > > I sent this one separately because it looked contained. > > Thanks for doing that. Splitting self contained patches is > always good. > > In this case, x86 desktop and ARM CE are different in that: > > - ARM CE stores dll names in unicode. > - ARM CE's dll event reports the address of the dll name. > > - x86 desktop stores dll names in ascii. > - x86 desktop's dll event reports a pointer to the address of the dll name. > > It may be that x86 CE is a mix of the two: I don't think so. CE -> unicode, both ARM and x86. The DLL name was in the right place, it's just the code to read it didn't work right. As I said, I'm still trying to figure out what is happening, how x86/CE works, etc. But CE on x86 looks similar to CE on ARM. Except stuff like the packaging. None of the PocketPC type functionality on the box that I'm using. But the box isn't a PDA so that's logical. More info/patches when I have them ... Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info