This is the mail archive of the gdb-patches@sources.redhat.com 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] zap some inside_entry_file


Hello,

This zaps two calls to inside_entry_file. I suspect all calls can probably go (we've now got a robust inside main func test) but, for the moment I'll leave that to others.

committed,
Andrew
2004-02-02  Andrew Cagney  <cagney@redhat.com>

	* vax-tdep.c (vax_frame_chain): Delete call to
	deprecated_inside_entry_file.
	* ns32k-tdep.c (ns32k_frame_chain): Ditto.

Index: ns32k-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ns32k-tdep.c,v
retrieving revision 1.65
diff -u -r1.65 ns32k-tdep.c
--- ns32k-tdep.c	17 Jan 2004 18:45:25 -0000	1.65
+++ ns32k-tdep.c	3 Feb 2004 03:42:09 -0000
@@ -309,10 +309,6 @@
   /* In the case of the NS32000 series, the frame's nominal address is the
      FP value, and that address is saved at the previous FP value as a
      4-byte word.  */
-
-  if (deprecated_inside_entry_file (get_frame_pc (frame)))
-    return 0;
-
   return (read_memory_integer (get_frame_base (frame), 4));
 }
 
Index: vax-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/vax-tdep.c,v
retrieving revision 1.67
diff -u -r1.67 vax-tdep.c
--- vax-tdep.c	17 Jan 2004 18:45:25 -0000	1.67
+++ vax-tdep.c	3 Feb 2004 03:42:11 -0000
@@ -187,9 +187,6 @@
 {
   /* In the case of the VAX, the frame's nominal address is the FP value,
      and 12 bytes later comes the saved previous FP value as a 4-byte word.  */
-  if (deprecated_inside_entry_file (get_frame_pc (frame)))
-    return (0);
-
   return (read_memory_integer (get_frame_base (frame) + 12, 4));
 }
 

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