/* * VAS_EBOOT -- GRand Unified Bootloader * Copyright (C) 2022 Free Software Foundation, Inc. * * VAS_EBOOT 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. * * VAS_EBOOT 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 VAS_EBOOT. If not, see . */ /* debug.c - aides for debugging the EFI application */ #include #include #include static VasEBoot_err_t VasEBoot_cmd_gdbinfo (struct VasEBoot_command *cmd __attribute__ ((unused)), int argc __attribute__ ((unused)), char **args __attribute__ ((unused))) { VasEBoot_efi_print_gdb_info (); return 0; } void VasEBoot_efi_register_debug_commands (void) { VasEBoot_register_command ("gdbinfo", VasEBoot_cmd_gdbinfo, 0, N_("Print infomation useful for GDB debugging")); }