This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Fix one use of frame_pc_unwind


Something I noticed while trying, unsuccessfully, to remove
frame_pc_unwind.  It could be done, but there are some other cleanups
which we would have to make first.  Committed as obvious.

-- 
Daniel Jacobowitz
CodeSourcery

2008-07-15  Daniel Jacobowitz  <dan@codesourcery.com>

	* ia64-tdep.c (ia64_dummy_id): Use get_frame_pc.

---
 gdb/ia64-tdep.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: src/gdb/ia64-tdep.c
===================================================================
--- src.orig/gdb/ia64-tdep.c	2008-06-28 14:25:07.000000000 -0400
+++ src/gdb/ia64-tdep.c	2008-06-28 14:25:17.000000000 -0400
@@ -3436,7 +3436,7 @@ ia64_dummy_id (struct gdbarch *gdbarch, 
   if (gdbarch_debug >= 1)
     fprintf_unfiltered (gdb_stdlog,
 			"dummy frame id: code 0x%s, stack 0x%s, special 0x%s\n",
-			paddr_nz (frame_pc_unwind (this_frame)), 
+			paddr_nz (get_frame_pc (this_frame)),
 			paddr_nz (sp), paddr_nz (bsp));
 
   return frame_id_build_special (sp, get_frame_pc (this_frame), bsp);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]