public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix gdbserver/linux memory access regression
@ 2022-04-19 22:47 Pedro Alves
  2022-04-19 22:47 ` [PATCH 1/2] Fix gdb.threads/access-mem-running-thread-exit.exp w/ native-extended-gdbserver Pedro Alves
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Pedro Alves @ 2022-04-19 22:47 UTC (permalink / raw)
  To: gdb-patches

The recent change to make GDBserver always access memory via
/proc/pid/mem caused a regression in
gdb.threads/access-mem-running-thread-exit.exp that I somehow missed.
This is actually a pre-existing GDBserver issue being now exposed.

Patch #2 fixes the GDBserver bug.

Patch #1 fixes the gdb.threads/access-mem-running-thread-exit.exp
testcase itself -- it doesn't run properly against
--target_board=native-extended-gdbserver today.

Pedro Alves (2):
  Fix gdb.threads/access-mem-running-thread-exit.exp w/
    native-extended-gdbserver
  gdbserver: track current process as well as current thread

 .../access-mem-running-thread-exit.exp        | 30 ++++++++++++-
 gdbserver/gdbthread.h                         |  1 +
 gdbserver/inferiors.cc                        | 26 ++++++++---
 gdbserver/server.cc                           |  4 +-
 gdbserver/target.cc                           | 44 ++++++++++++++++++-
 gdbserver/target.h                            | 15 ++++++-
 6 files changed, 108 insertions(+), 12 deletions(-)


base-commit: 6ea673e2d643b7b2283aa73d35b02dfc9aa7115f
-- 
2.26.2


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-06-28  8:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 22:47 [PATCH 0/2] Fix gdbserver/linux memory access regression Pedro Alves
2022-04-19 22:47 ` [PATCH 1/2] Fix gdb.threads/access-mem-running-thread-exit.exp w/ native-extended-gdbserver Pedro Alves
2022-04-19 22:47 ` [PATCH 2/2] gdbserver: track current process as well as current thread Pedro Alves
2023-04-25 13:57   ` Andrew Burgess
2023-04-26  6:35     ` Aktemur, Tankut Baris
2023-06-19 16:46       ` Aktemur, Tankut Baris
2023-06-22 17:49       ` Andrew Burgess
2023-06-28  8:39         ` Aktemur, Tankut Baris
2022-05-03 14:24 ` [PATCH 0/2] Fix gdbserver/linux memory access regression Pedro Alves
2022-05-04  9:11   ` Luis Machado
2022-05-04  9:42     ` Luis Machado
2022-05-04  9:45       ` Pedro Alves
2022-05-04  9:52         ` Luis Machado
2022-05-04 10:14           ` Pedro Alves
2022-05-04 13:44             ` Pedro Alves
2022-05-04 14:03               ` Luis Machado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).