This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.9-branch] Remove // comment in gdb/iq2000-tdep.c
- From: Joel Brobecker <brobecke at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 26 Feb 2015 09:45:18 -0000
- Subject: [binutils-gdb/gdb-7.9-branch] Remove // comment in gdb/iq2000-tdep.c
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f57347efc0338cf65539f965f171a318c4a4e523
commit f57347efc0338cf65539f965f171a318c4a4e523
Author: Joel Brobecker <brobecker@adacore.com>
Date: Thu Feb 26 10:42:04 2015 +0100
Remove // comment in gdb/iq2000-tdep.c
gdb/ChangeLog:
PR build/18033:
* iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/iq2000-tdep.c | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 19f0838..5f5fa51 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-26 Joel Brobecker <brobecker@adacore.com>
+
+ PR build/18033:
+ * iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
+
2015-02-20 Joel Brobecker <brobecker@adacore.com>
* version.in: Set GDB version number to 7.9.0.DATE-cvs.
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c
index 081801c..f979591 100644
--- a/gdb/iq2000-tdep.c
+++ b/gdb/iq2000-tdep.c
@@ -379,8 +379,6 @@ iq2000_frame_cache (struct frame_info *this_frame, void **this_cache)
*this_cache = cache;
cache->base = get_frame_register_unsigned (this_frame, E_FP_REGNUM);
- //if (cache->base == 0)
- //return cache;
current_pc = get_frame_pc (this_frame);
find_pc_partial_function (current_pc, NULL, &cache->pc, NULL);