[PATCH] Return TARGET_XFER_EOF if reading at the end of TARGET_OBJECT_SIGNAL_INFO.

Tom Tromey tom@tromey.com
Fri May 10 17:40:00 GMT 2019


>>>>> "John" == John Baldwin <jhb@FreeBSD.org> writes:

John> This fixes an assertion failure if a request is made to read just past
John> the end of a native thread's signal information structure.

I am curious to know where the assertion happens.

linux-nat.c doesn't seem to return TARGET_XFER_EOF here (see
linux_xfer_siginfo), so I wonder if either linux-nat.c needs a fix, or
if the bug is somewhere else.

Tom



More information about the Gdb-patches mailing list