[PATCH 0/5] Functions call history patches

Ari Hannula ari.hannula@intel.com
Thu Feb 10 13:52:38 GMT 2022


Hi all,

On behalf of Tim and Ravi, who no longer work at Intel, I am posting these patches
for review. They make some fixes to function call history tests and add new MI commands
to access the function call history, including tests.

Regards,
Ari

Tim Wiederhake (4):
  [func_call] Add possible spelling of linker error message.
  [func_call] Fix MI output for function call history.
  [func_call] Add function-call-history-length command to MI.
  [func_call] Add function-call-history command to MI.

ravitheja.addepally (1):
  [func_call] New tests for a btrace crash.

 gdb/mi/mi-cmds.c                              |  13 +-
 gdb/mi/mi-cmds.h                              |   2 +
 gdb/record-btrace.c                           |  38 +++-
 gdb/record.c                                  |  61 ++++++
 gdb/record.h                                  |  11 ++
 gdb/target-delegates.c                        |  23 +++
 gdb/target.c                                  |   8 +
 gdb/target.h                                  |   7 +
 ...rver-multithreaded-function-call-history.c |  70 +++++++
 ...er-multithreaded-function-call-history.exp |  61 ++++++
 .../gdb.mi/mi-function_call_history.c         |  43 ++++
 .../gdb.mi/mi-function_call_history.exp       | 183 ++++++++++++++++++
 gdb/testsuite/lib/gdb.exp                     |   3 +
 13 files changed, 513 insertions(+), 10 deletions(-)
 create mode 100644 gdb/testsuite/gdb.btrace/server-multithreaded-function-call-history.c
 create mode 100644 gdb/testsuite/gdb.btrace/server-multithreaded-function-call-history.exp
 create mode 100644 gdb/testsuite/gdb.mi/mi-function_call_history.c
 create mode 100644 gdb/testsuite/gdb.mi/mi-function_call_history.exp

-- 
2.25.1

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de <http://www.intel.de>
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928



More information about the Gdb-patches mailing list