This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 64-bit debug on Solaris
- From: Kevin Buettner <kevinb at redhat dot com>
- To: "Hillel (Sabba) Markowitz" <sabbahem at bcpl dot net>, gdb at sources dot redhat dot com
- Date: Wed, 18 Dec 2002 10:59:26 -0700
- Subject: Re: 64-bit debug on Solaris
- References: <3E17A2DC@webmail.bcpl.net>
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