This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 64-bit debug on Solaris
- From: Roland Egger <egger at tarantel dot rz dot fh-muenchen dot de>
- To: "Hillel \(Sabba\) Markowitz" <sabbahem at bcpl dot net>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 19 Dec 2002 20:54:42 +0100
- Subject: Re: 64-bit debug on Solaris
- References: <3E1DAAD4@webmail.bcpl.net>
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
>