mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
76367d2314
This adds a new event source so that Python scripts can track whether or not the TUI is presently enabled. v2 of the patch renames "status" -> "enabled". Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32162 Reviewed-By: Eli Zaretskii <eliz@gnu.org> Reviewed-by: Keith Seitz <keiths@redhat.com>
49 lines
1.7 KiB
C++
49 lines
1.7 KiB
C++
/* Python event definitions -*- c++ -*-
|
|
|
|
Copyright (C) 2017-2024 Free Software Foundation, Inc.
|
|
|
|
This file is part of GDB.
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
/* To use this file, define GDB_PY_DEFINE_EVENT to expand how you
|
|
like, then include the file.
|
|
|
|
GDB_PY_DEFINE_EVENT has one parameter, the name of the event.
|
|
*/
|
|
|
|
GDB_PY_DEFINE_EVENT(stop)
|
|
GDB_PY_DEFINE_EVENT(cont)
|
|
GDB_PY_DEFINE_EVENT(exited)
|
|
GDB_PY_DEFINE_EVENT(new_objfile)
|
|
GDB_PY_DEFINE_EVENT(free_objfile)
|
|
GDB_PY_DEFINE_EVENT(clear_objfiles)
|
|
GDB_PY_DEFINE_EVENT(new_inferior)
|
|
GDB_PY_DEFINE_EVENT(inferior_deleted)
|
|
GDB_PY_DEFINE_EVENT(new_thread)
|
|
GDB_PY_DEFINE_EVENT(thread_exited)
|
|
GDB_PY_DEFINE_EVENT(inferior_call)
|
|
GDB_PY_DEFINE_EVENT(memory_changed)
|
|
GDB_PY_DEFINE_EVENT(register_changed)
|
|
GDB_PY_DEFINE_EVENT(breakpoint_created)
|
|
GDB_PY_DEFINE_EVENT(breakpoint_deleted)
|
|
GDB_PY_DEFINE_EVENT(breakpoint_modified)
|
|
GDB_PY_DEFINE_EVENT(before_prompt)
|
|
GDB_PY_DEFINE_EVENT(gdb_exiting)
|
|
GDB_PY_DEFINE_EVENT(connection_removed)
|
|
GDB_PY_DEFINE_EVENT(executable_changed)
|
|
GDB_PY_DEFINE_EVENT(new_progspace)
|
|
GDB_PY_DEFINE_EVENT(free_progspace)
|
|
GDB_PY_DEFINE_EVENT(tui_enabled)
|