Unable to trace assembler in GDB 14.2 on Solaris 11.3/sparc
Tom Tromey
tom@tromey.com
Thu Mar 21 16:29:06 GMT 2024
>>>>> john o goyo <jog37@riddermarkfarm.ca> 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
More information about the Gdb
mailing list