aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.c
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2014-09-16 15:34:27 -0400
committerSergio Durigan Junior <sergiodj@redhat.com>2014-09-16 15:34:27 -0400
commit76aeec5b98e73589013f24bd99e3c40189bec7e8 (patch)
tree9862f775119af9fb74a44ca96db9cc3e5c04c174 /gdb/objc-lang.c
parent2f693f9d21a36e333994ef92117ba49a6d506334 (diff)
downloadgdb-76aeec5b98e73589013f24bd99e3c40189bec7e8.zip
gdb-76aeec5b98e73589013f24bd99e3c40189bec7e8.tar.gz
gdb-76aeec5b98e73589013f24bd99e3c40189bec7e8.tar.bz2
Remove dead code from objc-lang.c (spurious "fprintf (stderr...")
This obvious change removes dead code from objc-lang.c. I was grepping for "fprintf (stderr..." and found this code between "#if 0".."#endif" blocks. 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> * objc-lang.c (find_implementation_from_class): Remove dead code.
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r--gdb/objc-lang.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index 22f6089..d911d8f 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -1472,11 +1472,6 @@ find_implementation_from_class (struct gdbarch *gdbarch,
struct objc_method meth_str;
read_objc_methlist_method (gdbarch, mlist, i, &meth_str);
-#if 0
- fprintf (stderr,
- "checking method 0x%lx against selector 0x%lx\n",
- meth_str.name, sel);
-#endif
if (meth_str.name == sel)
/* FIXME: hppa arch was doing a pointer dereference