aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386obsd-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2004-02-22Fix OpenBSD/i386 sigtramp recognition.Mark Kettenis1-3/+4
* i386-tdep.h: Update copyright year. (i386bsd_pc_in_sigtramp, i386bsd_sigtramp_start) (i386bsd_sigtramp_end): New prototypes. (i386fbsd_sigtramp_start_addr): Renamed from i386fbsd_sigtramp_start. (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. (i386obsd_sigtramp_start_addr): Renamed from i386obsd_sigtramp_start. (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. * i386bsd-tdep.c: Update copyright year. (i386bsd_pc_in_sigtramp): Make public. * i386fbsd-nat.c: Update copyright year. (_initialize_i386fbsd_nat): Adjust for renamed variables. * i386fbsd-tdep.c: Update copyright year. (i386fbsd_sigtramp_start_addr): Renamed from i386fbsd_sigtramp_start. (i386fbsd_sigtramp_end_addr): Renamed from i386fbsd_sigtramp_end. (i386fbsdaout_init_abi): Adjust for renamed variables. * i386obsd-nat.c: Update copyright year. (_initialize_i386obsd_nat): Adjust for renamed variables. * i386obsd-tdep.c: Include "target.h". (i386obsd_page_size): New variable. (i386obsd_pc_in_sigtramp, i386obsd_sigtramp_start) (i386obsd_sigtramp_end): New functions. (i386obsd_sigtramp_start_addr): Renamed from i386obsd_sigtramp_start. (i386obsd_sigtramp_end_addr): Renamed from i386obsd_sigtramp_end. (i386obsd_init_abi): Adjust for renamed variables. Set pc_in_sigtramp, sigtramp_start and sigtramp_end. * Makefile.in (i386obsd-tdep.o): Update dependencies.
2003-08-10* i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,Mark Kettenis1-4/+3
i386obsd_sigtramp_start, i386obsd_sigtramp_end, i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, i386bsd_sc_reg_offset): Add extern declarations. * i386obsd-nat.c: Include "i386-tdep.h" (_initialize_i386obsd_nat): Remove extern declarations. * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern declarations. * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern declarations.
2002-10-20* configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds.Mark Kettenis1-4/+4
* config/i386/obsd.mt: New file. * i386bsd-nat.c (_initialize_i386bsd_nat): Introduce i386obsd_sc_pc_offset and i386obsd_sc_sp_offset; * i386obsd-nat.c (_initialize_i386obsd_nat): Set i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of i386nbsd_sigtramp_start and i386nbsd_sigtramp_end. * i386obsd-tdep.c: New file.
2002-07-04* i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype.Mark Kettenis1-1/+1
2002-07-04* i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):Mark Kettenis1-0/+60
New variables. (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start and tdep->sigtramp_end. * i386obsd-nat.c: New file. * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o.