This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: remote/1832: spaces in directory names
- From: Michael Snyder <msnyder at redhat dot com>
- To: Brendan Kehoe <brendan at zen dot org>
- Cc: gdb-gnats at sources dot redhat dot com, nobody at sources dot redhat dot com, harada at esd dot spr dot epson dot co dot jp, gdb-prs at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 01 Mar 2006 15:55:15 -0800
- Subject: Re: remote/1832: spaces in directory names
- References: <43F0C5C9.5010906@zen.org>
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.