2004-04-30 Andrew Cagney <cagney@redhat.com>

* ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
	deprecated_pc_in_sigtramp.
	(ppcnbsd_pc_in_sigtramp): Delete function.
This commit is contained in:
Andrew Cagney 2004-05-01 00:09:12 +00:00
parent 056782fca1
commit 2593d1cdad
2 changed files with 6 additions and 8 deletions

View file

@ -1,3 +1,9 @@
2004-04-30 Andrew Cagney <cagney@redhat.com>
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
deprecated_pc_in_sigtramp.
(ppcnbsd_pc_in_sigtramp): Delete function.
2004-05-01 Mark Kettenis <kettenis@gnu.org> 2004-05-01 Mark Kettenis <kettenis@gnu.org>
* config/m68k/nm-nbsd.h: Tweak comments. * config/m68k/nm-nbsd.h: Tweak comments.

View file

@ -201,13 +201,6 @@ static struct core_fns ppcnbsd_elfcore_fns =
NULL /* next */ NULL /* next */
}; };
static int
ppcnbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name)
{
/* FIXME: Need to add support for kernel-provided signal trampolines. */
return (nbsd_pc_in_sigtramp (pc, func_name));
}
/* NetBSD is confused. It appears that 1.5 was using the correct SVr4 /* NetBSD is confused. It appears that 1.5 was using the correct SVr4
convention but, 1.6 switched to the below broken convention. For convention but, 1.6 switched to the below broken convention. For
the moment use the broken convention. Ulgh!. */ the moment use the broken convention. Ulgh!. */
@ -288,7 +281,6 @@ static void
ppcnbsd_init_abi (struct gdbarch_info info, ppcnbsd_init_abi (struct gdbarch_info info,
struct gdbarch *gdbarch) struct gdbarch *gdbarch)
{ {
set_gdbarch_deprecated_pc_in_sigtramp (gdbarch, ppcnbsd_pc_in_sigtramp);
/* For NetBSD, this is an on again, off again thing. Some systems /* For NetBSD, this is an on again, off again thing. Some systems
do use the broken struct convention, and some don't. */ do use the broken struct convention, and some don't. */
set_gdbarch_return_value (gdbarch, ppcnbsd_return_value); set_gdbarch_return_value (gdbarch, ppcnbsd_return_value);