From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2066 invoked by alias); 21 Jan 2002 05:11:08 -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 2030 invoked from network); 21 Jan 2002 05:11:06 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 21 Jan 2002 05:11:06 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id A588B3F0E for ; Mon, 21 Jan 2002 00:11:04 -0500 (EST) Message-ID: <3C4BA2E8.8090807@cygnus.com> Date: Sun, 20 Jan 2002 21:11:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [rfa/doco] Srink the overlay diagram Content-Type: multipart/mixed; boundary="------------000704070607080304030005" X-SW-Source: 2002-01/txt/msg00623.txt.bz2 This is a multi-part message in MIME format. --------------000704070607080304030005 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 173 Hello, One of the things giving overfull hboxes is JimB's overlay diagram. The attached patch srinks it a little. ok? Andrew PS: This diagram isn't on the 5.1 branch. --------------000704070607080304030005 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 3935 2002-01-21 Andrew Cagney * gdb.texinfo (How Overlays Work): Srink the overlay diagram. Index: gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.76 diff -p -r1.76 gdb.texinfo *** gdb.texinfo 2002/01/20 11:59:38 1.76 --- gdb.texinfo 2002/01/21 05:07:10 *************** there. *** 6420,6453 **** @example @group ! Data Instruction Larger ! Address Space Address Space Address Space ! +-----------+ +-----------+ +-----------+ ! | | | | | | ! +-----------+ +-----------+ +-----------+<-- overlay 1 ! | program | | main | | | load address ! | variables | | program | | overlay 1 | ! | and heap | | | ,---| | ! +-----------+ | | | | | ! | | +-----------+ | +-----------+ ! +-----------+ | | | | | ! mapped --->+-----------+ / +-----------+<-- overlay 2 ! address | overlay | <-' | overlay 2 | load address ! | area | <-----| | ! | | <---. +-----------+ ! | | | | | ! +-----------+ | | | ! | | | +-----------+<-- overlay 3 ! +-----------+ `--| | load address ! | overlay 3 | ! | | ! +-----------+ ! | | ! +-----------+ ! To map an overlay, copy its code from the larger address space ! to the instruction address space. Since the overlays shown here ! all use the same mapped address, only one may be mapped at a time. @end group @end example --- 6420,6452 ---- @example @group ! Data Instruction Larger ! Address Space Address Space Address Space ! +-----------+ +-----------+ +-----------+ ! | | | | | | ! +-----------+ +-----------+ +-----------+<-- overlay 1 ! | program | | main | | | load address ! | variables | | program | ,----| overlay 1 | ! | and heap | | | | | | ! +-----------+ | | | +-----------+ ! | | +-----------+ | | | ! +-----------+ | | | +-----------+<-- overlay 2 ! | | | | | load address ! mapped --->+-----------+ | .-| overlay 2 | ! address | overlay | <-' | | | ! | area | <---' +-----------+ ! | | <---. | | ! +-----------+ | +-----------+<-- overlay 3 ! | | | | | load address ! +-----------+ `--| overlay 3 | ! | | ! +-----------+ ! | | ! +-----------+ ! To map an overlay, copy its code from the larger address space to the ! instruction address space. Since the overlays shown here all use the ! same mapped address, only one may be mapped at a time. @end group @end example --------------000704070607080304030005--