[PING] [PATCH 0/4] Handle null inferiors in target::read_description

John Baldwin jhb@FreeBSD.org
Fri Jun 30 14:22:41 GMT 2023


On 6/9/23 9:55 AM, John Baldwin wrote:
> On 5/26/23 10:57 AM, John Baldwin wrote:
>> This is a set of changes split out from my larger XSAVE review that
>> will hopefully be easier to review as a smaller chunk.  Compared to
>> the version of these patches posted previously I have added extra
>> details to the log messages for patches 1 and 2 and added two new
>> patches.  Namely, patch 4 now includes a test for this case (and patch
>> 3 is some refactoring in preparation for patch 4).
>>
>> John Baldwin (4):
>>     *-fbsd-nat: Handle null inferior in read_description.
>>     *-linux-nat: Handle null inferior in read_description.
>>     Add a have_native_target helper function for use with require.
>>     Test that native targets can read a tdesc without a process attached.
>>
>>    gdb/aarch64-fbsd-nat.c                        |  3 +++
>>    gdb/aarch64-linux-nat.c                       |  3 +++
>>    gdb/amd64-fbsd-nat.c                          |  3 +++
>>    gdb/arm-fbsd-nat.c                            |  3 +++
>>    gdb/arm-linux-nat.c                           |  3 +++
>>    gdb/i386-fbsd-nat.c                           |  3 +++
>>    gdb/mips-linux-nat.c                          |  3 +++
>>    gdb/ppc-linux-nat.c                           |  3 +++
>>    gdb/riscv-linux-nat.c                         |  3 +++
>>    gdb/s390-linux-nat.c                          |  3 +++
>>    .../gdb.base/auto-connect-native-target.exp   | 18 +------------
>>    .../gdb.base/native-target-noproc-tdesc.exp   | 27 +++++++++++++++++++
>>    gdb/testsuite/lib/gdb.exp                     | 17 ++++++++++++
>>    gdb/x86-linux-nat.c                           |  3 +++
>>    14 files changed, 78 insertions(+), 17 deletions(-)
>>    create mode 100644 gdb/testsuite/gdb.base/native-target-noproc-tdesc.exp
> 
> Ping.
> 

-- 
John Baldwin



More information about the Gdb-patches mailing list