From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: koriakin@0x04.net (Marcin Kościelnicki)
Cc: gdb-patches@sourceware.org, koriakin@0x04.net (Marcin Kościelnicki)
Subject: Re: [PATCH v3 1/2] gdb: Add process record and replay support for s390.
Date: Tue, 03 Nov 2015 14:17:00 -0000 [thread overview]
Message-ID: <20151103141704.4192E2665@oc7340732750.ibm.com> (raw)
In-Reply-To: <1446558951-930-1-git-send-email-koriakin@0x04.net> from "=?UTF-8?q?Marcin=20Ko=C5=9Bcielnicki?=" at Nov 03, 2015 02:55:51 PM
Marcin KoÃÂ
cielnicki <koriakin at 0x04 dot net> wrote:
> gdb/ChangeLog:
>
> PR/18376
> * gdb/configure.tgt: Add linux-record.o to s390*-linux.
> * gdb/s390-linux-tdep.c: #include "linux-record.h", "record-full.h"
> (s390_linux_record_tdep): New static global variable.
> (s390x_linux_record_tdep): New static global variable.
> (s390_all_but_pc_registers_record): New function.
> (s390_canonicalize_syscall): New function.
> (s390_linux_syscall_record): New function.
> (s390_linux_record_signal): New function.
> (s390_record_calc_disp_common): New function.
> (s390_record_calc_disp): New function.
> (s390_record_calc_disp_vsce): New function.
> (s390_record_calc_rl): New function.
> (s390_record_gpr_g): New function.
> (s390_record_gpr_h): New function.
> (s390_record_vr): New function.
> (s390_process_record): New function.
> (s390_init_linux_record_tdep): New function.
> (s390_gdbarch_init): Fill record function slots.
>
> gdb/testsuite/ChangeLog:
>
> * gdb.reverse/s390-mvcle.c: New test.
> * gdb.reverse/s390-mvcle.exp: New file.
> * lib/gdb.exp: Enable reverse tests on s390*-linux.
> ---
> First patch fixed according to comments from review. LCBB also moved to
> 32-bit destination section. I'm still working on the second patch, and will
> resubmit it later.
>
> I haven't changed size_msqid_ds and size_shmid_ds - the target-independent
> code for recording ipc operations is horribly broken, and doesn't distinguish
> between calls that should use msqid_ds and msqid64_ds (or msginfo, for that
> matter), using size_msqid_ds either way (same for shm). Since modern glibc
> uses msqid64_ds, this is the less wrong size to use. I'll cook up a proper
> fix for the IPC problem soon on all supported targets, for now let's leave
> it as msqid64_ds size.
Ah, I see. Well, saving a slightly too large size in some cases doesn't
really matter all that much, so I'm fine with this.
The patch is OK.
Thanks again for working on this!
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com
next prev parent reply other threads:[~2015-11-03 14:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 14:32 [RFC][PATCH][PR 18376] " Marcin Kościelnicki
2015-10-30 15:30 ` Ulrich Weigand
2015-10-30 15:44 ` Marcin Kościelnicki
2015-10-30 15:56 ` Ulrich Weigand
2015-11-02 19:11 ` Marcin Kościelnicki
2015-11-02 19:11 ` [PATCH 2/2] gdb/s390-linux: Step over MVCLE+JO (and similiar) as a unit Marcin Kościelnicki
2015-11-02 20:41 ` Ulrich Weigand
2015-11-03 15:49 ` [PATCH v3 " Marcin Kościelnicki
2015-11-03 16:13 ` Ulrich Weigand
2015-11-03 16:44 ` Marcin Kościelnicki
2015-11-03 17:34 ` Ulrich Weigand
2015-11-02 19:29 ` [PATCH 1/2] gdb: Add process record and replay support for s390 Marcin Kościelnicki
2015-11-02 20:35 ` Ulrich Weigand
2015-11-03 13:56 ` [PATCH v3 " Marcin Kościelnicki
2015-11-03 14:17 ` Ulrich Weigand [this message]
2015-11-02 20:33 ` [RFC][PATCH][PR 18376] " Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151103141704.4192E2665@oc7340732750.ibm.com \
--to=uweigand@de.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=koriakin@0x04.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox