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: 64-bit debug on Solaris


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
> 


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