Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Andrew Cagney <ac131313@ges.redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch/rfa:ppc] Use generic_unwind_get_saved_register
Date: Thu, 27 Jun 2002 11:32:00 -0000	[thread overview]
Message-ID: <3D1B5A48.7040500@ges.redhat.com> (raw)
In-Reply-To: <3D1B5585.9020700@ges.redhat.com>

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

> Hello,
> 
> This patch switches the PPC target so that it uses the frame unwind mechanism.  I've been meaning to submit it for ages.
> 
> Ok?
> Andrew
> 
[and a patch]


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

2002-06-27  Andrew Cagney  <ac131313@redhat.com>

	* rs6000-tdep.c (rs6000_gdbarch_init): Use
	generic_unwind_get_saved_register.

Index: rs6000-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/rs6000-tdep.c,v
retrieving revision 1.68
diff -u -r1.68 rs6000-tdep.c
--- rs6000-tdep.c	17 Jun 2002 23:32:33 -0000	1.68
+++ rs6000-tdep.c	27 Jun 2002 18:07:05 -0000
@@ -2606,7 +2606,7 @@
   set_gdbarch_pc_in_call_dummy (gdbarch, generic_pc_in_call_dummy);
   set_gdbarch_call_dummy_p (gdbarch, 1);
   set_gdbarch_call_dummy_stack_adjust_p (gdbarch, 0);
-  set_gdbarch_get_saved_register (gdbarch, generic_get_saved_register);
+  set_gdbarch_get_saved_register (gdbarch, generic_unwind_get_saved_register);
   set_gdbarch_fix_call_dummy (gdbarch, rs6000_fix_call_dummy);
   set_gdbarch_push_dummy_frame (gdbarch, generic_push_dummy_frame);
   set_gdbarch_save_dummy_frame_tos (gdbarch, generic_save_dummy_frame_tos);

  reply	other threads:[~2002-06-27 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 11:12 Andrew Cagney
2002-06-27 11:32 ` Andrew Cagney [this message]
2002-06-27 11:42   ` Kevin Buettner
2002-06-28  9:23     ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D1B5A48.7040500@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox