Re: Unable to trace assembler in GDB 14.2 on Solaris 11.3/sparc

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
>>>>> john o goyo <[email protected]> writes:

I didn't want to let this go unanswered, but I was hoping someone more
familiar with Solaris would reply.

> I am learning Sparc assembler (mostly through Paul's book and various
> tutorials).  I built GDB 14.2 on Solaris 11.3/sparc and can debug C
> code with no problem.

>         .section ".data"
> hello:  .asciz "Hello, World!\n"

>         .global main
>         .align 4
> main:

Does main end up in .data here?  If so that could be the issue.

Normally this kind of thing should work ok, as far as I know.

Maybe dumping the minimal symbols ("maint print msymbols") would be
informative.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.