Upgraded GRUB2 to 2.00 release.
[AROS.git] / arch / all-pc / boot / grub2-aros / include / grub / gdb.h
blob59fd456f945e654bafd68e1a682a1d2172b49ed4
1 /* gdb.h - Various definitions for the remote GDB stub */
2 /*
3 * Copyright (C) 2006 Lubomir Kundrak
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef GRUB_GDB_HEADER
21 #define GRUB_GDB_HEADER 1
23 #define SIGFPE 8
24 #define SIGTRAP 5
25 #define SIGABRT 6
26 #define SIGSEGV 11
27 #define SIGILL 4
28 #define SIGUSR1 30
29 /* We probably don't need other ones. */
31 struct grub_serial_port;
33 extern struct grub_serial_port *grub_gdb_port;
35 void grub_gdb_breakpoint (void);
36 int grub_gdb_trap2sig (int);
38 #endif /* ! GRUB_GDB_HEADER */