Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GDB from current broken on mips64eb



On 2016/09/11 11:58, Rin Okuyama wrote:
GDB 7.10.1 from current (20160910) on ERLITE (mips64eb, n32 ABI)
seems broken:

  % cc -g -O0 hello.c && gdb ./a.out
  GNU gdb (GDB) 7.10.1
  (snip)
  Reading symbols from ./a.out...done.
  (gdb) r
  Starting program: /home/rin/a.out
  Hello, World!

Then, it hangs indefinitely. The target process became zombie,
and it cannot be killed even with "kill -9":
...snip...

The origin of the problem turned out to be missing COMPAT_NETBSD32
support for ptrace(2). I booked PR with patch as kern/51514:

  http://gnats.netbsd.org/51514

With this patch, GDB works fine in N32 userland on mips64 kernel.

Thanks,
Rin


Home | Main Index | Thread Index | Old Index