This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: What's this ? (remote serial protocol)
- From: Pedro Alves <palves at redhat dot com>
- To: Juha Aaltonen <turbopultti at gmail dot com>, gdb-mailing list <gdb at sourceware dot org>
- Date: Mon, 19 Oct 2015 10:05:56 +0100
- Subject: Re: What's this ? (remote serial protocol)
- Authentication-results: sourceware.org; auth=none
- References: <CAHR0xd7i4vdxb9cfNcvfFmVKHfjRVspbTuoUrauJ-vhFjKpD-Q at mail dot gmail dot com>
On 10/18/2015 10:50 PM, Juha Aaltonen wrote:
> I didn't understand...
>
> Sending packet:
> $qOffsets#4b...[\x00][\x00][\x00][\x00][\x00][\x00][\x00][\x00][\x00][\x00][\x00][\x00][
> r +]Ack
> [$][#][0][0]Packet received:
> [
> w \x00]PC register is not available
>
> What does PC have to do with qOffsets?
Probably nothing. "PC register is not available" means GDB couldn't
source the PC register value from anywhere. E.g., the PC register's
value might be missing from the g/p packet replies.
Debug gdb, and put a breakpoint on throw_it. Figure out from context
and backtrace what GDB is trying to do when that error is thrown.
Thanks,
Pedro Alves