From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15472 invoked by alias); 1 Mar 2006 23:55:25 -0000 Received: (qmail 15442 invoked by uid 22791); 1 Mar 2006 23:55:24 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Mar 2006 23:55:22 +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 k21NtKt3016035; Wed, 1 Mar 2006 18:55:20 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k21NtJ121441; Wed, 1 Mar 2006 18:55:19 -0500 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k21NtGKt029570; Wed, 1 Mar 2006 18:55:17 -0500 Message-ID: <44063463.5080808@redhat.com> Date: Wed, 01 Mar 2006 23:55:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) MIME-Version: 1.0 To: Brendan Kehoe CC: gdb-gnats@sources.redhat.com, nobody@sources.redhat.com, harada@esd.spr.epson.co.jp, gdb-prs@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Re: remote/1832: spaces in directory names References: <43F0C5C9.5010906@zen.org> In-Reply-To: <43F0C5C9.5010906@zen.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00027.txt.bz2 Brendan Kehoe wrote: > - I'm curious about the mystical second argument to the LOAD command > in GDB; it's only mentioned in the docs related to the Sparlet, and even > then only in passing. It's ancient, and mostly not used any more. One place that does still use it is monitor.c::monitor_load (q.v.) The second argument was a base address or offset where you wanted the load to be relocated. This was basically a hold-over from the days of a.out (in which the sections were assumed to start at zero). There was once a GNU extension called b.out, which was a.out plus a section load offset. Everything since coff has allowed an individual offset per section to be specified.