NetBSD-Bugs archive

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

Re: toolchain/56153: gdb is broken for alpha



Can you try undef'ing all the HAVE_ALLOCA?

Sure. I will soon!

That's it! It works fine at least for cat.core:

----
ds10$ ./gdb.noalloca cat cat.core
GNU gdb (GDB) 11.0.50.20200914-git
...(snip)...
Reading symbols from cat...
Reading symbols from /usr/libdata/debug//bin/cat.debug...
[New process 18637]
Core was generated by `cat'.
Program terminated with signal SIGQUIT, Quit.
#0  0x000003fffdc242b8 in read () from /lib/libc.so.12
(gdb) bt
#0  0x000003fffdc242b8 in read () from /lib/libc.so.12
#1  0x0000000120001910 in raw_cat (rfd=<optimized out>)
    at /usr/src/bin/cat/cat.c:313
#2  0x0000000120001b0c in raw_args (argv=0x1fffff728)
    at /usr/src/bin/cat/cat.c:277
#3  0x0000000120002160 in main (argc=<optimized out>, argv=0x1fffff728)
    at /usr/src/bin/cat/cat.c:136
(gdb)
----

Thanks,
rin


Home | Main Index | Thread Index | Old Index