binutils-gdb/gdb/python
Tom de Vries ca3dd1c6af [gdb] More codespell fixes
I did this in gdb/pyproject.toml:
...
+regex = "[a-zA-Z0-9\\-']+"
...
allowing us to detect things like 'gcs_availabe':
...
$ echo gcs_availabe | codespell --regex="[a-zA-Z0-9\-']+" -
1: gcs_availabe
	availabe ==> available
...
and ran:
...
$ codespell --toml gdb/pyproject.toml gdb*
...
and manually fixed fallout.

This fixes the following typos:
...
  typdef -> typedef
  bloc -> block
  reenables -> re-enables
  overlayed -> overlaid
  advertized -> advertised
  stript -> script
  reenable -> re-enable
  interruptable -> interruptible
  restire -> restore
  sufix -> suffix
  regisers -> registers
  constrait -> constraint
  attriute -> attribute
  followin -> following
  immedate -> immediate
  constrol -> control
  sting -> string
  vesion -> version
  operatons -> operations
  inheritence -> inheritance
  decsription -> description
  hilighted -> highlighted
  enque -> enqueue
  ouputs -> outputs
...

The "vesion -> version" fix in gdb.dwarf2/dw2-entry-pc.exp allowed a bit of
cleanup.

Tested on x86_64-linux and aarch64-linux.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34241
2026-07-13 15:23:12 +02:00
..
lib/gdb [gdb] More codespell fixes 2026-07-13 15:23:12 +02:00
py-all-events.def gdb/python: new events.corefile_changed event 2026-04-20 22:15:26 +01:00
py-arch.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-auto-load.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-block.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-bpevent.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-breakpoint.c [gdb/build] Fix Wnon-pod-varargs in bppy_repr 2026-06-05 23:03:42 +02:00
py-cmd.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-color.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-color.h Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-connection.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-continueevent.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-corefile.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-dap.c Rewrite output redirection and logging 2026-02-09 08:15:44 -07:00
py-disasm.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-event-types.def gdb/python: new events.corefile_changed event 2026-04-20 22:15:26 +01:00
py-event.c gdb/python: add accessor helpers for __dict__ in Python extension objects 2026-03-14 13:21:06 +00:00
py-event.h gdb: new setters and getters for __dict__, and attributes 2026-01-29 16:46:14 +00:00
py-events.h gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-evtregistry.c [gdb/python] Remove Py_RETURN_{NONE,TRUE,FALSE,NOTIMPLEMENTED} 2026-05-15 21:38:12 +02:00
py-evts.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-exitedevent.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-finishbreakpoint.c [gdb/python] Use py_{none,notimplemented} more often 2026-05-15 21:38:12 +02:00
py-frame.c gdb/python: remove frame_object::frame_id_is_next as unnecessary 2026-07-08 10:39:39 +01:00
py-framefilter.c [gdb/python] Remove Py_RETURN_{NONE,TRUE,FALSE,NOTIMPLEMENTED} 2026-05-15 21:38:12 +02:00
py-function.c gdb: switch tuple object helpers to Python limited API equivalents 2026-03-04 15:38:11 +00:00
py-gdb-readline.c Python limited API: migrate Py_CompileStringExFlags and PyRun_SimpleString 2026-01-28 09:41:25 +00:00
py-inferior.c [gdb/python] Use py_{none,false} more often 2026-05-15 21:38:12 +02:00
py-infevents.c Return gdbpy_ref<> from frame_info_to_frame_object 2026-02-23 05:29:12 -07:00
py-infthread.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-instruction.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-instruction.h Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-lazy-string.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-linetable.c gdb: make symtab::compunit return a reference 2026-06-19 10:04:11 -04:00
py-membuf.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-mi.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-micmd.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-newobjfileevent.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-obj-type.c gdb_py_tp_name: remove redundant PyErr_Clear 2026-06-09 10:58:21 +01:00
py-obj-type.h gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-objfile.c [gdb/python] Remove Py_RETURN_{NONE,TRUE,FALSE,NOTIMPLEMENTED} 2026-05-15 21:38:12 +02:00
py-param.c Remove ARI 2026-06-26 09:17:29 -06:00
py-prettyprint.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-progspace.c [gdb/python] Remove Py_RETURN_{NONE,TRUE,FALSE,NOTIMPLEMENTED} 2026-05-15 21:38:12 +02:00
py-record-btrace.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-record-btrace.h Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-record-full.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-record-full.h Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-record.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-record.h gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-ref.h gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-registers.c [gdb] Use using instead of typedef 2026-06-11 08:54:34 +02:00
py-signalevent.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-stopevent.c Return gdbpy_ref<> from value_to_value_object 2026-02-23 05:29:11 -07:00
py-stopevent.h Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-style.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-symbol.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-symtab.c gdb: make symtab::compunit return a reference 2026-06-19 10:04:11 -04:00
py-threadevent.c [gdb/python] Use py_{none,false} more often 2026-05-15 21:38:12 +02:00
py-tui.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-type.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-uiout.h Remove m_applied_style from ui_file 2026-02-09 08:15:29 -07:00
py-unwind.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-utils.c gdb/python: fix memory leak in gdb_py_tp_name 2026-06-04 15:09:54 +01:00
py-value.c gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
py-varobj.c Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00
py-xmethods.c [gdb/python] Remove Py_RETURN_{NONE,TRUE,FALSE,NOTIMPLEMENTED} 2026-05-15 21:38:12 +02:00
python-config.py
python-internal.h [gdb] Use using instead of typedef 2026-06-11 08:54:34 +02:00
python-limited-api-missing.h [gdb] Use using instead of typedef 2026-06-11 08:54:34 +02:00
python-traits.h gdb/python: add type traits check for all PyObject sub-classes 2026-05-16 12:44:37 +01:00
python.c [gdb] More codespell fixes 2026-07-13 15:23:12 +02:00
python.h Update copyright dates to include 2026 2026-01-05 13:16:46 -07:00