This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc][2/3] gdbserver bi-arch support: core s390x part
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: uweigand at de dot ibm dot com (Ulrich Weigand)
- Cc: drow at false dot org (Daniel Jacobowitz), gdb-patches at sourceware dot org
- Date: Fri, 1 Feb 2008 01:03:55 +0100 (CET)
- Subject: 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