Changeset View
Changeset View
Standalone View
Standalone View
devel/gdb/files/kgdb/i386fbsd-kern.c
Show First 20 Lines • Show All 467 Lines • ▼ Show 20 Lines | |||||
_initialize_i386_kgdb_tdep(void) | _initialize_i386_kgdb_tdep(void) | ||||
{ | { | ||||
/* This is used for both i386 and amd64, but amd64 always | /* This is used for both i386 and amd64, but amd64 always | ||||
includes this target, so just include it here. */ | includes this target, so just include it here. */ | ||||
gdbarch_register_osabi_sniffer(bfd_arch_i386, | gdbarch_register_osabi_sniffer(bfd_arch_i386, | ||||
bfd_target_elf_flavour, | bfd_target_elf_flavour, | ||||
fbsd_kernel_osabi_sniffer); | fbsd_kernel_osabi_sniffer); | ||||
gdbarch_register_osabi (bfd_arch_i386, 0, | gdbarch_register_osabi (bfd_arch_i386, 0, | ||||
GDB_OSABI_FREEBSD_ELF_KERNEL, i386fbsd_kernel_init_abi); | GDB_OSABI_FREEBSD_KERNEL, i386fbsd_kernel_init_abi); | ||||
i386fbsd_pspace_data = register_program_space_data_with_cleanup (NULL, | i386fbsd_pspace_data = register_program_space_data_with_cleanup (NULL, | ||||
i386fbsd_pspace_data_cleanup); | i386fbsd_pspace_data_cleanup); | ||||
#ifdef __i386__ | #ifdef __i386__ | ||||
/* | /* | ||||
* FreeBSD/i386 kernels prior to the introduction of AVX | * FreeBSD/i386 kernels prior to the introduction of AVX | ||||
* support used a different layout for the PCB. If gdb is | * support used a different layout for the PCB. If gdb is | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |