Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [obish] Delete ppcnbsd_pc_in_sigtramp
@ 2004-04-30 22:39 Andrew Cagney
  2004-05-01  0:10 ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2004-04-30 22:39 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 139 bytes --]

Follow-up to adding a proper sigtramp unwinder to ppcnbsd - the old 
pc_in_sigtramp code is no longer needed - removed.

committed,
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1269 bytes --]

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

	* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
	(mipsnbsd_init_abi): Do not set pc_in_sigtramp.

Index: mipsnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mipsnbsd-tdep.c,v
retrieving revision 1.12
diff -p -u -r1.12 mipsnbsd-tdep.c
--- mipsnbsd-tdep.c	29 Apr 2004 18:28:43 -0000	1.12
+++ mipsnbsd-tdep.c	30 Apr 2004 22:36:50 -0000
@@ -221,13 +221,6 @@ mipsnbsd_sigtramp_offset (CORE_ADDR pc)
   return -1;
 }
 
-static int
-mipsnbsd_pc_in_sigtramp (CORE_ADDR pc, char *func_name)
-{
-  return (nbsd_pc_in_sigtramp (pc, func_name)
-	  || mipsnbsd_sigtramp_offset (pc) >= 0);
-}
-
 /* Figure out where the longjmp will land.  We expect that we have
    just entered longjmp and haven't yet setup the stack frame, so
    the args are still in the argument regs.  A0_REGNUM points at the
@@ -345,8 +338,6 @@ static void
 mipsnbsd_init_abi (struct gdbarch_info info,
                    struct gdbarch *gdbarch)
 {
-  set_gdbarch_deprecated_pc_in_sigtramp (gdbarch, mipsnbsd_pc_in_sigtramp);
-
   set_gdbarch_get_longjmp_target (gdbarch, mipsnbsd_get_longjmp_target);
 
   set_gdbarch_cannot_fetch_register (gdbarch, mipsnbsd_cannot_fetch_register);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [obish] Delete ppcnbsd_pc_in_sigtramp
  2004-04-30 22:39 [obish] Delete ppcnbsd_pc_in_sigtramp Andrew Cagney
@ 2004-05-01  0:10 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2004-05-01  0:10 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 415 bytes --]

> Follow-up to adding a proper sigtramp unwinder to ppcnbsd - the old pc_in_sigtramp code is no longer needed - removed.

Actually I missed, this is the patch eliminating ppcnbsd's in-sigtramp. 
  The comment still applies.

committed,
Andrew

> 2004-04-30  Andrew Cagney  <cagney@redhat.com>
> 
> 	* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
> 	(mipsnbsd_init_abi): Do not set pc_in_sigtramp.
> 

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1341 bytes --]

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.

Index: ppcnbsd-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppcnbsd-tdep.c,v
retrieving revision 1.14
diff -p -u -r1.14 ppcnbsd-tdep.c
--- ppcnbsd-tdep.c	23 Apr 2004 01:02:32 -0000	1.14
+++ ppcnbsd-tdep.c	1 May 2004 00:07:51 -0000
@@ -201,13 +201,6 @@ static struct core_fns ppcnbsd_elfcore_f
   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
    convention but, 1.6 switched to the below broken convention.  For
    the moment use the broken convention.  Ulgh!.  */
@@ -288,7 +281,6 @@ static void
 ppcnbsd_init_abi (struct gdbarch_info info,
                   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
      do use the broken struct convention, and some don't.  */
   set_gdbarch_return_value (gdbarch, ppcnbsd_return_value);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-01  0:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-30 22:39 [obish] Delete ppcnbsd_pc_in_sigtramp Andrew Cagney
2004-05-01  0:10 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox