[0/2] Allow debugging of runtime loader / dynamic linker

Message ID 20221008035716.46147-1-kevinb@redhat.com
Headers
Series Allow debugging of runtime loader / dynamic linker |

Message

Kevin Buettner Oct. 8, 2022, 3:57 a.m. UTC
  This series contains a small change to gdb/infrun.c which allows
stepping within the runtime loader / dynamic linker.  It also adds a
test case for testing this functionality.

Kevin Buettner (2):
  Allow debugging of runtime loader / dynamic linker
  Test stepping within a runtime loader / dynamic linker

 gdb/infrun.c                            |   5 +-
 gdb/testsuite/gdb.base/rtld-step-main.c |  22 ++++
 gdb/testsuite/gdb.base/rtld-step-rtld.c |  65 +++++++++++
 gdb/testsuite/gdb.base/rtld-step.exp    | 140 ++++++++++++++++++++++++
 4 files changed, 231 insertions(+), 1 deletion(-)
 create mode 100644 gdb/testsuite/gdb.base/rtld-step-main.c
 create mode 100644 gdb/testsuite/gdb.base/rtld-step-rtld.c
 create mode 100644 gdb/testsuite/gdb.base/rtld-step.exp