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 <>
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, 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 8.99.4 NetBSD 8.99.4 (GENERIC) #160: Wed Oct 11 12:35:27 CEST 2017 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 <>
 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:
 Find the GDB manual and other documentation resources online at:
 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.

Home | Main Index | Thread Index | Old Index