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


On Dec 17, 10:45am, Hillel (Sabba) Markowitz wrote:

> 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.

Has gdb itself been built in 64-bit mode?  As I recall, this is necessary
in order to debug 64-bit programs.

Kevin


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