Re: Weird behaviour with --target_board="unix{var1,var2}"

2016-08-24 Thread Jonathan Wakely
On 23/08/16 12:05 +0100, Pedro Alves wrote: On 08/23/2016 10:54 AM, Jonathan Wakely wrote: That's being set by prettyprinters.exp and xmethods.exp (so it's GDB's fault! ;-) :-) This seems to work. I'll do some more testing and commit later today. LGTM. Though IME, save/restoring globals

Re: Weird behaviour with --target_board="unix{var1,var2}"

2016-08-23 Thread Pedro Alves
On 08/23/2016 10:54 AM, Jonathan Wakely wrote: >> That's being set by prettyprinters.exp and xmethods.exp (so it's GDB's >> fault! ;-) :-) > This seems to work. I'll do some more testing and commit later today. LGTM. Though IME, save/restoring globals in a constant source of trouble, for occa

Re: Weird behaviour with --target_board="unix{var1,var2}"

2016-08-23 Thread Jonathan Wakely
On 23/08/16 09:07 +0100, Jonathan Wakely wrote: On 22/08/16 21:16 +0100, Pedro Alves wrote: On 08/22/2016 03:40 PM, Jonathan Wakely wrote: What's going on?! Have I fundamentally misunderstood something about how RUNTESTFLAGS or effective-target keywords work? Here's a wild guess. In gdb's