This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc][2/3] gdbserver bi-arch support: core s390x part


Grrr, this is what I get for posting untested patches:

> +  /* Architecture-specific setup after inferior is running.
> +     This needs to happen after we have attached to the inferior
> +     and it is stopped for the first time, but before we access
> +     any inferior registers.  */
> +  if (new_inferior)
> +    {
> +      the_low_target.arch_setup ();
> +      new_inferior = 1;

Obviously, the last line needs to read
         new_inferior = 0;


I've re-tested the new patch set with this fix on s390-ibm-linux
and on s390x-ibm-linux (both 64-bit and 31-bit compiler) using
gdbserver locally.  No regressions.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]