Subject: gdb disassembler problem?
To: None <port-sparc@NetBSD.ORG>
From: Chuck Silvers <chuq@chuq.com>
List: port-sparc
Date: 11/11/1997 08:44:12
is anyone else seeing problems with disassembling things in gdb?
here's what happens for me:

171 chuq:~> cat hi.c
main()
{
        printf("hello\n");
}
172 chuq:~> cc -g -o hi hi.c
173 chuq:~> gdb hi
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-netbsd), Copyright 1996 Free Software Foundation, Inc...
(gdb) x/4i main
0x2a40 <main>:  xnorcc  %i7, 0x39d, %o4
0x2a44 <main+4>:        unknown
0x2a48 <main+8>:        unimp  0x1
0x2a4c <main+12>:       unknown
(gdb) run
Starting program: /home/chs/hi 
hello


this is with the gdb binary and shared libs from the 19971109 snapshot.

-Chuck