binutils-gdb/gdb/python
Andrew Burgess 56fcb715a9 gdb/python: have PendingFrame methods accept keyword arguments
Update the two gdb.PendingFrame methods gdb.PendingFrame.read_register
and gdb.PendingFrame.create_unwind_info to accept keyword arguments.

There's no huge benefit for making this change, both of these methods
only take a single argument, so it is (maybe) less likely that a user
will take advantage of the keyword arguments in these cases, but I
think it's nice to be consistent, and I don't see any particular draw
backs to making this change.

For PendingFrame.read_register I've changed the argument name from
'reg' to 'register' in the documentation and used 'register' as the
argument name in GDB.  My preference for APIs is to use full words
where possible, and given we didn't support named arguments before
this change should not break any existing code.

There should be no user visible changes (for existing code) after this
commit.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Reviewed-By: Tom Tromey <tom@tromey.com>
2023-04-06 15:01:43 +01:00
..
lib/gdb Add readMemory and writeMemory requests to DAP 2023-04-03 08:47:52 -06:00
py-all-events.def Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-arch.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-auto-load.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-block.c Remove ALL_BLOCK_SYMBOLS_WITH_NAME 2023-02-19 12:51:06 -07:00
py-bpevent.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-breakpoint.c gdb: fix mi breakpoint-deleted notifications for thread-specific b/p 2023-02-28 10:56:28 +00:00
py-cmd.c gdb, gdbserver, gdbsupport: fix whitespace issues 2023-03-09 16:32:00 -05:00
py-connection.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-continueevent.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-dap.c Simplify interp::exec / interp_exec - let exceptions propagate 2023-02-08 17:28:42 +00:00
py-disasm.c gdb/python: replace strlen call with std::string::size call 2023-03-03 09:56:21 +00:00
py-event-types.def Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-event.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-event.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-events.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-evtregistry.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-evts.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-exitedevent.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-finishbreakpoint.c gdb: fix mi breakpoint-deleted notifications for thread-specific b/p 2023-02-28 10:56:28 +00:00
py-frame.c gdb/python: remove unneeded nullptr check in frapy_block 2023-03-30 10:25:46 +01:00
py-framefilter.c Turn value_type into method 2023-02-13 15:21:06 -07:00
py-function.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-gdb-readline.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-inferior.c Turn remaining value_contents functions into methods 2023-02-13 15:22:16 -07:00
py-infevents.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-infthread.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-instruction.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-instruction.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-lazy-string.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-linetable.c Constify linetables 2023-03-11 08:48:10 -07:00
py-membuf.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-micmd.c gdb, gdbserver, gdbsupport: fix whitespace issues 2023-03-09 16:32:00 -05:00
py-newobjfileevent.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-objfile.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-param.c GDB: Allow arbitrary keywords in integer set commands 2023-01-19 21:15:56 +00:00
py-prettyprint.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-progspace.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-record-btrace.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-record-btrace.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-record-full.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-record-full.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-record.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-record.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-ref.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-registers.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-signalevent.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-stopevent.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-stopevent.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-symbol.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-symtab.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-threadevent.c gdb: make find_thread_ptid an inferior method 2023-04-04 21:05:30 -04:00
py-tui.c gdb/python: Fix --disable-tui build 2023-03-06 17:31:57 +01:00
py-type.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
py-unwind.c gdb/python: have PendingFrame methods accept keyword arguments 2023-04-06 15:01:43 +01:00
py-utils.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-value.c Python QUIT processing updates 2023-02-27 16:20:39 -07:00
py-varobj.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
py-xmethods.c Fix value chain use-after-free 2023-02-27 15:46:31 -07:00
python-config.py
python-internal.h gdb: fix mi breakpoint-deleted notifications for thread-specific b/p 2023-02-28 10:56:28 +00:00
python.c gdb, gdbserver, gdbsupport: fix whitespace issues 2023-03-09 16:32:00 -05:00
python.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00