From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1338 invoked by alias); 19 Dec 2002 19:52:36 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1329 invoked from network); 19 Dec 2002 19:52:35 -0000 Received: from unknown (HELO mailserv.rz.fh-muenchen.de) (129.187.244.239) by 209.249.29.67 with SMTP; 19 Dec 2002 19:52:35 -0000 Received: (qmail 19475 invoked by uid 4306); 19 Dec 2002 19:54:42 -0000 Date: Thu, 19 Dec 2002 11:52:00 -0000 From: Roland Egger To: "Hillel \(Sabba\) Markowitz" Cc: gdb@sources.redhat.com Subject: Re: 64-bit debug on Solaris Message-ID: <20021219205442.A19168@tarantel.rz.fh-muenchen.de> References: <3E1DAAD4@webmail.bcpl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <3E1DAAD4@webmail.bcpl.net> X-SW-Source: 2002-12/txt/msg00293.txt.bz2 That's really strange. Normally you can compile a programm on an older system e.g. solaris 2.5.1 and run it without any problems on solaris 2.8. The other way doesn't work often but in this special case I haven't testet it. Bye Roland On Thu, Dec 19, 2002 at 12:16:20PM -0500, Hillel (Sabba) Markowitz wrote: > It turns out that a test program compiled on Solaris 8 will debug successfully > even when run on a Solaris 7 platform. A test program compiled on Solaris 7 > (in 64-bit mode) will fail even when executed on a Solaris 8 platform. The > gdb result (also built in 64 bit mode on the correct platform - Solaris 7 or > Solaris 8) is as follows > > gdb testit > break testit.c:43 > > Breakpoint 1 at 0x938: file testit.c, line 43 > > run > > Starting program: testit > Warning: > Cannot insert breakpoint 1. > Error accessing memory address 0x938: I/O error. > The same program may be running in another process. > > -- > Said the fox to the fish, "Join me ashore". > The fish are the Jews, Torah is our water > > Hillel (Sabba) Markowitz - sabbahem@bcpl.net >