Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* RE: 64-bit debug on Solaris
@ 2002-12-19  9:11 Hillel (Sabba) Markowitz
  2002-12-19 11:52 ` Roland Egger
  0 siblings, 1 reply; 5+ messages in thread
From: Hillel (Sabba) Markowitz @ 2002-12-19  9:11 UTC (permalink / raw)
  To: kevinb; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 5+ messages in thread
* 64-bit debug on Solaris
@ 2002-12-17  8:41 Hillel (Sabba) Markowitz
  2002-12-18  9:59 ` Kevin Buettner
  0 siblings, 1 reply; 5+ messages in thread
From: Hillel (Sabba) Markowitz @ 2002-12-17  8:41 UTC (permalink / raw)
  To: gdb

I am attempting to debug a program compiled in 64 bit mode using gcc on 
Solaris 7 or Solaris 8.  Any sample program can be used such as a "hellow 
world".

gcc -m64 -g testit.c -o testit

gdb testit

break "testit.c":43
run
procfs:4235 -- process not stopped
procfs: ...giving up

The same program compiled in 32 bit mode debugs properly.

-- 
Said the fox to the fish, "Join me ashore".
 The fish are the Jews, Torah is our water

Hillel (Sabba) Markowitz - sabbahem@bcpl.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-12-19 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-19  9:11 64-bit debug on Solaris Hillel (Sabba) Markowitz
2002-12-19 11:52 ` Roland Egger
  -- strict thread matches above, loose matches on Subject: below --
2002-12-17  8:41 Hillel (Sabba) Markowitz
2002-12-18  9:59 ` Kevin Buettner
2002-12-19  4:24   ` Hillel (Sabba) Markowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox