This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Final separate debug info patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]