NetBSD-Bugs archive

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

port-mips/45309: gdb doens't understand native format (N32) on mips64

>Number:         45309
>Category:       port-mips
>Synopsis:       gdb doens't understand native format (N32) on mips64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 29 21:15:00 +0000 2011
>Originator:     Manuel Bouyer
>Release:        NetBSD 5.99.55
System: NetBSD 5.99.55 NetBSD 5.99.55 (LOONGSON) #52: Mon Aug 
29 21:38:41 CEST 2011 
Architecture: mipsel
Machine: evbmips-mips64el
        On mips64el platforms, the default userland format is N32, but
        gdb is configured for mips64el and doesn't understand N32:
cuba:/home/bouyer/src/usr.bin/ftp>file ftp
ftp: ELF 32-bit LSB executable, MIPS, N32 MIPS-III version 1 (SYSV), 
dynamically linked (uses shared libs), for NetBSD 5.99.55, with unknown 
capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x3040000, not 
cuba:/home/bouyer/src/usr.bin/ftp>gdb ftp
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as 
"mips64el--netbsd"..."/home/bouyer/src/usr.bin/ftp/ftp": not in executable 
format: File format not recognized

        try to run a userland binary under gdb on a mip64el platform.
        Ideally, gdb should understand both N32 and N64, and optionally O32,
        as libraries are installed for all 3 formats.

Home | Main Index | Thread Index | Old Index