aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2015-02-26 10:42:04 +0100
committerJoel Brobecker <brobecker@adacore.com>2015-02-26 10:42:04 +0100
commit9357a9e66e08fea2a13446a4dfba2ceaf11da827 (patch)
treee91aad0478cdbcb5e1449a4f3865b62ee155eece /gdb
parent99654aaf360c38a7bff69be8c175a78b83a7d263 (diff)
downloadgdb-9357a9e66e08fea2a13446a4dfba2ceaf11da827.zip
gdb-9357a9e66e08fea2a13446a4dfba2ceaf11da827.tar.gz
gdb-9357a9e66e08fea2a13446a4dfba2ceaf11da827.tar.bz2
Remove // comment in gdb/iq2000-tdep.c
gdb/ChangeLog: PR build/18033: * iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/iq2000-tdep.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 73d6ea9..c3d47f9 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-23 Pedro Alves <palves@redhat.com>
* remote.c (skip_to_semicolon): New function.
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);