[PATCH v3 5/5] Extend "set cwd" to work on gdbserver

Pedro Alves palves@redhat.com
Fri Sep 29 14:03:00 GMT 2017


On 09/27/2017 10:48 PM, Sergio Durigan Junior wrote:

>> note: 
>>   s/when/if/.
>>   s/@code/@kdb
> 
> It's @kbd (from "keyboard").  But I know, our muscle memory wants us to
> type "db" :-P.

;-)

> 
> Even though I slightly disagree here (commands are not keybindings), I
> found that this is indeed what GDB uses.  Anyway, using @kbd now.

See discussion starting here:

  https://sourceware.org/ml/gdb-patches/2017-06/msg00592.html

> 
> Not in this specific version, no.  This was something decided *after* I
> had sent this version.  In my local tree I have code implementing the
> "clear up" behaviour, and I'll add a test for that as well.

OK, thanks.  Sorry I got confused.

>> There are many other boards that set use_gdb_stub, not just
>> native-gdbserver.  Other testcases say:
>>
>> untested "skipping tests due to use_gdb_stub"
> 
> Hm, OK.
> 
> Does this look correct now, though?

I don't know; I'll take a look at v4.  We may
still need is_remote checks depending on whether the
tests have assumptions about build==host or host==target.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list