This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Final separate debug info patch
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: Alexander Larsson <alexl at redhat dot com>, gdb at sources dot redhat dot com
- Date: Tue, 19 Nov 2002 00:33:45 -0500
- Subject: Re: Final separate debug info patch
- References: <Pine.LNX.4.44.0210090447290.29225-200000@devserv.devel.redhat.com> <vt2wunajgl9.fsf@zenia.red-bean.com>
On Tue, Nov 19, 2002 at 12:04:02AM -0500, Jim Blandy wrote:
> There are some problems at the moment: DejaGNU has the name "unix"
> hard-coded into it, and thinks that anything with another name is a
> remote board. Some tests won't run if the target is remote. I think
> I know how to persuade it that unix-separate-debug is still not a
> remote target, but I'm just going to post this as is for the time
> being.
FYI, I do this. Here's how. This is a simple board description file
which just uses a different C compiler, since GDB wasn't honoring CC:
<quote>
# The canonical unix board description.
load_generic_config "unix";
set_board_info compiler "gcc-3.2";
set_board_info c++compiler "g++-3.2";
global board
proc ${board}_init { whole_name } {
global board_info
set board_info(unix3.2,isremote) 0;
}
</quote>
Replace unix3.2 with whatever goes before the .exp. The ${board} bit
is necessary and becomes something involving the local hostname, IIRC.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer