Subject: gdb for hp700?
To: None <port-hp700@netbsd.org, tech-toolchain@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: tech-toolchain
Date: 05/08/2005 09:04:45
I see that the latest gdb has the openbsd support for hppa integrated,
are we planning to upgrade the in-tree version of gdb anytime soon?
it would be a lot easier start from the openbsd stuff in that version
than to try to backport it to 5.3.

similarly, are we looking to integrate a more recent gcc anytime soon?
I noticed that hp700 kernels built with various of the debugging
options are a couple orders of magnitude slower that without those options,
which is a much bigger difference than on other platforms.  I tried to
build a profiling kernel to see where that was coming from, but gcc gets
an internal error.  I'm hoping that this is fixed in a more recent version.
in case anyone's curious, the error is:

/tmp/28866.c:151: error: unrecognizable insn:
(call_insn 8 7 13 0 0x0 (parallel [
            (call (mem:SI (symbol_ref:SI ("_mcount")) [0 S4 A32])
                (const_int 12 [0xc]))
            (use (symbol_ref:SI ("*.LFBP61")))
            (use (reg:SI 25 %r25))
            (use (reg:SI 26 %r26))
            (clobber (reg:SI 2 %r2))
        ]) -1 (insn_list 4 (insn_list 7 (nil)))
    (expr_list:REG_DEAD (reg:SI 24 %r24)
        (expr_list:REG_DEAD (reg:SI 26 %r26)
            (expr_list:REG_DEAD (reg:SI 25 %r25)
                (expr_list:REG_UNUSED (reg:SI 2 %r2)
                    (expr_list:REG_EH_REGION (const_int -1 [0xffffffff])
                        (nil))))))
    (expr_list (use (reg:SI 24 %r24))
        (nil)))


-Chuck