NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-amd64/50091
The following reply was made to PR port-amd64/50091; it has been noted by GNATS.
From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: prlw1%cam.ac.uk@localhost, vchaves%ymail.com@localhost, mrg%eterna.com.au@localhost
Subject: Re: port-amd64/50091
Date: Tue, 11 Aug 2015 12:34:31 +0100
> looking more carefully at the address that the packet m is trying to read,
> appears to be the contents of the eip register case gdb remote was
> interpreting the g packet as i386 port.
So that could explain why after the "g" command, you see a "p"
command and I get a "m" command?
> What is the port you are using on the server remote gdb?
Just retested everything with NetBSD-7.99.20/amd64 on both ends.
> What is the output you get when you run the command show architecture in
> gdb?
The target architecture is set automatically (currently i386)
I just tried the following .gdbinit, but got the same uninitialized
lock panic:
source ../../../../gdbscripts/bdump
source ../../../../gdbscripts/cpus
source ../../../../gdbscripts/kdump
source ../../../../gdbscripts/lwps
source ../../../../gdbscripts/module
source ../../../../gdbscripts/msgbuf
source ../../../../gdbscripts/pgrpdump
source ../../../../gdbscripts/procs
source ../../../../gdbscripts/vchain
source ../../../../gdbscripts/vdump
set remote interrupt-sequence BREAK
set serial baud 9600
set remotetimeout 3
set debug remote 1
set remotelogfile protocol.txt
set architecture i386:x86-64:intel
show architecture
target remote /dev/ttyU3
(again the "m" command as per protocol.txt:
w +$g#67
r +$0f0000000000000020000000000000000000000000000000010000000000000000f0f280ffffffff0000000000000000c02eef80ffffffffc02eef80ffffffff00f0f280ffffffffd00700000000000000f0f280ffffffff6400000000000000000000000000000000000000000000000000000000000000000000000000000025c31e80ffffffff860200000000000008000000000000001000000000000000#4e
w +$m80f2f000,1#c0
r +<Timeout: 3 seconds>
)
Home |
Main Index |
Thread Index |
Old Index