NetBSD-Bugs archive

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

Re: kern/52628: tracing 32-bit application on 64-bit kernel panic



The following reply was made to PR kern/52628; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/52628: tracing 32-bit application on 64-bit kernel panic
Date: Thu, 19 Oct 2017 11:27:07 +0200

 On Thu, Oct 19, 2017 at 09:20:00AM +0000, n54%gmx.com@localhost wrote:
 > >How-To-Repeat:
 > gcc test.c -m32 -o test
 > gdb ./test
 
 I can not quite reproduce it:
 
 [/tmp] martin@seven-days-to-the-wolves > file test
 test: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 8.99.4, not stripped
 [/tmp] martin@seven-days-to-the-wolves > uname -a
 NetBSD seven-days-to-the-wolves.aprisoft.de 8.99.4 NetBSD 8.99.4 (GENERIC) #160: Wed Oct 11 12:35:27 CEST 2017  martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/amd64/compile/GENERIC amd64
 [/tmp] martin@seven-days-to-the-wolves > gdb ./test
 GNU gdb (GDB) 7.12
 Copyright (C) 2016 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "x86_64--netbsd".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from ./test...(no debugging symbols found)...done.
 (gdb) run
 Starting program: /tmp/test 
 Couldn't write registers: Invalid argument.
 (gdb) 
 
 Martin
 


Home | Main Index | Thread Index | Old Index